-# Makefile 4.14 86/01/11
-#
-DESTDIR=
-CFLAGS= -O
+# @(#)Makefile 4.27 (Berkeley) %G%
-# Programs that live in subdirectories, and have makefiles of their own.
-#
-SUBDIR= ansi apl bib courier cpm dsh help hyper icon jove learn mh \
- mkmf patch rcs sccstorcs spms sunrpc tac tools
-#
-# Special purpose software that requires custom installation
-#
-OPTDIR= B dipress kermit mmdf news notes rn sumacc umodem xns X
+# all of these compile, but only ansi, patch, and vmsprep have been
+# converted to the BSD style obj directories and installation paths.
+#SUBDIR= ansi bib emacs jove kermit mh patch rcs vmsprep
+SUBDIR= ansi patch vmsprep
-all: ${SUBDIR}
-
-${SUBDIR}: FRC
- cd $@; make ${MFLAGS}
-
-install:
- -for i in ${SUBDIR}; do \
- (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done
-
-clean:
- -for i in ${SUBDIR}; do (echo $$i; cd $$i; make ${MFLAGS} clean); done
-
-FRC:
+.include <bsd.subdir.mk>