move kermit to standard
[unix-history] / usr / src / contrib / Makefile
CommitLineData
e0e36087 1# Makefile 4.16 86/02/12
dfd136ea
SL
2#
3DESTDIR=
4CFLAGS= -O
5
6# Programs that live in subdirectories, and have makefiles of their own.
7#
e0e36087 8SUBDIR= ansi apl bib courier cpm dsh help hyper icon jove kermit learn mh \
726a1232 9 mkmf patch rcs sccstorcs spms sunrpc tac tools
8e056aee 10#
e0e36087
MK
11# Special purpose software that requires custom installation,
12# or may not be needed by all sites
8e056aee 13#
e0e36087 14OPTDIR= B dipress mmdf news notes pathalias rn sumacc umodem xns X
dfd136ea 15
a43c8502 16all: ${SUBDIR}
dfd136ea
SL
17
18${SUBDIR}: FRC
19 cd $@; make ${MFLAGS}
20
e0e36087
MK
21${OPTDIR}: FRC
22 cd $@; make ${MFLAGS} all
23
dfd136ea 24install:
572b8378 25 -for i in ${SUBDIR}; do \
dfd136ea
SL
26 (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done
27
28clean:
572b8378 29 -for i in ${SUBDIR}; do (echo $$i; cd $$i; make ${MFLAGS} clean); done
e0e36087 30 -for i in ${OPTDIR}; do (echo $$i; cd $$i; make ${MFLAGS} clean); done
dfd136ea
SL
31
32FRC: