Source-Changes-HG archive

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

[src/trunk]: src/share/mk Add print-shlib-major and print-shlib-minor targets.



details:   https://anonhg.NetBSD.org/src/rev/d8161db967bd
branches:  trunk
changeset: 488150:d8161db967bd
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Jun 19 19:35:05 2000 +0000

description:
Add print-shlib-major and print-shlib-minor targets.

diffstat:

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

diffs (29 lines):

diff -r c796f8ccea88 -r d8161db967bd share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk       Mon Jun 19 19:00:14 2000 +0000
+++ b/share/mk/bsd.lib.mk       Mon Jun 19 19:35:05 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.lib.mk,v 1.168 2000/06/06 09:22:01 mycroft Exp $
+#      $NetBSD: bsd.lib.mk,v 1.169 2000/06/19 19:35:05 thorpej Exp $
 #      @(#)bsd.lib.mk  8.3 (Berkeley) 4/22/94
 
 .if !target(__initialized__)
@@ -30,8 +30,19 @@
 .else
 checkver:
 .endif
+print-shlib-major:
+       @echo ${SHLIB_MAJOR}
+
+print-shlib-minor:
+       @echo ${SHLIB_MINOR}
 .else
 checkver:
+
+print-shlib-major:
+       @false
+
+print-shlib-minor:
+       @false
 .endif
 
 # add additional suffixes not exported.



Home | Main Index | Thread Index | Old Index