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