pkgsrc-wip/jdk13/buildlink2.mk
Todd Vierling 0efffad818 This is Sun's Java[tm] Development Kit, version 1.3.1, made buildable
and usable natively on NetBSD/i386 by Greg Lewis and a host of others.

===== From the patchset README:

This is a set of BETA source code patches for the JDK 1.3.1 SCSL source.
It is sincerely hoped that this patchset is suitable for general use,
although no warranty for such use is expressed or implied.  Use at your
own risk.  The patchset itself is available for download from
http://www.eyesbeyond.com/freebsddom/java/jdk13.html (this message is
included in the downloadable tar ball as the file README).

Please read the file THANKS for attributions.

The JDK built with these patches can only be considered of beta quality
when using the default green threads subsystem with the Classic VM.
These settings are the default.  It is not recommended that this JDK
be placed into production use with other settings (e.g., native threads,
HotSpot).
2003-04-07 16:28:59 +00:00

29 lines
823 B
Makefile

# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/04/07 16:28:59 tvierling Exp $
.if !defined(JDK13_BUILDLINK2_MK)
JDK13_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= jdk13
BUILDLINK_PKGBASE.jdk13?= jdk13
BUILDLINK_DEPENDS.jdk13?= jdk13-[0-9]*
BUILDLINK_PKGSRCDIR.jdk13?= ../../lang/jdk13
BUILDLINK_PREFIX.jdk13= ${LOCALBASE}
BUILDLINK_FILES_CMD.jdk13= \
${BUILDLINK_PLIST_CMD.jdk13} | \
${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \
${SED} "s,^,$${pkg_prefix},"
EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.jdk13=jdk13
BUILDLINK_JAVA_PREFIX.jdk13_DEFAULT= \
${BUILDLINK_PREFIX.jdk13}/java/jdk-1.3.1
BUILDLINK_CPPFLAGS.jdk13= \
-I${BUILDLINK_JAVA_PREFIX.jdk13}/include \
-I${BUILDLINK_JAVA_PREFIX.jdk13}/include/netbsd
BUILDLINK_TARGETS+= jdk13-buildlink
jdk13-buildlink: _BUILDLINK_USE
.endif # JDK13_BUILDLINK2_MK