diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-05 18:00:30 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-05 18:00:30 +0000 |
commit | 169e1173ca61b6f818be04c1f36577bba34ab527 (patch) | |
tree | 66cd0e2500e963f1a758d8b8508332541fba59f5 /Makefile | |
parent | 495fdcd35dc24d2b45c45970a4833a3acd160f0f (diff) | |
download | FreeBSD-src-169e1173ca61b6f818be04c1f36577bba34ab527.zip FreeBSD-src-169e1173ca61b6f818be04c1f36577bba34ab527.tar.gz |
In target libraries: make and install libcompat before all other
libraries. This fixes the make -DCLOBBER world problem.
Check that gnu exists before attempting to build the libraries in
that branch of the tree.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.52 1995/03/28 18:14:17 sos Exp $ +# $Id: Makefile,v 1.53 1995/04/27 11:25:48 jkh Exp $ # # Make command line options: # -DCLOBBER will remove /usr/include and MOST of /usr/lib @@ -258,10 +258,16 @@ libraries: find ${DESTDIR}/usr/lib \! -name '*.s[ao].*' -a \! -type d | \ xargs rm -rf .endif +.if exists(lib/libcompat) + cd ${.CURDIR}/lib/libcompat && \ + ${MAKE} depend all install +.endif +.if exists(gnu) cd ${.CURDIR}/gnu/lib && \ ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} cd ${.CURDIR}/gnu/usr.bin/cc/libgcc && \ ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} +.endif .if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE) cd ${.CURDIR}/secure/lib && \ ${MAKE} depend all install ${CLEANDIR} ${OBJDIR} |