Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Use ${SHLIB_VERSION_FILE} as the location of the sh...
details: https://anonhg.NetBSD.org/src/rev/8fc6370b19e7
branches: trunk
changeset: 473622:8fc6370b19e7
user: simonb <simonb%NetBSD.org@localhost>
date: Thu Jun 10 00:40:05 1999 +0000
description:
Use ${SHLIB_VERSION_FILE} as the location of the shared library version
file. Pass this to checkver with the new -v option as well.
diffstat:
share/mk/bsd.lib.mk | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 465b054e1302 -r 8fc6370b19e7 share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk Thu Jun 10 00:38:49 1999 +0000
+++ b/share/mk/bsd.lib.mk Thu Jun 10 00:40:05 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.lib.mk,v 1.153 1999/06/07 01:37:00 christos Exp $
+# $NetBSD: bsd.lib.mk,v 1.154 1999/06/10 00:40:05 simonb Exp $
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.if !target(__initialized__)
@@ -15,16 +15,17 @@
realinstall: checkver libinstall
clean cleandir distclean: cleanlib
-.if exists(${.CURDIR}/shlib_version)
-SHLIB_MAJOR != . ${.CURDIR}/shlib_version ; echo $$major
-SHLIB_MINOR != . ${.CURDIR}/shlib_version ; echo $$minor
+.if exists(${SHLIB_VERSION_FILE})
+SHLIB_MAJOR != . ${SHLIB_VERSION_FILE} ; echo $$major
+SHLIB_MINOR != . ${SHLIB_VERSION_FILE} ; echo $$minor
# Check for higher installed library versions.
.if !defined(NOCHECKVER) && !defined(NOCHECKVER_${LIB}) && \
exists(${BSDSRCDIR}/lib/checkver)
checkver:
@(cd ${.CURDIR} && \
- ${BSDSRCDIR}/lib/checkver -d ${DESTDIR}${LIBDIR} ${LIB})
+ ${BSDSRCDIR}/lib/checkver -v ${SHLIB_VERSION_FILE} \
+ -d ${DESTDIR}${LIBDIR} ${LIB})
.else
checkver:
.endif
Home |
Main Index |
Thread Index |
Old Index