From f6b61c2bad58ed5c66acef7bad595636fbc42410 Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 25 Aug 1994 14:45:46 +0000 Subject: Added libkern to list of libraries to build. Deleted mdec target, the bootblocks should get built during the normal build process now that the sys/Makefile works. Submitted by: Paul Richards --- Makefile | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a99819b..c2a75e5 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.10 1994/08/20 21:34:59 csgr Exp $ +# $Id: Makefile,v 1.11 1994/08/25 10:47:30 paul Exp $ # # Make command line options: # -DCLOBBER will remove /usr/include and MOST of /usr/lib @@ -85,7 +85,7 @@ CLEANDIR= clean CLEANDIR= cleandir .endif -world: directories cleandist mk includes libraries tools mdec +world: directories cleandist mk includes libraries tools @echo "--------------------------------------------------------------" @echo " Rebuilding ${DESTDIR} The whole thing" @echo "--------------------------------------------------------------" @@ -178,8 +178,14 @@ libraries: cd ${.CURDIR}/secure/lib && \ ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} .endif +.if exists(sys) + cd ${.CURDIR}/sys/libkern && \ + ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} +.endif +.if exists(lib) cd ${.CURDIR}/lib && \ ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} +.endif # You need the lex lib before you can build kerberosIV #XXX # We don't have lex in the 2.0 tree yet! #XXX cd ${.CURDIR}/usr.bin/lex/lib && \ @@ -205,21 +211,4 @@ tools: cd ${.CURDIR}/usr.bin/make && \ ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} -mdec: - @echo "--------------------------------------------------------------" - @echo " Rebuilding ${DESTDIR}/usr/mdec" - @echo "--------------------------------------------------------------" - @echo - @echo " XXX Not yet ready in 2.0.0" -#XXX.if ${MACHINE} == "i386" -#XXX # XXX Need to fix for obj case, src/sys/Makefile needs to be fixed to -#XXX # traverse down into here and this can go away! -#XXX cd ${.CURDIR}/sys/i386/boot && ${MAKE} depend all install ${CLEANDIR} -#XXX.if defined (DESTDIR) -#XXX # XXX Really need to fix the sys/i386/boot Makefile so this is not -#XXX # necessary!!! -#XXX cd /usr/mdec && find . | cpio -pdamuv ${DESTDIR}/usr/mdec -#XXX.endif -#XXX.endif - .include -- cgit v1.1