2006-04-06 08:21:32 +02:00
|
|
|
# $NetBSD: language.mk,v 1.5 2006/04/06 06:22:11 reed Exp $
|
2004-02-01 15:05:46 +01:00
|
|
|
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.gcc3-c+= gcc3${GCC3_PKGMODIF}-c-${GCC_VERSION}{,nb*}
|
2004-03-22 09:26:43 +01:00
|
|
|
BUILDLINK_DEPMETHOD.gcc3-c+= full
|
2004-02-01 15:05:46 +01:00
|
|
|
|
2004-04-10 17:47:08 +02:00
|
|
|
.include "../../lang/gcc3/Makefile.common"
|
2004-02-01 15:05:46 +01:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} tconfig.h
|
2004-02-22 05:51:25 +01:00
|
|
|
${RM} -f ${WRKSRC}/libiberty/libiberty.a ${WRKSRC}/gcc/xgcc
|
2004-02-21 09:38:45 +01:00
|
|
|
${LN} -s ${GCC_PREFIX}/lib/libiberty.a ${WRKSRC}/libiberty
|
|
|
|
${LN} -s ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc
|
2004-02-12 12:40:45 +01:00
|
|
|
|
2004-04-10 17:47:08 +02:00
|
|
|
.include "../../lang/gcc3-c/buildlink3.mk"
|