X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/c09c95ccfc47686cb53d37ae9895867eb72e99df..a1865716146be2696e4793eb524deb37dcbfb060:/Makefile diff --git a/Makefile b/Makefile index 08af6aa192..05e96d1d7c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # @(#)Makefile 5.1.1.2 (Berkeley) 5/9/91 # -# $Id: Makefile,v 1.46 1994/05/02 23:51:19 jkh Exp $ +# $Id: Makefile,v 1.50 1994/05/14 20:01:00 ache Exp $ # SUBDIR= @@ -122,7 +122,7 @@ mk: # DONT DO THIS!! chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/share/mk # DONT DO THIS!! chmod 755 ${DESTDIR}/usr/share/mk .endif - cd ${.CURDIR}/share/mk; make install; + cd ${.CURDIR}/share/mk; make clean all install; includes: @echo "--------------------------------------------------------------" @@ -135,13 +135,13 @@ includes: chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include chmod 755 ${DESTDIR}/usr/include .endif - cd ${.CURDIR}/include; make install + cd ${.CURDIR}/include; make clean all install cd ${CCDIR}/libobjc; make beforeinstall cd ${.CURDIR}/gnu/lib/libg++; make beforeinstall cd ${.CURDIR}/lib/libcurses; make beforeinstall cd ${.CURDIR}/lib/libc; make beforeinstall .if !defined(NOCRYPT) && exists(${.CURDIR}/kerberosIV) - cd ${.CURDIR}/kerberosIV/include; make install + cd ${.CURDIR}/kerberosIV/include; make clean all install .endif # You MUST run this the first time you get the new sources to boot strap @@ -166,26 +166,27 @@ bootstrapld: directories cleandist mk includes cd ${.CURDIR}/lib/libc; make depend all install ${CLEANDIR} obj cd ${.CURDIR}/gnu/usr.bin/ld/rtld; make depend all install ${CLEANDIR} obj -# Standard database make routines are slow especially for -# big passwd files. You can have much faster routines, but -# loose binary compatibility with previous versions and with -# other BSD-like systems. If you want to setup much faster -# routines, define PW_COMPACT envirnoment variable (f.e. -# 'setenv PW_COMPACT' in csh) and use bootstrappwd target -# into /usr/src/Makefile. If you will want to return this -# changes back, use the same target without defining -# PW_COMPACT. - -bootstrappwd: directories +# Standard database make routines are slow especially for big passwd files. +# Moreover, *pwd.db bases are too big and waste root space. You can have +# much faster routines with small *pwd.db, but loose binary compatibility +# with previous versions and with other BSD-like systems. If you want to +# setup much faster routines, define envirnoment variable (f.e. 'setenv +# PW_COMPACT' in csh) and use target into /usr/src/Makefile. If you will +# want to return this changes back, use the same target without defining +# PW_COMPACT. + +bootstrappwd: #directories -rm -f ${.CURDIR}/lib/libc/obj/getpwent.o ${.CURDIR}/lib/libc/getpwent.o cd ${.CURDIR}/lib/libc; make all -rm -f ${.CURDIR}/usr.sbin/pwd_mkdb/obj/pwd_mkdb.o ${.CURDIR}/usr.sbin/pwd_mkdb/pwd_mkdb.o cd ${.CURDIR}/usr.sbin/pwd_mkdb; make all install ${CLEANDIR} cp /etc/master.passwd /etc/mp.t; pwd_mkdb /etc/mp.t - cp ${.CURDIR}/lib/libc/obj/libc* /usr/lib + SLIB=`basename ${.CURDIR}/lib/libc/obj/libc.so.*`; \ + cp ${.CURDIR}/lib/libc/obj/$$SLIB /usr/lib/$$SLIB.tmp; \ + mv /usr/lib/$$SLIB.tmp /usr/lib/$$SLIB cd ${.CURDIR}/lib/libc; make install ${CLEANDIR} - -rm -f ${.CURDIR}/usr.bin/passwd/obj/getpwent.o ${.CURDIR}/usr.bin/passwd/getpwent.o - cd ${.CURDIR}/usr.bin/passwd; make all install ${CLEANDIR} + cd ${.CURDIR}/usr.bin/passwd; make clean all install ${CLEANDIR} + cd ${.CURDIR}/usr.bin/chpass; make clean all install ${CLEANDIR} cd ${.CURDIR}/bin; make clean all install ${CLEANDIR} cd ${.CURDIR}/sbin; make clean all install ${CLEANDIR} @echo "--------------------------------------------------------------" @@ -206,6 +207,7 @@ libraries: cd ${.CURDIR}/gnu/lib/libg++; make depend all install ${CLEANDIR} obj cd ${.CURDIR}/gnu/lib/libregex; make depend all install ${CLEANDIR} obj cd ${.CURDIR}/gnu/lib/libmalloc; make depend all install ${CLEANDIR} obj + cd ${.CURDIR}/gnu/lib/libreadline; make depend all install ${CLEANDIR} obj cd ${.CURDIR}/usr.bin/lex; make depend all install ${CLEANDIR} obj .if exists(${.CURDIR}/kerberosIV) && !defined(NOCRYPT) cd ${.CURDIR}/kerberosIV/des; make depend all install ${CLEANDIR} obj