summaryrefslogtreecommitdiff
path: root/usr/src/lib/libdll
diff options
context:
space:
mode:
authormeem <none@none>2007-10-22 16:50:32 -0700
committermeem <none@none>2007-10-22 16:50:32 -0700
commit2032ea7bd13069ba4884066ed18f83bf12b3e247 (patch)
tree6d4cb43d8fd80695b778494c44df393fc1bb3cd4 /usr/src/lib/libdll
parentb9238976491622ad75a67ab0c12edf99e36212b9 (diff)
downloadillumos-gate-2032ea7bd13069ba4884066ed18f83bf12b3e247.tar.gz
6599659 Makefiles shouldn't have to tear $(RELEASE) apart
Contributed by Roland Mainz <roland.mainz@nrubsig.org>
Diffstat (limited to 'usr/src/lib/libdll')
-rw-r--r--usr/src/lib/libdll/amd64/Makefile5
-rw-r--r--usr/src/lib/libdll/i386/Makefile5
-rw-r--r--usr/src/lib/libdll/sparc/Makefile5
-rw-r--r--usr/src/lib/libdll/sparcv9/Makefile5
4 files changed, 4 insertions, 16 deletions
diff --git a/usr/src/lib/libdll/amd64/Makefile b/usr/src/lib/libdll/amd64/Makefile
index 5511ce5642..859cc09364 100644
--- a/usr/src/lib/libdll/amd64/Makefile
+++ b/usr/src/lib/libdll/amd64/Makefile
@@ -25,12 +25,9 @@
# ident "%Z%%M% %I% %E% SMI"
#
-# Fetch minor version from RELEASE, e.g. "10" for "5.10", "11" for "5.11" etc.
-GETRELEASEMINOR = /usr/bin/ksh -c 'x=$(RELEASE) ; print "$${x$(POUND_SIGN)$(POUND_SIGN)*.}"'
-
# Platform-specific config
# Note that "HOSTTYPE" matches the value used by AT&T upstream.
-DLLPLATFORMCPPFLAGS = '-DHOSTTYPE="sol$(GETRELEASEMINOR:sh).i386"'
+DLLPLATFORMCPPFLAGS = '-DHOSTTYPE="sol$(RELEASE_MINOR).i386"'
include ../Makefile.com
include ../../Makefile.lib.64
diff --git a/usr/src/lib/libdll/i386/Makefile b/usr/src/lib/libdll/i386/Makefile
index 8577dbfcc9..8ba7064a6b 100644
--- a/usr/src/lib/libdll/i386/Makefile
+++ b/usr/src/lib/libdll/i386/Makefile
@@ -25,12 +25,9 @@
# ident "%Z%%M% %I% %E% SMI"
#
-# Fetch minor version from RELEASE, e.g. "10" for "5.10", "11" for "5.11" etc.
-GETRELEASEMINOR = /usr/bin/ksh -c 'x=$(RELEASE) ; print "$${x$(POUND_SIGN)$(POUND_SIGN)*.}"'
-
# Platform-specific config
# Note that "HOSTTYPE" matches the value used by AT&T upstream.
-DLLPLATFORMCPPFLAGS = '-DHOSTTYPE="sol$(GETRELEASEMINOR:sh).i386"'
+DLLPLATFORMCPPFLAGS = '-DHOSTTYPE="sol$(RELEASE_MINOR).i386"'
include ../Makefile.com
diff --git a/usr/src/lib/libdll/sparc/Makefile b/usr/src/lib/libdll/sparc/Makefile
index b45208ffc9..0c579f5e22 100644
--- a/usr/src/lib/libdll/sparc/Makefile
+++ b/usr/src/lib/libdll/sparc/Makefile
@@ -25,12 +25,9 @@
# ident "%Z%%M% %I% %E% SMI"
#
-# Fetch minor version from RELEASE, e.g. "10" for "5.10", "11" for "5.11" etc.
-GETRELEASEMINOR = /usr/bin/ksh -c 'x=$(RELEASE) ; print "$${x$(POUND_SIGN)$(POUND_SIGN)*.}"'
-
# Platform-specific config
# Note that "HOSTTYPE" matches the value used by AT&T upstream.
-DLLPLATFORMCPPFLAGS = '-DHOSTTYPE="sol$(GETRELEASEMINOR:sh).sun4"'
+DLLPLATFORMCPPFLAGS = '-DHOSTTYPE="sol$(RELEASE_MINOR).sun4"'
include ../Makefile.com
diff --git a/usr/src/lib/libdll/sparcv9/Makefile b/usr/src/lib/libdll/sparcv9/Makefile
index dab99d2e2d..bd91ecadc8 100644
--- a/usr/src/lib/libdll/sparcv9/Makefile
+++ b/usr/src/lib/libdll/sparcv9/Makefile
@@ -25,12 +25,9 @@
# ident "%Z%%M% %I% %E% SMI"
#
-# Fetch minor version from RELEASE, e.g. "10" for "5.10", "11" for "5.11" etc.
-GETRELEASEMINOR = /usr/bin/ksh -c 'x=$(RELEASE) ; print "$${x$(POUND_SIGN)$(POUND_SIGN)*.}"'
-
# Platform-specific config
# Note that "HOSTTYPE" matches the value used by AT&T upstream.
-DLLPLATFORMCPPFLAGS = '-DHOSTTYPE="sol$(GETRELEASEMINOR:sh).sun4"'
+DLLPLATFORMCPPFLAGS = '-DHOSTTYPE="sol$(RELEASE_MINOR).sun4"'
include ../Makefile.com
include ../../Makefile.lib.64