X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/19003317a2ac426232f6cdd7cb093f66c52d5942..d3ad6e41368577b9eaf0055156123f0dbfb711c2:/usr/src/usr.bin/tn3270/general/makefile?ds=inline diff --git a/usr/src/usr.bin/tn3270/general/makefile b/usr/src/usr.bin/tn3270/general/makefile index 10ed9b06f1..035d1a56d3 100644 --- a/usr/src/usr.bin/tn3270/general/makefile +++ b/usr/src/usr.bin/tn3270/general/makefile @@ -3,7 +3,7 @@ PRINT = print DEFINES = -INCLUDES = -I. -I.. +INCLUDES = -I. OPTIMIZE = -O OPTIMIZE = -g @@ -25,10 +25,14 @@ LIBCURSES = -lcurses LIBTERM = -ltermlib # The source files... -ALLH = globals.h +ALLH = bsubs.ext general.h globals.h 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 @@ -47,19 +51,26 @@ ALLO = globals.o ${SUBSO} .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: - 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} ${ALLH} ${ALLC} + ${PRINT} ${ALLPRINT} tags: ${ALLC} ${ALLH} ctags -t ${ALLC} ${ALLH} +action: + ${ACTION} + 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 -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