| 1 | # Makefile 4.22 87/02/12 |
| 2 | # |
| 3 | DESTDIR= |
| 4 | CFLAGS= -O |
| 5 | |
| 6 | # Programs that live in subdirectories, and have makefiles of their own. |
| 7 | # |
| 8 | SUBDIR= ansi apl bib courier cpm dsh help hyper icon jove kermit mh \ |
| 9 | mkmf np100 patch rcs sunrpc tac tools |
| 10 | # |
| 11 | # Default programs that are installed |
| 12 | # |
| 13 | STDINST=bib jove mh patch rcs |
| 14 | # |
| 15 | # Special purpose software that requires custom installation, |
| 16 | # or may not be needed by all sites |
| 17 | # |
| 18 | OPTDIR= B dipress emacs enet mmdf news nntp notes pathalias rn \ |
| 19 | spms sumacc umodem xns X |
| 20 | |
| 21 | all: ${STDINST} |
| 22 | |
| 23 | ${SUBDIR}: FRC |
| 24 | cd $@; make ${MFLAGS} |
| 25 | |
| 26 | ${OPTDIR}: FRC |
| 27 | cd $@; make ${MFLAGS} all |
| 28 | |
| 29 | install: |
| 30 | -for i in ${STDINST}; do \ |
| 31 | (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done |
| 32 | |
| 33 | installall: |
| 34 | -for i in ${SUBDIR}; do \ |
| 35 | (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done |
| 36 | |
| 37 | clean: |
| 38 | -for i in ${SUBDIR}; do (echo $$i; cd $$i; make ${MFLAGS} clean); done |
| 39 | -for i in ${OPTDIR}; do (echo $$i; cd $$i; make ${MFLAGS} clean); done |
| 40 | |
| 41 | FRC: |