don't declare h_errno
[unix-history] / usr / src / contrib / Makefile
index af1b7da..081ce9e 100644 (file)
@@ -1,27 +1,43 @@
-#      Makefile        4.11    85/09/07
+#      Makefile        4.24    87/07/27
 #
 DESTDIR=
 CFLAGS=        -O
 
 # Programs that live in subdirectories, and have makefiles of their own.
 #
 #
 DESTDIR=
 CFLAGS=        -O
 
 # 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 xns
+SUBDIR=        ansi apl bib courier cpm dsh help hyper icon jove kermit mh \
+       mkmf np100 patch rcs sunrpc tac tools
 #
 #
-# Special purpose software that requires custom installation
+# Default programs that are installed
 #
 #
-OPTDIR=        kermit mmdf news notes rn sumacc tn3270 umodem X
+STDINST=ansi bib emacs jove kermit mh patch rcs
+#
+# Special purpose software that requires custom installation,
+# or may not be needed by all sites
+#
+OPTDIR=        B dipress enet mmdf news nntp notes pathalias rn \
+       spms sumacc umodem xns X X.local/xlock
 
 
-all:   ${SUBDIR}
+all:   ${STDINST}
 
 ${SUBDIR}: FRC
        cd $@; make ${MFLAGS}
 
 
 ${SUBDIR}: FRC
        cd $@; make ${MFLAGS}
 
+${OPTDIR}: FRC
+       cd $@; make ${MFLAGS} all
+
+depend:
+
 install:
 install:
+       -for i in ${STDINST}; do \
+               (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done
+
+installall:
        -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
        -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
+       -for i in ${OPTDIR}; do (echo $$i; cd $$i; make ${MFLAGS} clean); done
 
 FRC:
 
 FRC: