1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-22 07:20:00 +00:00

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.
This commit is contained in:
Nate Williams 1995-10-24 18:51:08 +00:00
parent abdec3e35c
commit 7c0553d98c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11772

View File

@ -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}