Emendation to previous commit: only create static INTERNALLIBs if

INTERNALSTATICLIB is also set.
This commit is contained in:
Garrett Wollman 1994-09-18 22:22:32 +00:00
parent f32a347542
commit ac1a8b47c7
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
# $Id: bsd.lib.mk,v 1.7 1994/09/16 14:30:20 jkh Exp $
# $Id: bsd.lib.mk,v 1.8 1994/09/18 22:06:04 wollman Exp $
#
.if exists(${.CURDIR}/../Makefile.inc)
@ -119,11 +119,13 @@ BINMODE?= 555
@${LD} -X -r ${.TARGET}
@mv a.out ${.TARGET}
.if !defined(INTERNALLIB) || defined(INTERNALSTATICLIB)
.if !defined(NOPROFILE) && !defined(INTERNALLIB)
_LIBS=lib${LIB}.a lib${LIB}_p.a
.else
_LIBS=lib${LIB}.a
.endif
.endif
.if !defined(NOPIC)
.if defined(SHLIB_MAJOR) && defined(SHLIB_MINOR)