diff options
author | jlam <jlam> | 2002-10-13 07:51:34 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-13 07:51:34 +0000 |
commit | 3c78758a314518e69dea7079317001befd97078c (patch) | |
tree | 3efae8cacbee8052c6ce241723b007c1a09a0d67 | |
parent | 19aa6c696acb91b06ab15ef2029d066ff3312496 (diff) | |
download | pkgsrc-3c78758a314518e69dea7079317001befd97078c.tar.gz |
Add buildlink2.mk files for use by other package Makefiles. Each JVM
buildlink2.mk file creates a public variable "BUILDLINK_JAVA_PREFIX.<pkg>"
that may be used as the JAVA_HOME for that package.
-rw-r--r-- | lang/blackdown-jdk13/buildlink2.mk | 27 | ||||
-rw-r--r-- | lang/blackdown-jre13/buildlink2.mk | 25 | ||||
-rw-r--r-- | lang/jdk/buildlink2.mk | 29 | ||||
-rw-r--r-- | lang/kaffe/buildlink2.mk | 29 | ||||
-rw-r--r-- | lang/sun-jdk13/buildlink2.mk | 27 | ||||
-rw-r--r-- | lang/sun-jdk14/buildlink2.mk | 27 | ||||
-rw-r--r-- | lang/sun-jre13/buildlink2.mk | 25 | ||||
-rw-r--r-- | lang/sun-jre14/buildlink2.mk | 25 |
8 files changed, 214 insertions, 0 deletions
diff --git a/lang/blackdown-jdk13/buildlink2.mk b/lang/blackdown-jdk13/buildlink2.mk new file mode 100644 index 00000000000..6b883c7ff6c --- /dev/null +++ b/lang/blackdown-jdk13/buildlink2.mk @@ -0,0 +1,27 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/13 07:51:34 jlam Exp $ + +.if !defined(BLACKDOWN_JDK13_BUILDLINK2_MK) +BLACKDOWN_JDK13_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= blackdown-jdk13 +BUILDLINK_PKGBASE.blackdown-jdk13?= blackdown-jdk13 +BUILDLINK_DEPENDS.blackdown-jdk13?= blackdown-jdk13-[0-9]* +BUILDLINK_PKGSRCDIR.blackdown-jdk13?= ../../lang/blackdown-jdk13 + +BUILDLINK_PREFIX.blackdown-jdk13= ${LOCALBASE} +BUILDLINK_FILES_CMD.blackdown-jdk13= \ + ${BUILDLINK_PLIST_CMD.blackdown-jdk13} | \ + ${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \ + ${SED} "s,^,$${pkg_prefix}," + +BUILDLINK_CPPFLAGS.blackdown-jdk13= \ + -I${BUILDLINK_JAVA_PREFIX.blackdown-jre13}/include \ + -I${BUILDLINK_JAVA_PREFIX.blackdown-jre13}/include/linux + +.include "../../lang/blackdown-jre13/buildlink2.mk" + +BUILDLINK_TARGETS+= blackdown-jdk13-buildlink + +blackdown-jdk13-buildlink: _BUILDLINK_USE + +.endif # BLACKDOWN_JDK13_BUILDLINK2_MK diff --git a/lang/blackdown-jre13/buildlink2.mk b/lang/blackdown-jre13/buildlink2.mk new file mode 100644 index 00000000000..9dfee6fc2f3 --- /dev/null +++ b/lang/blackdown-jre13/buildlink2.mk @@ -0,0 +1,25 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/13 07:51:39 jlam Exp $ + +.if !defined(BLACKDOWN_JRE13_BUILDLINK2_MK) +BLACKDOWN_JRE13_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= blackdown-jre13 +BUILDLINK_PKGBASE.blackdown-jre13?= blackdown-jre13 +BUILDLINK_DEPENDS.blackdown-jre13?= blackdown-jre13-[0-9]* +BUILDLINK_PKGSRCDIR.blackdown-jre13?= ../../lang/blackdown-jre13 + +BUILDLINK_PREFIX.blackdown-jre13= ${LOCALBASE} +BUILDLINK_FILES_CMD.blackdown-jre13= \ + ${BUILDLINK_PLIST_CMD.blackdown-jre13} | \ + ${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \ + ${SED} "s,^,$${pkg_prefix}," + +EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.blackdown-jre13=blackdown-jre13 +BUILDLINK_JAVA_PREFIX.blackdown-jre13_DEFAULT= \ + ${BUILDLINK_PREFIX.blackdown-jre13}/java/sun-1.3.1 + +BUILDLINK_TARGETS+= blackdown-jre13-buildlink + +blackdown-jre13-buildlink: _BUILDLINK_USE + +.endif # BLACKDOWN_JRE13_BUILDLINK2_MK diff --git a/lang/jdk/buildlink2.mk b/lang/jdk/buildlink2.mk new file mode 100644 index 00000000000..299a68b310a --- /dev/null +++ b/lang/jdk/buildlink2.mk @@ -0,0 +1,29 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/13 07:51:36 jlam Exp $ + +.if !defined(JDK_BUILDLINK2_MK) +JDK_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= jdk +BUILDLINK_PKGBASE.jdk?= jdk +BUILDLINK_DEPENDS.jdk?= jdk-[0-9]* +BUILDLINK_PKGSRCDIR.jdk?= ../../lang/jdk + +BUILDLINK_PREFIX.jdk= ${LOCALBASE} +BUILDLINK_FILES_CMD.jdk= \ + ${BUILDLINK_PLIST_CMD.jdk} | \ + ${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \ + ${SED} "s,^,$${pkg_prefix}," + +EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.jdk=jdk +BUILDLINK_JAVA_PREFIX.jdk_DEFAULT= \ + ${BUILDLINK_PREFIX.jdk}/java/jdk-1.1.8 + +BUILDLINK_CPPFLAGS.jdk= \ + -I${BUILDLINK_JAVA_PREFIX.jdk}/include \ + -I${BUILDLINK_JAVA_PREFIX.jdk}/include/netbsd + +BUILDLINK_TARGETS+= jdk-buildlink + +jdk-buildlink: _BUILDLINK_USE + +.endif # JDK_BUILDLINK2_MK diff --git a/lang/kaffe/buildlink2.mk b/lang/kaffe/buildlink2.mk new file mode 100644 index 00000000000..43626a26b9d --- /dev/null +++ b/lang/kaffe/buildlink2.mk @@ -0,0 +1,29 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/13 07:51:41 jlam Exp $ + +.if !defined(KAFFE_BUILDLINK2_MK) +KAFFE_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= kaffe +BUILDLINK_PKGBASE.kaffe?= kaffe +BUILDLINK_DEPENDS.kaffe?= kaffe-[0-9]* +BUILDLINK_PKGSRCDIR.kaffe?= ../../lang/kaffe + +BUILDLINK_PREFIX.kaffe= ${LOCALBASE} +BUILDLINK_FILES_CMD.kaffe= \ + ${BUILDLINK_PLIST_CMD.kaffe} | \ + ${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \ + ${SED} "s,^,$${pkg_prefix}," + +EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.kaffe=kaffe +BUILDLINK_JAVA_PREFIX.kaffe_DEFAULT= \ + ${BUILDLINK_PREFIX.kaffe}/java/kaffe + +BUILDLINK_CPPFLAGS.kaffe= \ + -I${BUILDLINK_JAVA_PREFIX.kaffe}/include \ + -I${BUILDLINK_JAVA_PREFIX.kaffe}/include/kaffe + +BUILDLINK_TARGETS+= kaffe-buildlink + +kaffe-buildlink: _BUILDLINK_USE + +.endif # KAFFE_BUILDLINK2_MK diff --git a/lang/sun-jdk13/buildlink2.mk b/lang/sun-jdk13/buildlink2.mk new file mode 100644 index 00000000000..4d7f385ad43 --- /dev/null +++ b/lang/sun-jdk13/buildlink2.mk @@ -0,0 +1,27 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/13 07:51:37 jlam Exp $ + +.if !defined(SUN_JDK13_BUILDLINK2_MK) +SUN_JDK13_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= sun-jdk13 +BUILDLINK_PKGBASE.sun-jdk13?= sun-jdk13 +BUILDLINK_DEPENDS.sun-jdk13?= sun-jdk13-[0-9]* +BUILDLINK_PKGSRCDIR.sun-jdk13?= ../../lang/sun-jdk13 + +BUILDLINK_PREFIX.sun-jdk13= ${LOCALBASE} +BUILDLINK_FILES_CMD.sun-jdk13= \ + ${BUILDLINK_PLIST_CMD.sun-jdk13} | \ + ${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \ + ${SED} "s,^,$${pkg_prefix}," + +BUILDLINK_CPPFLAGS.sun-jdk13= \ + -I${BUILDLINK_JAVA_PREFIX.sun-jre13}/include \ + -I${BUILDLINK_JAVA_PREFIX.sun-jre13}/include/linux + +.include "../../lang/sun-jre13/buildlink2.mk" + +BUILDLINK_TARGETS+= sun-jdk13-buildlink + +sun-jdk13-buildlink: _BUILDLINK_USE + +.endif # SUN_JDK13_BUILDLINK2_MK diff --git a/lang/sun-jdk14/buildlink2.mk b/lang/sun-jdk14/buildlink2.mk new file mode 100644 index 00000000000..fbf68adc2fc --- /dev/null +++ b/lang/sun-jdk14/buildlink2.mk @@ -0,0 +1,27 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/13 07:51:38 jlam Exp $ + +.if !defined(SUN_JDK14_BUILDLINK2_MK) +SUN_JDK14_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= sun-jdk14 +BUILDLINK_PKGBASE.sun-jdk14?= sun-jdk14 +BUILDLINK_DEPENDS.sun-jdk14?= sun-jdk14-[0-9]* +BUILDLINK_PKGSRCDIR.sun-jdk14?= ../../lang/sun-jdk14 + +BUILDLINK_PREFIX.sun-jdk14= ${LOCALBASE} +BUILDLINK_FILES_CMD.sun-jdk14= \ + ${BUILDLINK_PLIST_CMD.sun-jdk14} | \ + ${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \ + ${SED} "s,^,$${pkg_prefix}," + +BUILDLINK_CPPFLAGS.sun-jdk14= \ + -I${BUILDLINK_JAVA_PREFIX.sun-jre14}/include \ + -I${BUILDLINK_JAVA_PREFIX.sun-jre14}/include/linux + +.include "../../lang/sun-jre14/buildlink2.mk" + +BUILDLINK_TARGETS+= sun-jdk14-buildlink + +sun-jdk14-buildlink: _BUILDLINK_USE + +.endif # SUN_JDK14_BUILDLINK2_MK diff --git a/lang/sun-jre13/buildlink2.mk b/lang/sun-jre13/buildlink2.mk new file mode 100644 index 00000000000..b1a2fb4003c --- /dev/null +++ b/lang/sun-jre13/buildlink2.mk @@ -0,0 +1,25 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/13 07:51:39 jlam Exp $ + +.if !defined(SUN_JRE13_BUILDLINK2_MK) +SUN_JRE13_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= sun-jre13 +BUILDLINK_PKGBASE.sun-jre13?= sun-jre13 +BUILDLINK_DEPENDS.sun-jre13?= sun-jre13-[0-9]* +BUILDLINK_PKGSRCDIR.sun-jre13?= ../../lang/sun-jre13 + +BUILDLINK_PREFIX.sun-jre13= ${LOCALBASE} +BUILDLINK_FILES_CMD.sun-jre13= \ + ${BUILDLINK_PLIST_CMD.sun-jre13} | \ + ${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \ + ${SED} "s,^,$${pkg_prefix}," + +EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.sun-jre13=sun-jre13 +BUILDLINK_JAVA_PREFIX.sun-jre13_DEFAULT= \ + ${BUILDLINK_PREFIX.sun-jre13}/java/sun-1.3.1 + +BUILDLINK_TARGETS+= sun-jre13-buildlink + +sun-jre13-buildlink: _BUILDLINK_USE + +.endif # SUN_JRE13_BUILDLINK2_MK diff --git a/lang/sun-jre14/buildlink2.mk b/lang/sun-jre14/buildlink2.mk new file mode 100644 index 00000000000..297738d3c4f --- /dev/null +++ b/lang/sun-jre14/buildlink2.mk @@ -0,0 +1,25 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/13 07:51:40 jlam Exp $ + +.if !defined(SUN_JRE14_BUILDLINK2_MK) +SUN_JRE14_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= sun-jre14 +BUILDLINK_PKGBASE.sun-jre14?= sun-jre14 +BUILDLINK_DEPENDS.sun-jre14?= sun-jre14-[0-9]* +BUILDLINK_PKGSRCDIR.sun-jre14?= ../../lang/sun-jre14 + +BUILDLINK_PREFIX.sun-jre14= ${LOCALBASE} +BUILDLINK_FILES_CMD.sun-jre14= \ + ${BUILDLINK_PLIST_CMD.sun-jre14} | \ + ${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \ + ${SED} "s,^,$${pkg_prefix}," + +EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.sun-jre14=sun-jre14 +BUILDLINK_JAVA_PREFIX.sun-jre14_DEFAULT= \ + ${BUILDLINK_PREFIX.sun-jre14}/java/sun-1.4.0 + +BUILDLINK_TARGETS+= sun-jre14-buildlink + +sun-jre14-buildlink: _BUILDLINK_USE + +.endif # SUN_JRE14_BUILDLINK2_MK |