#
# @(#)Imakefile 1.3 90/02/26 SMI
#

#include "../../XView.config"

HDRSPUBLIC=notify.h
HDRSPRIVATE=ndet.h ndis.h nint.h ntfy.h ultrix_cpt.h ntfy_ctbl.h
HEADERS= ${HDRSPUBLIC} ${HDRSPRIVATE}
INCLUDES= -I$(HEADER_DEST) -I$(TOP)

SRCS= \
	ndet_auto.c	ndetgitimr.c	ndetpevent.c	ndet_s_out.c \
	ndet_event.c	ndet_g_out.c	ndet_read.c	ndet_s_pri.c \
	ndet_fcntl.c	ndet_g_pri.c	ndetremove.c	ndet_s_sig.c \
	ndet_fd.c	ndet_g_sig.c	ndetsdeath.c	ndets_wait.c \
	ndetgdeath.c	ndetg_wait.c	ndetsevent.c	ndetselect.c \
	ndetgevent.c	ndetgetfnc.c	ndetsexcep.c	ndet_sig.c   \
	ndetgexcep.c	ndetitimer.c	ndet_s_fd.c	ndet_value.c \
	ndet_g_fd.c	ndet_loop.c	ndet_s_in.c	ndet_wait.c  \
	ndet_g_in.c	ndetpdeath.c	ndetsitimr.c	ndet_death.c \
	ndet_die.c	ndet_veto.c	ndet_dodis.c	ndet_nodis.c \
	ndetsingle.c 						     \
	ndis_d_pri.c	ndisdsched.c	ndisgsched.c	ndisssched.c \
	ndisd_wait.c						     \
	ntfyclient.c	ntfy_cond.c	ntfy_debug.c	ntfy_list.c  \
	ntfy_node.c	ntfyprotec.c	ntfyperror.c	ntfy_dump.c  \
	sys_select.c	sys_read.c	sys_fcntl.c 		     \
	nint_copy.c	nint_i_sig.c	nint_n_out.c	nintritimr.c \
	nint_get.c	ninti_wait.c	nint_n_sig.c	nint_r_out.c \
	nint_inter.c	nintn_wait.c	nint_r_sig.c		     \
	nintievent.c	nintndeath.c	nint_next.c	nintr_wait.c \
	nintiexcpt.c	nintnevent.c	nintrdeath.c	nintremove.c \
	nint_i_fd.c	nintnexcpt.c	nintrevent.c	nint_set.c   \
	nint_i_in.c	nint_n_fd.c	nintrexcpt.c	nint_stack.c \
	nintiitimr.c	nint_n_in.c	nint_r_fd.c		     \
	nint_i_out.c	nintnitimr.c	nint_r_in.c	ntfy_fd_op.c \
	notifydata.c	ntfy_ctbl.c				     \
	ndisdispch.c	nintideath.c	nint_stack.c		     \
	ntfyclient.c	ntfyprotec.c 	ntfy_node.c 		     \
	ndet_auto.c 	ndet_loop.c	ndet_read.c		     \
	ndetselect.c 	notifydata.c

OBJS= \
	ndet_auto.o	ndetgitimr.o	ndetpevent.o	ndet_s_out.o \
	ndet_event.o	ndet_g_out.o	ndet_read.o	ndet_s_pri.o \
	ndet_fcntl.o	ndet_g_pri.o	ndetremove.o	ndet_s_sig.o \
	ndet_fd.o	ndet_g_sig.o	ndetsdeath.o	ndets_wait.o \
	ndetgdeath.o	ndetg_wait.o	ndetsevent.o	ndetselect.o \
	ndetgevent.o	ndetgetfnc.o	ndetsexcep.o	ndet_sig.o   \
	ndetgexcep.o	ndetitimer.o	ndet_s_fd.o	ndet_value.o \
	ndet_g_fd.o	ndet_loop.o	ndet_s_in.o	ndet_wait.o  \
	ndet_g_in.o	ndetpdeath.o	ndetsitimr.o	ndet_death.o \
	ndet_die.o	ndet_veto.o	ndet_dodis.o	ndet_nodis.o \
	ndetsingle.o 						     \
	ndis_d_pri.o	ndisdsched.o	ndisgsched.o	ndisssched.o \
	ndisd_wait.o						     \
	ntfyclient.o	ntfy_cond.o	ntfy_debug.o	ntfy_list.o  \
	ntfy_node.o	ntfyprotec.o	ntfyperror.o	ntfy_dump.o  \
	sys_select.o	sys_read.o	sys_fcntl.o 		     \
	nint_copy.o	nint_i_sig.o	nint_n_out.o	nintritimr.o \
	nint_get.o	ninti_wait.o	nint_n_sig.o	nint_r_out.o \
	nint_inter.o	nintn_wait.o	nint_r_sig.o		     \
	nintievent.o	nintndeath.o	nint_next.o	nintr_wait.o \
	nintiexcpt.o	nintnevent.o	nintrdeath.o	nintremove.o \
	nint_i_fd.o	nintnexcpt.o	nintrevent.o	nint_set.o   \
	nint_i_in.o	nint_n_fd.o	nintrexcpt.o	nint_stack.o \
	nintiitimr.o	nint_n_in.o	nint_r_fd.o		     \
	nint_i_out.o	nintnitimr.o	nint_r_in.o	ntfy_fd_op.o \
	notifydata.o	ntfy_ctbl.o				     \
	ndisdispch.o	nintideath.o	nint_stack.o		     \
	ntfyclient.o	ntfyprotec.o 	ntfy_node.o 		     \
	ndet_auto.o 	ndet_loop.o	ndet_read.o		     \
	ndetselect.o 	notifydata.o
	
all::

#if DebugLibXvin && ProfileLibXvin
DebuggedAndProfiledLibraryObjectRule()
#else
# if DebugLibXvin
DebuggedLibraryObjectRule()
# else
#  if ProfileLibXvin
ProfiledLibraryObjectRule()
#  else
NormalLibraryObjectRule()
#  endif
# endif
#endif

SubdirNormalLibTarget(xvin,$(OBJS))
SubdirCompoundLibTarget(xview, $(OBJS)) 

#if ProfileLibXvin
SubdirProfiledLibTarget(xvin,$(OBJS))
#endif

#if DebugLibXvin
SubdirDebuggedLibTarget(xvin,$(OBJS))
#endif

InstallMultipleDest(install_headers,$(HDRSPUBLIC),$(HEADER_DEST)/xview)
InstallMultipleDest(install_headers,$(HDRSPRIVATE),$(HEADER_DEST)/xview_private)

DependTarget()
