date and time created 87/02/15 16:03:36 by lepreau
[unix-history] / usr / src / contrib / Makefile
... / ...
CommitLineData
1# Makefile 4.22 87/02/12
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 sunrpc tac tools
10#
11# Default programs that are installed
12#
13STDINST=bib jove mh patch rcs
14#
15# Special purpose software that requires custom installation,
16# or may not be needed by all sites
17#
18OPTDIR= B dipress emacs enet mmdf news nntp notes pathalias rn \
19 spms sumacc umodem xns X
20
21all: ${STDINST}
22
23${SUBDIR}: FRC
24 cd $@; make ${MFLAGS}
25
26${OPTDIR}: FRC
27 cd $@; make ${MFLAGS} all
28
29install:
30 -for i in ${STDINST}; do \
31 (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done
32
33installall:
34 -for i in ${SUBDIR}; do \
35 (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done
36
37clean:
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
41FRC: