|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1984, 1985, 1986 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: # the following is still experimental ! 18: DESTMACHINES = r-wing ! 19: ! 20: # ! 21: # END of user tunable paramters ! 22: #------------------------------------------------------------- ! 23: ! 24: # targets: ! 25: # all - recompile and link everything ! 26: # install - copy include files, libraries, fonts and executables ! 27: # to correct destination ! 28: # rdist - copy installed files to other machines running 4.3bsd ! 29: # ! 30: ! 31: # set up for recursive makes ! 32: MFLAGS = DESTBIN=${DESTBIN} DESTINCLUDE=${DESTINCLUDE} DESTLIB=${DESTLIB} \ ! 33: DESTMACHINES=${DESTMACHINES} DESTMAN=${DESTMAN} \ ! 34: TITROFFBINARY=${TITROFFBINARY} ! 35: CFLAGS= -O ! 36: ! 37: # Programs that live in subdirectories, and have makefiles of their own. ! 38: # ! 39: # order is important on the next line! ! 40: SUBDIR= src conf ! 41: LINTDIR= src ! 42: INSTALLDIR= include bin lib man/mann ! 43: CLEANDIR= doc src conf bin lib ! 44: ! 45: ! 46: all: ! 47: for i in ${SUBDIR}; do \ ! 48: (cd $$i; make install); done ! 49: ! 50: lint: ! 51: for i in ${LINTDIR}; do \ ! 52: (cd $$i; make lint); done ! 53: ! 54: # install assumes that a previous "make all" has been done ! 55: ! 56: install: ! 57: for i in ${INSTALLDIR}; do \ ! 58: (cd $$i; make ${MFLAGS} install); done ! 59: ! 60: # rdist assumes that a previous "make install" has been done ! 61: ! 62: rdist: ! 63: for i in ${INSTALLDIR}; do \ ! 64: (cd $$i; make ${MFLAGS} rdist); done ! 65: ! 66: clean: ! 67: rm -f a.out core *.s *.o ! 68: for i in ${CLEANDIR}; do \ ! 69: (cd $$i; make ${MFLAGS} clean); done ! 70: @echo "clean-up complete"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.