Removed <lib>_pic.a file rules - libs are now built directly from shared
[unix-history] / Makefile
index 40154d7..e00dad4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 #      @(#)Makefile    5.1.1.2 (Berkeley) 5/9/91
 #
 #      @(#)Makefile    5.1.1.2 (Berkeley) 5/9/91
 #
-#      $Id: Makefile,v 1.17 1993/10/21 23:36:21 rgrimes Exp $
+#      $Id: Makefile,v 1.25 1993/11/13 20:12:52 paul Exp $
 #
 
 SUBDIR=
 #
 
 SUBDIR=
@@ -50,13 +50,14 @@ CLEANDIR=
 CLEANDIR=      cleandir
 .endif
 
 CLEANDIR=      cleandir
 .endif
 
-world: directories cleandist mk includes libraries tools mdec
+world: directories cleandist mk includes bootstrapld libraries tools mdec
        @echo "--------------------------------------------------------------"
        @echo " Rebuilding ${DESTDIR} The whole thing"
        @echo "--------------------------------------------------------------"
        @echo
        make depend all install
        cd ${.CURDIR}/usr.sbin/sendmail/src;    make install
        @echo "--------------------------------------------------------------"
        @echo " Rebuilding ${DESTDIR} The whole thing"
        @echo "--------------------------------------------------------------"
        @echo
        make depend all install
        cd ${.CURDIR}/usr.sbin/sendmail/src;    make install
+       cd ${.CURDIR}/share/man;                make makedb
 
 directories:
        cd ${.CURDIR}/etc;                      make distrib-dirs
 
 directories:
        cd ${.CURDIR}/etc;                      make distrib-dirs
@@ -99,7 +100,28 @@ includes:
        cd ${.CURDIR}/gnu/libg++;               make beforeinstall
        cd ${.CURDIR}/gnu/libregex;             make beforeinstall
        cd ${.CURDIR}/lib/libcurses;            make beforeinstall
        cd ${.CURDIR}/gnu/libg++;               make beforeinstall
        cd ${.CURDIR}/gnu/libregex;             make beforeinstall
        cd ${.CURDIR}/lib/libcurses;            make beforeinstall
-       cd ${.CURDIR}/lib/librpc/rpc;           make beforeinstall
+       cd ${.CURDIR}/lib/libc;                 make beforeinstall
+
+# XXX -- This will go away later -- hack to get up to speed with shlibs
+# setenv NOBOOTSTRAPLD to prevent building new shlib tools.
+# This is to save build time if you've already done it before,
+# you MUST run it the first time you get the new sources.
+
+bootstrapld:
+.if !defined(NOBOOTSTRAPLD)
+       @echo "--------------------------------------------------------------"
+       @echo " Building new shlib compiler tools"
+       @echo "--------------------------------------------------------------"
+       cd ${.CURDIR}/usr.bin/strip; make depend all install ${CLEANDIR} obj
+       cd ${.CURDIR}/usr.bin/mkdep; make depend all install ${CLEANDIR} obj
+       cd ${.CURDIR}/gnu/gas; make depend all install ${CLEANDIR} obj
+       cd ${.CURDIR}/gnu/gcc2; make -DNOPIC depend all install ${CLEANDIR} obj
+       cd ${.CURDIR}/gnu/ld; make -DNOPIC depend all install ${CLEANDIR} obj
+       cd ${.CURDIR}/gnu/gcc2/libgcc; make all install ${CLEANDIR} obj
+       cd ${.CURDIR}/lib/libc; make depend all install ${CLEANDIR} obj
+       cd ${.CURDIR}/lib/csu.i386; make depend all install ${CLEANDIR} obj
+       cd ${.CURDIR}/gnu/ld/rtld; make depend all install ${CLEANDIR} obj
+.endif
 
 libraries:
        # setenv NOPROFILE if you do not want profiled libraries
 
 libraries:
        # setenv NOPROFILE if you do not want profiled libraries