summaryrefslogtreecommitdiff
path: root/lang/gcc3-c/language.mk
blob: 19db06803d5749b4d498fd0e2a0abd7e711e0a14 (plain)
1
2
3
4
5
6
7
8
9
10
# $NetBSD: language.mk,v 1.2 2004/02/10 19:29:36 jlam Exp $

.include "../../lang/gcc3-c/Makefile.common"

DEPENDS+=	gcc3-c>=${GCC_VERSION}:../../lang/gcc3-c

pre-build:
	cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} tconfig.h
	${LN} -sf ${GCC_PREFIX}/lib/libiberty.a ${WRKSRC}/libiberty
	${LN} -sf ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc