new version from Dain Samples; checked in by TK
[unix-history] / usr / src / contrib / Makefile
index e882307..84a5759 100644 (file)
@@ -1,33 +1,11 @@
-#
-# Copyright (c) 1987 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    4.25    (Berkeley)      %G%
-#
-DESTDIR=
-CFLAGS=        -O
-LIBC=  /lib/libc.a
+#      @(#)Makefile    5.3 (Berkeley) %G%
 
 
-# Programs that live in subdirectories, and have makefiles of their own.
-#
-SUBDIR=        ansi bib emacs jove kermit mh patch rcs X X/X.local
+# doesn't work: mh6.8 groff-1.08
+SUBDIR=        ansi gawk-2.15 emacs-18.57 gas-1.38 gcc-2.3.3 libg++-2.3 \
+       gzip-1.0.7 jove-4.14.6 kermit-5A.188 perl-4.036 rcs-V5.6
 
 
-all: ${SUBDIR}
+cleandir: clean
 
 
-${SUBDIR}: FRC
-       cd $@; make ${MFLAGS}
+depend tags: 
 
 
-install:
-       -for i in ${SUBDIR}; do \
-               (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done
-       for file in `find /usr/new/man -type f -name '*.0' -print`; do \
-               sed -n -f /usr/man/makewhatis.sed $$file; \
-       done | sort -u > whatis.db
-       install -o bin -g bin -m 444 whatis.db ${DESTDIR}/usr/new/man/whatis
-
-clean:
-       -for i in ${SUBDIR}; do (echo $$i; cd $$i; make ${MFLAGS} clean); done
-
-depend:
-FRC:
+.include <bsd.subdir.mk>