##########################################################################
# (C) Copyright 1991 X/Open Company Limited
#
# All rights reserved.  No part of this source code may be reproduced,
# stored in a retrieval system, or transmitted, in any form or by any
# means, electronic, mechanical, photocopying, recording or otherwise,
# except as stated in the end-user licence agreement, without the prior
# permission of the copyright owners.
#
# X/Open and the 'X' symbol are trademarks of X/Open Company Limited in
# the UK and other countries.
#
#	SCCS:	@(#)POSIX.os/procprim/sigconcept/Makefile	Rel 4.4.1 (06/09/97)
#
#	PROJECT:	VSX
#	PRODUCT:	POSIX.os/procprim/sigconcept
#	AUTHOR:		Dave Cater, UniSoft Ltd.
#	DATE CREATED:	Fri May  5 10:21:31 BST 1989
#	TARGETS: 	T.sigconcept - testset
##########################################################################

CC =	cc
RM =		rm -f
LINT =	lint
LINT1 =		/usr/lib/lint1
PRINTER =	lpr
PRINTFLAGS =	
TET_ROOT =	../../../../..
VSXDIR =	../../../../SRC
SYSINC =	$(VSXDIR)/SYSINC
SYSLIBS =	
LIBVPORT =	$(VSXLIB)/vport.a
TET_EXECUTE =	../../../../TESTROOT

VSXINC =	$(VSXDIR)/INC
VSXLIB =	$(VSXDIR)/LIB
VSXBIN =	$(VSXDIR)/BIN
CHMOG =	$(VSXBIN)/chmog
GENLIB =	$(VSXLIB)/genlib.a
TSETLIB =	$(VSXLIB)/tsetlib.a

# What is installed:

INSTOWN =	vsx0
INSTGRP =	vsxg0
INSTMODE =	755
INSTDIR =	$(TET_EXECUTE)/tset/POSIX.os/procprim/sigconcept

# Local (to this product only) includes, libraries, etc:

LOCALINC =
LOCALLIB =

# product-wide libraries for ld(1):

LIBS =		$(LOCALLIB) \
		$(TSETLIB) $(GENLIB) \
		$(VSXLIB)/vlib.a $(LIBVPORT) $(APILIB)

DBUG =	
COPTS =	
SDBFLAG =	
DEFINES =	

INCS =		-I$(TETINC) -I$(VSXINC) -I$(SYSINC)
CFLOCAL =
CFLAGS =	$(CFLOCAL) $(INCS) $(DEFINES) $(DBUG) $(COPTS) $(SDBFLAG)
LDFLAGS =	

T_CFILES =	sigconcept.c sigcon1.c sigcon2.c sigcon3.c sigcon4.c sigcon5.c
T_OFILES =	sigconcept.o sigcon1.o sigcon2.o sigcon3.o sigcon4.o sigcon5.o
T_IFILES =	
T_LFILES =	

T_CFILES17 =	signal_t17.c
T_OFILES17 =	signal_t17.o
T_IFILES17 =	
T_LFILES17 =	

CFILES =	$(T_CFILES) $(T_CFILES17)
OFILES =	$(T_OFILES) $(T_OFILES17)
IFILES =	
LFILES =	

OLDLINT =	TRUE
LINTFLAGS =	$(INCS) $(DEFINES) -n
LINTLIBS =	-lvsx -lvlib -ltset -lgen -lvport
LINTDRV =	$(VSXDIR)/common/tet_startup/startup.c

# Targets: ---------------------------------------------------------

all:		T.sigconcept signal_t17

sigconcept:	T.sigconcept signal_t17

T.sigconcept:	$(T_OFILES) $(TCM) $(VSXLIB)/startup.o $(LIBS)
		$(CC) -o $@ $(T_OFILES) $(TCM) $(VSXLIB)/startup.o $(LIBS) $(SYSLIBS) $(LDFLAGS)
		@echo "	$@ made"

signal_t17:	$(T_OFILES17) $(TCMCHILD) $(LIBS)
		$(CC) -o $@ $(T_OFILES17) $(TCMCHILD) $(LIBS) $(SYSLIBS) $(LDFLAGS)
		@echo "	$@ made"

INSTALL:	$(INSTDIR)/T.sigconcept $(INSTDIR)/signal_t17

