Deleted Added
full compact
bsd.lib.mk (9870) bsd.lib.mk (11136)
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.24 1995/03/28 17:54:11 nate Exp $
2# $Id: bsd.lib.mk,v 1.25 1995/08/02 22:31:52 davidg 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

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

160 cd ${.CURDIR}/$${entry}.${MACHINE}; \
161 else \
162 cd ${.CURDIR}/$${entry}; \
163 fi; \
164 ${MAKE} ${.TARGET:S/realinstall/install/:S/.depend/depend/} DIRPRFX=${DIRPRFX}$$entry/); \
165 done
166.endif
167
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

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

160 cd ${.CURDIR}/$${entry}.${MACHINE}; \
161 else \
162 cd ${.CURDIR}/$${entry}; \
163 fi; \
164 ${MAKE} ${.TARGET:S/realinstall/install/:S/.depend/depend/} DIRPRFX=${DIRPRFX}$$entry/); \
165 done
166.endif
167
168all: ${_LIBS} _LIBSUBDIR # llib-l${LIB}.ln
168all: ${_LIBS} all-man _LIBSUBDIR # llib-l${LIB}.ln
169
170OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
171
172lib${LIB}.a:: ${OBJS}
173 @${ECHO} building standard ${LIB} library
174 @rm -f lib${LIB}.a
175 @${AR} cq lib${LIB}.a `lorder ${OBJS} | tsort` ${ARADD}
176 ${RANLIB} lib${LIB}.a

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

307 -cd ${.CURDIR}; ctags -f /dev/stdout ${.ALLSRC:M*.c} | \
308 sed "s;\${.CURDIR}/;;" > tags
309.endif
310
311.if !defined(NOMAN)
312.include <bsd.man.mk>
313.elif !target(maninstall)
314maninstall:
169
170OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
171
172lib${LIB}.a:: ${OBJS}
173 @${ECHO} building standard ${LIB} library
174 @rm -f lib${LIB}.a
175 @${AR} cq lib${LIB}.a `lorder ${OBJS} | tsort` ${ARADD}
176 ${RANLIB} lib${LIB}.a

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

307 -cd ${.CURDIR}; ctags -f /dev/stdout ${.ALLSRC:M*.c} | \
308 sed "s;\${.CURDIR}/;;" > tags
309.endif
310
311.if !defined(NOMAN)
312.include <bsd.man.mk>
313.elif !target(maninstall)
314maninstall:
315all-man:
315.endif
316
317.if !target(obj)
318.if defined(NOOBJ)
319obj: _LIBSUBDIR
320.else
321obj: _LIBSUBDIR
322 @cd ${.CURDIR}; rm -rf obj; \

--- 12 unchanged lines hidden ---
316.endif
317
318.if !target(obj)
319.if defined(NOOBJ)
320obj: _LIBSUBDIR
321.else
322obj: _LIBSUBDIR
323 @cd ${.CURDIR}; rm -rf obj; \

--- 12 unchanged lines hidden ---