Deleted Added
full compact
bsd.lib.mk (18052) bsd.lib.mk (18340)
1# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
1# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
2# $Id: bsd.lib.mk,v 1.42 1996/08/25 05:16:56 jkh Exp $
2# $Id: bsd.lib.mk,v 1.43 1996/09/05 18:05:06 bde Exp $
3#
4
5.if exists(${.CURDIR}/../Makefile.inc)
6.include "${.CURDIR}/../Makefile.inc"
7.endif
8
9.if exists(${.CURDIR}/shlib_version)
10SHLIB_MAJOR != . ${.CURDIR}/shlib_version ; echo $$major

--- 105 unchanged lines hidden (view full) ---

116_LIBS+=lib${LIB}_pic.a
117.endif
118.endif
119
120.if !defined(PICFLAG)
121PICFLAG=-fpic
122.endif
123
3#
4
5.if exists(${.CURDIR}/../Makefile.inc)
6.include "${.CURDIR}/../Makefile.inc"
7.endif
8
9.if exists(${.CURDIR}/shlib_version)
10SHLIB_MAJOR != . ${.CURDIR}/shlib_version ; echo $$major

--- 105 unchanged lines hidden (view full) ---

116_LIBS+=lib${LIB}_pic.a
117.endif
118.endif
119
120.if !defined(PICFLAG)
121PICFLAG=-fpic
122.endif
123
124all: ${_LIBS} all-man _SUBDIR # llib-l${LIB}.ln
124all: objwarn ${_LIBS} all-man _SUBDIR # llib-l${LIB}.ln
125
126OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
127
128lib${LIB}.a:: ${OBJS}
129 @${ECHO} building standard ${LIB} library
130 @rm -f lib${LIB}.a
131 @${AR} cq lib${LIB}.a `lorder ${OBJS} | tsort -q` ${ARADD}
132 ${RANLIB} lib${LIB}.a

--- 133 unchanged lines hidden ---
125
126OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
127
128lib${LIB}.a:: ${OBJS}
129 @${ECHO} building standard ${LIB} library
130 @rm -f lib${LIB}.a
131 @${AR} cq lib${LIB}.a `lorder ${OBJS} | tsort -q` ${ARADD}
132 ${RANLIB} lib${LIB}.a

--- 133 unchanged lines hidden ---