Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk If SHLIB_MAJOR is explicitly set in a Makefile, don...



details:   https://anonhg.NetBSD.org/src/rev/272d25a31d24
branches:  trunk
changeset: 515279:272d25a31d24
user:      tv <tv%NetBSD.org@localhost>
date:      Fri Sep 21 15:16:09 2001 +0000

description:
If SHLIB_MAJOR is explicitly set in a Makefile, don't even look for a
shlib_version file.  (Part of a larger change which will also update
checkver to deal with this, and migrate old makefiles to include
SHLIB_MAJOR/SHLIB_MINOR.  For now, just add the hooks so that the old
gnu/lib toolchain libraries can use this as a workaround.)

diffstat:

 share/mk/bsd.lib.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9f9815c73306 -r 272d25a31d24 share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk       Fri Sep 21 14:40:30 2001 +0000
+++ b/share/mk/bsd.lib.mk       Fri Sep 21 15:16:09 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.lib.mk,v 1.183 2001/08/14 07:02:13 tv Exp $
+#      $NetBSD: bsd.lib.mk,v 1.184 2001/09/21 15:16:09 tv Exp $
 #      @(#)bsd.lib.mk  8.3 (Berkeley) 4/22/94
 
 .if !target(__initialized__)
@@ -16,7 +16,7 @@
 realinstall:   checkver libinstall
 clean:         cleanlib
 
-.if exists(${SHLIB_VERSION_FILE})
+.if !defined(SHLIB_MAJOR) && exists(${SHLIB_VERSION_FILE})
 SHLIB_MAJOR != . ${SHLIB_VERSION_FILE} ; echo $$major
 SHLIB_MINOR != . ${SHLIB_VERSION_FILE} ; echo $$minor
 SHLIB_TEENY != . ${SHLIB_VERSION_FILE} ; echo $$teeny



Home | Main Index | Thread Index | Old Index