$(INSTDIR)/T.sigconcept:	T.sigconcept
		$(CHMOG) $(INSTMODE) $(INSTOWN) $(INSTGRP) -m $? $@
		@echo " $? installed in $@"

$(INSTDIR)/signal_t17:	signal_t17
		$(CHMOG) $(INSTMODE) $(INSTOWN) $(INSTGRP) -m $? $@
		@echo " $? installed in $@"

dummy:
		$(CC) -c $(CFLAGS) dummy.c
		$(CC) -o T.dummy dummy.o $(TCMCHILD) $(LIBS) $(SYSLIBS) $(LDFLAGS)
		$(CHMOG) $(INSTMODE) $(INSTOWN) $(INSTGRP) -m T.dummy $(INSTDIR)/T.sigconcept

LINTLIB:

LINT:		T_LINT

T_LINT:
		$(LINT) $(LINTFLAGS) $(T_CFILES) $(LINTDRV) $(LTCM) $(LINTLIBS)
		$(LINT) $(LINTFLAGS) $(T_CFILES17) $(LTCMC) $(LINTLIBS)

FORCE:		CLOBBER all

PRINT:
		@$(PRINTER) $(PRINTFLAGS) Makefile $(IFILES) $(CFILES)

CLEAN:
		$(RM) $(OFILES) 

CLOBBER:	CLEAN
		$(RM) T.sigconcept $(INSTDIR)/T.sigconcept \
			signal_t17 $(INSTDIR)/signal_t17 Makefile.bak

depend:
	CFLAGS="$(CFLAGS)" CC="$(CC)" $(VSXBIN)/mkdep $(CFILES)

# DO NOT DELETE THIS LINE -- make depend uses it
# DEPENDENCIES MUST END AT END OF FILE
sigconcept.o:	  \
	../../../../SRC/INC/dbug.h  \
	../../../../SRC/INC/exitcodes.h  \
	../../../../SRC/INC/report.h  \
	../../../../SRC/INC/std.h  \
	../../../../SRC/INC/sysdep.h  \
	../../../../SRC/INC/timeout.h  \
	../../../../SRC/INC/vsx_signal.h  \
	../../../../SRC/INC/wait_child.h  \
	../../../../SRC/SYSINC/errno.h  \
	../../../../SRC/SYSINC/signal.h  \
	../../../../SRC/SYSINC/stdio.h  \
	../../../../SRC/SYSINC/stdlib.h  \
	../../../../SRC/SYSINC/sys/stat.h  \
	../../../../SRC/SYSINC/sys/types.h  \
	../../../../SRC/SYSINC/sys/wait.h  \
	../../../../SRC/SYSINC/time.h  \
	../../../../SRC/SYSINC/unistd.h 
sigcon1.o:	  \
	../../../../SRC/INC/dbug.h  \
	../../../../SRC/INC/exitcodes.h  \
	../../../../SRC/INC/report.h  \
	../../../../SRC/INC/std.h  \
	../../../../SRC/INC/sysdep.h  \
	../../../../SRC/INC/timeout.h  \
	../../../../SRC/INC/vsx_signal.h  \
	../../../../SRC/INC/wait_child.h  \
	../../../../SRC/SYSINC/errno.h  \
	../../../../SRC/SYSINC/fcntl.h  \
	../../../../SRC/SYSINC/signal.h  \
	../../../../SRC/SYSINC/stdio.h  \
	../../../../SRC/SYSINC/stdlib.h  \
	../../../../SRC/SYSINC/sys/stat.h  \
	../../../../SRC/SYSINC/sys/types.h  \
	../../../../SRC/SYSINC/sys/wait.h  \
	../../../../SRC/SYSINC/termios.h  \
	../../../../SRC/SYSINC/time.h  \
	../../../../SRC/SYSINC/unistd.h 
sigcon2.o:	  \
	../../../../SRC/INC/dbug.h  \
	../../../../SRC/INC/exitcodes.h  \
	../../../../SRC/INC/report.h  \
	../../../../SRC/INC/std.h  \
	../../../../SRC/INC/sysdep.h  \
	../../../../SRC/INC/timeout.h  \
	../../../../SRC/INC/vsx_signal.h  \
	../../../../SRC/INC/wait_child.h  \
	../../../../SRC/SYSINC/errno.h  \
	../../../../SRC/SYSINC/signal.h  \
	../../../../SRC/SYSINC/stdio.h  \
	../../../../SRC/SYSINC/stdlib.h  \
	../../../../SRC/SYSINC/sys/stat.h  \
	../../../../SRC/SYSINC/sys/types.h  \
	../../../../SRC/SYSINC/sys/wait.h  \
	../../../../SRC/SYSINC/time.h  \
	../../../../SRC/SYSINC/unistd.h 
