sourcelist targets.
[unix-history] / usr / src / usr.bin / tn3270 / general / makefile
index 10ed9b0..035d1a5 100644 (file)
@@ -3,7 +3,7 @@ PRINT   = print
 
 DEFINES = 
 
 
 DEFINES = 
 
-INCLUDES = -I. -I..
+INCLUDES = -I.
 
 OPTIMIZE = -O
 OPTIMIZE = -g
 
 OPTIMIZE = -O
 OPTIMIZE = -g
@@ -25,10 +25,14 @@ LIBCURSES   = -lcurses
 LIBTERM                = -ltermlib
 
 # The source files...
 LIBTERM                = -ltermlib
 
 # The source files...
-ALLH = globals.h
+ALLH = bsubs.ext general.h globals.h
 
 ALLC = globals.c
 
 
 ALLC = globals.c
 
+ALLPRINT =     ${ALLH} ${ALLC}
+
+ALLSOURCE =    ${ALLPRINT} makefile makefile.mak
+
 #
 #      In a vax environment, we use vaxbsubs.s, which gives us a fair amount
 #      of increased performance.  We have provided genbsubs.c, which perform
 #
 #      In a vax environment, we use vaxbsubs.s, which gives us a fair amount
 #      of increased performance.  We have provided genbsubs.c, which perform
@@ -47,19 +51,26 @@ ALLO        = globals.o ${SUBSO}
 .s.o:
        /lib/cpp -E $< | as -o $@
 
 .s.o:
        /lib/cpp -E $< | as -o $@
 
-systemlib:     ${ALLO}
-       ar cr systemlib ${ALLO}
-       ranlib systemlib
+general.lib:   ${ALLO}
+       ar cr general.lib ${ALLO}
+       ranlib general.lib
 
 clean:
 
 clean:
-       rm -f $(ALLO) errs makefile.bak systemlib
+       rm -f $(ALLO) errs makefile.bak general.lib
+
+sourcelist:    ${ALLSOURCE}
+       @for i in ${ALLSOURCE}; \
+               do (echo ${DIRPATH}/$$i); done
 
 print:
 
 print:
-       ${PRINT} ${ALLH} ${ALLC}
+       ${PRINT} ${ALLPRINT}
 
 tags:  ${ALLC} ${ALLH}
        ctags -t ${ALLC} ${ALLH}
 
 
 tags:  ${ALLC} ${ALLH}
        ctags -t ${ALLC} ${ALLH}
 
+action:
+       ${ACTION}
+
 lint:
        lint ${LINTFLAGS} ${INCLUDES} ${DEFINES} ${ALLC}
 
 lint:
        lint ${LINTFLAGS} ${INCLUDES} ${DEFINES} ${ALLC}
 
@@ -85,4 +96,5 @@ depend:
 # DO NOT DELETE THIS LINE
 
 globals.o: ../ctlr/hostctlr.h ../ascii/ascebc.h ../ctlr/dctype.h
 # DO NOT DELETE THIS LINE
 
 globals.o: ../ctlr/hostctlr.h ../ascii/ascebc.h ../ctlr/dctype.h
-globals.o: ../ctlr/options.h ../ctlr/screen.h ../keyboard/state.h globals.h
+globals.o: ../ctlr/options.h ../ctlr/screen.h ../ascii/state.h globals.h
+globals.o: ../general/general.h