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

This commit is contained in:
thorpej 2000-06-19 19:35:05 +00:00
parent c55e4231ce
commit 78d67d6053

View File

@ -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 # @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.if !target(__initialized__) .if !target(__initialized__)
@ -30,8 +30,19 @@ checkver:
.else .else
checkver: checkver:
.endif .endif
print-shlib-major:
@echo ${SHLIB_MAJOR}
print-shlib-minor:
@echo ${SHLIB_MINOR}
.else .else
checkver: checkver:
print-shlib-major:
@false
print-shlib-minor:
@false
.endif .endif
# add additional suffixes not exported. # add additional suffixes not exported.