bsd.lib.mk (99256) | bsd.lib.mk (99343) |
---|---|
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 99256 2002-07-02 12:16:54Z ru $ | 2# $FreeBSD: head/share/mk/bsd.lib.mk 99343 2002-07-03 12:28:03Z 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. --- 274 unchanged lines hidden (view full) --- 285.endfor 286_SHLINSTALLFLAGS:= ${SHLINSTALLFLAGS} 287.for ie in ${INSTALLFLAGS_EDIT} 288_SHLINSTALLFLAGS:= ${_SHLINSTALLFLAGS${ie}} 289.endfor 290 291.if defined(LIB) && !empty(LIB) && !defined(INTERNALLIB) 292realinstall: _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. --- 274 unchanged lines hidden (view full) --- 285.endfor 286_SHLINSTALLFLAGS:= ${SHLINSTALLFLAGS} 287.for ie in ${INSTALLFLAGS_EDIT} 288_SHLINSTALLFLAGS:= ${_SHLINSTALLFLAGS${ie}} 289.endfor 290 291.if defined(LIB) && !empty(LIB) && !defined(INTERNALLIB) 292realinstall: _libinstall |
293.ORDER: beforeinstall _libinstall |
|
293_libinstall: 294.if !defined(NOINSTALLLIB) 295 ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 296 ${_INSTALLFLAGS} lib${LIB}.a ${DESTDIR}${LIBDIR} 297.endif 298.if !defined(NOPROFILE) 299 ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 300 ${_INSTALLFLAGS} lib${LIB}_p.a ${DESTDIR}${LIBDIR} --- 17 unchanged lines hidden (view full) --- 318.endif defined(LIB) && !empty(LIB) && !defined(INTERNALLIB) 319 320.include <bsd.files.mk> 321.include <bsd.incs.mk> 322.include <bsd.links.mk> 323 324.if !defined(NOMAN) 325realinstall: _maninstall | 294_libinstall: 295.if !defined(NOINSTALLLIB) 296 ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 297 ${_INSTALLFLAGS} lib${LIB}.a ${DESTDIR}${LIBDIR} 298.endif 299.if !defined(NOPROFILE) 300 ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 301 ${_INSTALLFLAGS} lib${LIB}_p.a ${DESTDIR}${LIBDIR} --- 17 unchanged lines hidden (view full) --- 319.endif defined(LIB) && !empty(LIB) && !defined(INTERNALLIB) 320 321.include <bsd.files.mk> 322.include <bsd.incs.mk> 323.include <bsd.links.mk> 324 325.if !defined(NOMAN) 326realinstall: _maninstall |
327.ORDER: beforeinstall _maninstall |
|
326.endif 327 328.endif 329 330.if !target(lint) 331lint: ${SRCS:M*.c} 332 ${LINT} ${LINTOBJFLAGS} ${CFLAGS:M-[DIU]*} ${.ALLSRC} 333.endif --- 16 unchanged lines hidden --- | 328.endif 329 330.endif 331 332.if !target(lint) 333lint: ${SRCS:M*.c} 334 ${LINT} ${LINTOBJFLAGS} ${CFLAGS:M-[DIU]*} ${.ALLSRC} 335.endif --- 16 unchanged lines hidden --- |