2009-03-20 20:23:50 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.9 2009/03/20 19:24:49 joerg Exp $
|
2004-05-29 00:30:50 +02:00
|
|
|
|
|
|
|
BUILDLINK_PREFIX.gcc3-ada:=${LOCALBASE}/gcc3
|
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= gcc3-ada
|
2004-05-29 00:30:50 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(GCC3_ADA_BUILDLINK3_MK)
|
|
|
|
GCC3_ADA_BUILDLINK3_MK:=
|
2004-05-29 00:30:50 +02:00
|
|
|
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.gcc3-ada+= gcc3-ada>=3.3.3
|
|
|
|
BUILDLINK_ABI_DEPENDS.gcc3-ada?= gcc3-ada>=3.3.5nb1
|
2004-05-29 00:30:50 +02:00
|
|
|
BUILDLINK_PKGSRCDIR.gcc3-ada?= ../../lang/gcc3-ada
|
|
|
|
BUILDLINK_ENV+= ADAC=${LOCALBASE}/gcc3/bin/gcc
|
|
|
|
_GCC_ARCHDIR!= ${DIRNAME} `${LOCALBASE}/gcc3/bin/gcc --print-libgcc-file-name`
|
|
|
|
. if empty(_GCC_ARCHDIR:M*not_found*)
|
|
|
|
BUILDLINK_LIBDIRS.gcc3-ada+= lib ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc3-ada}\///}
|
|
|
|
BUILDLINK_LIBDIRS.gcc3-ada+= ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc3-ada}\///}/adalib
|
|
|
|
BUILDLINK_INCDIRS.gcc3-ada+= include ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc3-ada}\///}/adainclude
|
|
|
|
. endif
|
|
|
|
|
2005-05-10 01:46:46 +02:00
|
|
|
BUILDLINK_PKGSRCDIR.gcc3-ada?= ../../lang/gcc3-ada
|
2004-05-29 00:30:50 +02:00
|
|
|
BUILDLINK_FILES_CMD.gcc3-ada= (cd ${BUILDLINK_PREFIX.gcc3-ada} && \
|
|
|
|
${FIND} bin libexec lib \( -type file -o -type link \) -print)
|
2007-01-17 04:11:18 +01:00
|
|
|
BUILDLINK_FNAME_TRANSFORM.gcc3-ada= -e s:\buildlink:buildlink/gcc3:
|
2004-05-29 00:30:50 +02:00
|
|
|
|
|
|
|
BUILDLINK_DEPMETHOD.gcc3-ada?= build
|
|
|
|
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # GCC3_ADA_BUILDLINK3_MK
|
2004-05-29 00:30:50 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -gcc3-ada
|