From 7c0553d98c9410d2cf24dc9fb51315ef6e77a3fa Mon Sep 17 00:00:00 2001 From: Nate Williams Date: Tue, 24 Oct 1995 18:51:08 +0000 Subject: [PATCH] Build all of the libraries: targets libs in the same manner. Append the optional ${CLEANDIR} and ${OBJDIR} targets to those missng them. Also, check for the existance of all library targets before building them to follow convention. --- Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index e9161c476c0e..7c90b6908135 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.62 1995/09/17 03:38:54 jkh Exp $ +# $Id: Makefile,v 1.63 1995/10/24 08:37:28 phk Exp $ # # Make command line options: # -DCLOBBER will remove /usr/include and MOST of /usr/lib @@ -265,15 +265,15 @@ libraries: .endif .if exists(lib/libcompat) cd ${.CURDIR}/lib/libcompat && \ - ${MAKE} depend all install + ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} .endif .if exists(lib/libncurses) cd ${.CURDIR}/lib/libncurses && \ - ${MAKE} depend all install + ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} .endif .if exists(lib/libtermcap) cd ${.CURDIR}/lib/libtermcap && \ - ${MAKE} depend all install + ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} .endif .if exists(gnu) cd ${.CURDIR}/gnu/lib && \ @@ -291,8 +291,10 @@ libraries: cd ${.CURDIR}/lib && \ ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} .endif +.if exists(usr.sbin/lex/lib) cd ${.CURDIR}/usr.bin/lex/lib && \ ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} +.endif .if exists(eBones) && !defined(NOCRYPT) && defined(MAKE_EBONES) cd ${.CURDIR}/eBones/des && \ ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} @@ -301,7 +303,7 @@ libraries: .endif .if exists(usr.sbin/pcvt/keycap) cd ${.CURDIR}/usr.sbin/pcvt/keycap && \ - ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} + ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} .endif tools: