diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-05-12 16:01:00 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-05-12 16:01:00 +0000 |
commit | c7b111cba82a6eafca66d37944c7293fb1a11000 (patch) | |
tree | 57ff969855b4ca919ff4d533236ef90e163b1e76 /share/mk/bsd.lib.mk | |
parent | 26e5d4d14fe0a1a8c1169a4f02b167aa6b26e2e7 (diff) | |
download | src-test2-c7b111cba82a6eafca66d37944c7293fb1a11000.tar.gz src-test2-c7b111cba82a6eafca66d37944c7293fb1a11000.zip |
Notes
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r-- | share/mk/bsd.lib.mk | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 4272ec8785d8..a007f595b641 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -271,18 +271,6 @@ _EXTRADEPEND: .endif .if !target(install) -.if !target(beforeinstall) -beforeinstall: _includeinstall -.endif - -_includeinstall: -.if defined(INCS) -.for header in ${INCS} - cd ${.CURDIR} && \ - ${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \ - ${header} ${DESTDIR}${INCDIR} -.endfor -.endif .if defined(PRECIOUSLIB) && !defined(NOFSCHG) SHLINSTALLFLAGS+= -fschg @@ -297,7 +285,6 @@ _SHLINSTALLFLAGS:= ${SHLINSTALLFLAGS} _SHLINSTALLFLAGS:= ${_SHLINSTALLFLAGS${ie}} .endfor -realinstall: beforeinstall realinstall: _libinstall _libinstall: .if !defined(INTERNALLIB) @@ -320,6 +307,12 @@ _libinstall: ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${LIBDIR} .endif +.if defined(WANT_LINT) && defined(LIB) && defined(LINTOBJS) && !empty(LINTOBJS) + ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ + ${_INSTALLFLAGS} ${LINTLIB} ${DESTDIR}${LINTLIBDIR} +.endif + +realinstall: .if defined(LINKS) && !empty(LINKS) @set ${LINKS}; \ while test $$# -ge 2; do \ @@ -342,17 +335,13 @@ _libinstall: ln -fs $$l $$t; \ done; true .endif -.if defined(WANT_LINT) && defined(LIB) && defined(LINTOBJS) && !empty(LINTOBJS) - ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ - ${_INSTALLFLAGS} ${LINTLIB} ${DESTDIR}${LINTLIBDIR} -.endif + +realinstall: _incsinstall .if !defined(NOMAN) realinstall: _maninstall .endif -install: afterinstall -afterinstall: realinstall .endif .if !target(lint) @@ -360,6 +349,8 @@ lint: ${SRCS:M*.c} ${LINT} ${LINTOBJFLAGS} ${CFLAGS:M-[DIU]*} ${.ALLSRC} .endif +.include <bsd.incs.mk> + .if !defined(NOMAN) .include <bsd.man.mk> .endif |