Deleted Added
full compact
bsd.lib.mk (98870) bsd.lib.mk (99256)
1# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
1# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
2# $FreeBSD: head/share/mk/bsd.lib.mk 98870 2002-06-26 08:41:00Z jmallett $
2# $FreeBSD: head/share/mk/bsd.lib.mk 99256 2002-07-02 12:16:54Z ru $
3#
4
5.include <bsd.init.mk>
6
7# Set up the variables controlling shared libraries. After this section,
8# SHLIB_NAME will be defined only if we are to create a shared library.
9# SHLIB_LINK will be defined only if we are to create a link to it.
10# INSTALL_PIC_ARCHIVE will be defined only if we are to create a PIC archive.

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

312 ${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${LIBDIR}
313.endif
314.if defined(WANT_LINT)
315 ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
316 ${_INSTALLFLAGS} ${LINTLIB} ${DESTDIR}${LINTLIBDIR}
317.endif
318.endif defined(LIB) && !empty(LIB) && !defined(INTERNALLIB)
319
3#
4
5.include <bsd.init.mk>
6
7# Set up the variables controlling shared libraries. After this section,
8# SHLIB_NAME will be defined only if we are to create a shared library.
9# SHLIB_LINK will be defined only if we are to create a link to it.
10# INSTALL_PIC_ARCHIVE will be defined only if we are to create a PIC archive.

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

312 ${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${LIBDIR}
313.endif
314.if defined(WANT_LINT)
315 ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
316 ${_INSTALLFLAGS} ${LINTLIB} ${DESTDIR}${LINTLIBDIR}
317.endif
318.endif defined(LIB) && !empty(LIB) && !defined(INTERNALLIB)
319
320realinstall:
321.if defined(LINKS) && !empty(LINKS)
322 @set ${LINKS}; \
323 while test $$# -ge 2; do \
324 l=${DESTDIR}$$1; \
325 shift; \
326 t=${DESTDIR}$$1; \
327 shift; \
328 ${ECHO} $$t -\> $$l; \
329 ln -f $$l $$t; \
330 done; true
331.endif
332.if defined(SYMLINKS) && !empty(SYMLINKS)
333 @set ${SYMLINKS}; \
334 while test $$# -ge 2; do \
335 l=$$1; \
336 shift; \
337 t=${DESTDIR}$$1; \
338 shift; \
339 ${ECHO} $$t -\> $$l; \
340 ln -fs $$l $$t; \
341 done; true
342.endif
343
344.include <bsd.files.mk>
345.include <bsd.incs.mk>
320.include <bsd.files.mk>
321.include <bsd.incs.mk>
322.include <bsd.links.mk>
346
347.if !defined(NOMAN)
348realinstall: _maninstall
349.endif
350
351.endif
352
353.if !target(lint)

--- 19 unchanged lines hidden ---
323
324.if !defined(NOMAN)
325realinstall: _maninstall
326.endif
327
328.endif
329
330.if !target(lint)

--- 19 unchanged lines hidden ---