2009-03-20 20:23:50 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.18 2009/03/20 19:24:49 joerg Exp $
|
2004-02-01 15:05:46 +01:00
|
|
|
|
2006-12-12 22:52:34 +01:00
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
2004-02-01 15:05:46 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= gcc3-java
|
2004-02-05 04:45:13 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(GCC3_JAVA_BUILDLINK3_MK)
|
|
|
|
GCC3_JAVA_BUILDLINK3_MK:=
|
2004-03-05 20:25:06 +01:00
|
|
|
|
2004-02-13 01:27:28 +01:00
|
|
|
. if defined(GCC3_INSTALLTO_SUBPREFIX)
|
|
|
|
. if ${GCC3_INSTALLTO_SUBPREFIX} != "gcc3"
|
2004-03-05 20:25:06 +01:00
|
|
|
GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX}
|
2004-02-13 01:27:28 +01:00
|
|
|
. endif
|
2004-02-01 15:05:46 +01:00
|
|
|
. endif
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.gcc3-java+= gcc3${GCC3_PKGMODIF}-java>=${_GCC_REQD}
|
|
|
|
BUILDLINK_ABI_DEPENDS.gcc3-java?= gcc3-java>=3.3.5nb1
|
2004-03-18 05:19:39 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.gcc3-java?= ../../lang/gcc3-java
|
|
|
|
BUILDLINK_LIBDIRS.gcc3-java?= \
|
|
|
|
lib ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc3-java}\///}
|
2004-02-01 15:05:46 +01:00
|
|
|
|
|
|
|
# Packages that link against shared libraries need a full dependency.
|
2004-11-22 23:24:46 +01:00
|
|
|
. if defined(_USE_GCC_SHLIB)
|
2004-03-18 05:19:39 +01:00
|
|
|
BUILDLINK_DEPMETHOD.gcc3-java+= full
|
2004-03-18 10:12:08 +01:00
|
|
|
. else
|
2004-03-18 05:19:39 +01:00
|
|
|
BUILDLINK_DEPMETHOD.gcc3-java?= build
|
2004-03-18 10:12:08 +01:00
|
|
|
. endif
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # GCC3_JAVA_BUILDLINK3_MK
|
2004-02-01 15:05:46 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -gcc3-java
|