|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1984, 1985 Xerox Corp. ! 3: # ! 4: # ! 5: # You might want to change the following defines: ! 6: # TITROFFBINARY the location of your typesetter-independent troff ! 7: # DESTBIN where the executable files should go ! 8: # DESTINCLUDE where the ".h" files go ! 9: # DESTMAN where the manual pages go ! 10: ! 11: TITROFFBINARY = /usr/local/bin/titroff ! 12: DESTBIN = /usr/new ! 13: DESTINCLUDE = /usr/new/include ! 14: DESTLIB = /usr/new/lib ! 15: DESTMAN = /usr/man/mann ! 16: ! 17: # ! 18: # END of user tunable paramters ! 19: #------------------------------------------------------------- ! 20: ! 21: # targets: ! 22: # all - recompile and link everything ! 23: # install - copy include files, libraries, fonts and executables ! 24: # to correct destination ! 25: # ! 26: ! 27: # set up for recursive makes ! 28: MFLAGS = DESTBIN=${DESTBIN} DESTINCLUDE=${DESTINCLUDE} DESTLIB=${DESTLIB} \ ! 29: DESTMAN=${DESTMAN} TITROFFBINARY=${TITROFFBINARY} ! 30: CFLAGS= -O ! 31: ! 32: # Programs that live in subdirectories, and have makefiles of their own. ! 33: # ! 34: # order is important on the next line! ! 35: SUBDIR= src conf.troff ! 36: INSTALLDIR= include bin lib man/man1 ! 37: CLEANDIR= src conf.troff bin lib ! 38: ! 39: ! 40: all: ! 41: for i in ${SUBDIR}; do \ ! 42: (cd $$i; make install); done ! 43: ! 44: # install assumes that a previous "make all" has been done ! 45: ! 46: install: ! 47: for i in ${INSTALLDIR}; do \ ! 48: (cd $$i; make ${MFLAGS} install); done ! 49: ! 50: clean: ! 51: rm -f a.out core *.s *.o ! 52: for i in ${CLEANDIR}; do \ ! 53: (cd $$i; make ${MFLAGS} clean); done ! 54: @echo "clean-up complete"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.