sigcon3.o:	  \
	../../../../SRC/INC/dbug.h  \
	../../../../SRC/INC/exitcodes.h  \
	../../../../SRC/INC/report.h  \
	../../../../SRC/INC/std.h  \
	../../../../SRC/INC/synch.h  \
	../../../../SRC/INC/sysdep.h  \
	../../../../SRC/INC/timeout.h  \
	../../../../SRC/INC/vsx_signal.h  \
	../../../../SRC/INC/wait_child.h  \
	../../../../SRC/SYSINC/errno.h  \
	../../../../SRC/SYSINC/signal.h  \
	../../../../SRC/SYSINC/stdio.h  \
	../../../../SRC/SYSINC/stdlib.h  \
	../../../../SRC/SYSINC/sys/stat.h  \
	../../../../SRC/SYSINC/sys/types.h  \
	../../../../SRC/SYSINC/sys/wait.h  \
	../../../../SRC/SYSINC/termios.h  \
	../../../../SRC/SYSINC/time.h  \
	../../../../SRC/SYSINC/unistd.h 
sigcon4.o:	  \
	../../../../SRC/INC/dbug.h  \
	../../../../SRC/INC/exitcodes.h  \
	../../../../SRC/INC/report.h  \
	../../../../SRC/INC/std.h  \
	../../../../SRC/INC/sysdep.h  \
	../../../../SRC/INC/timeout.h  \
	../../../../SRC/INC/vsx_signal.h  \
	../../../../SRC/INC/wait_child.h  \
	../../../../SRC/SYSINC/errno.h  \
	../../../../SRC/SYSINC/fcntl.h  \
	../../../../SRC/SYSINC/signal.h  \
	../../../../SRC/SYSINC/stdio.h  \
	../../../../SRC/SYSINC/stdlib.h  \
	../../../../SRC/SYSINC/sys/stat.h  \
	../../../../SRC/SYSINC/sys/types.h  \
	../../../../SRC/SYSINC/sys/wait.h  \
	../../../../SRC/SYSINC/termios.h  \
	../../../../SRC/SYSINC/time.h  \
	../../../../SRC/SYSINC/unistd.h 
sigcon5.o:	  \
	../../../../SRC/INC/dbug.h  \
	../../../../SRC/INC/exitcodes.h  \
	../../../../SRC/INC/report.h  \
	../../../../SRC/INC/std.h  \
	../../../../SRC/INC/sysdep.h  \
	../../../../SRC/INC/timeout.h  \
	../../../../SRC/INC/vsx_signal.h  \
	../../../../SRC/INC/wait_child.h  \
	../../../../SRC/SYSINC/errno.h  \
	../../../../SRC/SYSINC/fcntl.h  \
	../../../../SRC/SYSINC/signal.h  \
	../../../../SRC/SYSINC/stdio.h  \
	../../../../SRC/SYSINC/stdlib.h  \
	../../../../SRC/SYSINC/sys/stat.h  \
	../../../../SRC/SYSINC/sys/types.h  \
	../../../../SRC/SYSINC/sys/wait.h  \
	../../../../SRC/SYSINC/termios.h  \
	../../../../SRC/SYSINC/time.h  \
	../../../../SRC/SYSINC/unistd.h 
signal_t17.o:	  \
	../../../../SRC/INC/dbug.h  \
	../../../../SRC/INC/exitcodes.h  \
	../../../../SRC/INC/report.h  \
	../../../../SRC/INC/std.h  \
	../../../../SRC/INC/sysdep.h  \
	../../../../SRC/INC/vsx_signal.h  \
	../../../../SRC/SYSINC/signal.h  \
	../../../../SRC/SYSINC/stdlib.h  \
	../../../../SRC/SYSINC/sys/types.h  \
	../../../../SRC/SYSINC/unistd.h 
# DEPENDENCIES MUST END AT END OF FILE
# IF YOU PUT STUFF HERE IT WILL GO AWAY
# see make depend above
