# @(#)Makefile 4.9 (Berkeley) %G%
# Programs that live in subdirectories, and have makefiles of their own.
SRCDIR
= bin usr.bin etc ucb new games local
echo installing
/usr
/include
cd
include; make
${MFLAGS} install
cd lib
; make
${MFLAGS} install
cd usr.lib
; make
${MFLAGS}
cd usr.lib
; make
${MFLAGS} install
-for i in
${SRCDIR}; do
(cd
$$i; make
${MFLAGS}); done
-for i in
${SUBDIR}; do \
(cd
$$i; make
${MFLAGS} DESTDIR
=${DESTDIR} install); done
-for i in
${SRCDIR}; do \
(cd
$$i; make
${MFLAGS} DESTDIR
=${DESTDIR} install); done
for i in
include lib usr.lib
; do \
(cd
$$i; make
${MFLAGS} TAGSFILE
=..
/tags tags); \
sort -u
+0 -1 -o
tags tags
for i in
${LIBDIR} ${SRCDIR}; do
(cd
$$i; make
${MFLAGS} clean); done