bsd.lib.mk (169822) | bsd.lib.mk (172832) |
---|---|
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 169822 2007-05-21 09:01:23Z ru $ | 2# $FreeBSD: head/share/mk/bsd.lib.mk 172832 2007-10-20 19:01:50Z 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. --- 219 unchanged lines hidden (view full) --- 230.for ie in ${INSTALLFLAGS_EDIT} 231_SHLINSTALLFLAGS:= ${_SHLINSTALLFLAGS${ie}} 232.endfor 233 234.if !defined(INTERNALLIB) 235realinstall: _libinstall 236.ORDER: beforeinstall _libinstall 237_libinstall: | 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. --- 219 unchanged lines hidden (view full) --- 230.for ie in ${INSTALLFLAGS_EDIT} 231_SHLINSTALLFLAGS:= ${_SHLINSTALLFLAGS${ie}} 232.endfor 233 234.if !defined(INTERNALLIB) 235realinstall: _libinstall 236.ORDER: beforeinstall _libinstall 237_libinstall: |
238.if defined(LIB) && !empty(LIB) && !defined(NO_INSTALLLIB) | 238.if defined(LIB) && !empty(LIB) && ${MK_INSTALLLIB} != "no" |
239 ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 240 ${_INSTALLFLAGS} lib${LIB}.a ${DESTDIR}${LIBDIR} 241.endif 242.if ${MK_PROFILE} != "no" && defined(LIB) && !empty(LIB) 243 ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 244 ${_INSTALLFLAGS} lib${LIB}_p.a ${DESTDIR}${LIBDIR} 245.endif 246.if defined(SHLIB_NAME) --- 107 unchanged lines hidden --- | 239 ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 240 ${_INSTALLFLAGS} lib${LIB}.a ${DESTDIR}${LIBDIR} 241.endif 242.if ${MK_PROFILE} != "no" && defined(LIB) && !empty(LIB) 243 ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 244 ${_INSTALLFLAGS} lib${LIB}_p.a ${DESTDIR}${LIBDIR} 245.endif 246.if defined(SHLIB_NAME) --- 107 unchanged lines hidden --- |