diff options
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | usr.bin/lex/Makefile | 5 |
2 files changed, 7 insertions, 6 deletions
@@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.93 1996/08/03 13:00:35 jkh Exp $ +# $Id: Makefile,v 1.94 1996/08/07 13:21:43 peter Exp $ # # Make command line options: # -DCLOBBER will remove /usr/include @@ -342,10 +342,8 @@ bootstrap: ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR} cd ${.CURDIR}/usr.bin/xinstall && ${MAKE} depend && \ ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR} - cd ${.CURDIR}/usr.bin/tsort && ${MAKE} depend && \ - ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR} cd ${.CURDIR}/usr.bin/lex && ${MAKE} bootstrap && ${MAKE} depend && \ - ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR} + ${MAKE} ${MK_FLAGS} -DNOLIB all install ${CLEANDIR} ${OBJDIR} # # include-tools - generally the same as 'bootstrap', except that it's for @@ -401,6 +399,8 @@ includes: # lib-tools - build tools to compile and install the libraries. # lib-tools: + cd ${.CURDIR}/usr.bin/tsort && ${MAKE} depend && \ + ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR} cd ${.CURDIR}/gnu/usr.bin/ld && ${MAKE} depend && \ ${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR} cd ${.CURDIR}/usr.bin/ar && ${MAKE} depend && \ diff --git a/usr.bin/lex/Makefile b/usr.bin/lex/Makefile index ddc8096..009010e 100644 --- a/usr.bin/lex/Makefile +++ b/usr.bin/lex/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.4 1996/05/07 23:19:47 wosch Exp $ +# $Id: Makefile,v 1.5 1996/06/19 20:46:57 nate Exp $ # # By default, flex will be configured to generate 8-bit scanners only if the # -8 flag is given. If you want it to always generate 8-bit scanners, add @@ -26,8 +26,9 @@ MLINKS+= lex.1 lex++.1 CLEANFILES+= parse.c parse.h scan.c y.tab.h y.tab.c - +.if !defined(NOLIB) SUBDIR= lib +.endif beforeinstall: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 644 \ |