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