diff options
author | bde <bde@FreeBSD.org> | 1994-11-14 04:55:39 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-11-14 04:55:39 +0000 |
commit | e226c8811174b2c3938ba17546831fbca43dddd8 (patch) | |
tree | ab46b583facdd135e6b331967c91b0c687ea7d7d /share/mk/bsd.lib.mk | |
parent | 5bb14446b2fdd2f332f35078365ff56fc4c05404 (diff) | |
download | FreeBSD-src-e226c8811174b2c3938ba17546831fbca43dddd8.zip FreeBSD-src-e226c8811174b2c3938ba17546831fbca43dddd8.tar.gz |
Define `RANTOUCH?= ${RANLIB} -t' and use it instead of ${RANLIB} -t.
RANTOUCH may be defined in /etc/make.conf as
`${ECHO} skipping ${RANLIB} -t' to help stop `make install' from
changing the timestamps on unchanged libraries, thus making the
uninstalled binaries appear to be out of date... Other changes
are required to stop install from clobbering the timestamps.
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r-- | share/mk/bsd.lib.mk | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 81a514c..83981d6 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 -# $Id: bsd.lib.mk,v 1.10 1994/10/25 17:55:25 bde Exp $ +# $Id: bsd.lib.mk,v 1.11 1994/11/13 21:05:25 phk Exp $ # .if exists(${.CURDIR}/../Makefile.inc) @@ -21,11 +21,14 @@ CFLAGS+= ${DEBUG_FLAGS} .endif INSTALL?= install +RANTOUCH?= ${RANLIB} -t + LIBDIR?= /usr/lib LINTLIBDIR?= /usr/libdata/lint LIBGRP?= bin LIBOWN?= bin LIBMODE?= 444 +SHLIBDIR?= ${LIBDIR} .if !defined(DEBUG_FLAGS) STRIP?= -s @@ -226,11 +229,11 @@ realinstall: beforeinstall .if !defined(INTERNALLIB) ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${INSTALLFLAGS} lib${LIB}.a ${DESTDIR}${LIBDIR} - ${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}.a + ${RANTOUCH} ${DESTDIR}${LIBDIR}/lib${LIB}.a .if !defined(NOPROFILE) ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${INSTALLFLAGS} lib${LIB}_p.a ${DESTDIR}${LIBDIR} - ${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}_p.a + ${RANTOUCH} ${DESTDIR}${LIBDIR}/lib${LIB}_p.a .endif .endif .if !defined(NOPIC) @@ -238,12 +241,12 @@ realinstall: beforeinstall ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${INSTALLFLAGS} ${SHLINSTALLFLAGS} \ lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ - ${DESTDIR}${LIBDIR} + ${DESTDIR}${SHLIBDIR} .endif .if defined(INSTALL_PIC_ARCHIVE) ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${LIBDIR} - ${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}_pic.a + ${RANTOUCH} ${DESTDIR}${LIBDIR}/lib${LIB}_pic.a .endif .endif .if defined(LINKS) && !empty(LINKS) |