2006-12-07 12:24:27 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2006/12/07 11:24:28 markd Exp $
|
2003-07-06 14:15:03 +02:00
|
|
|
|
2004-02-01 15:05:46 +01:00
|
|
|
PKGNAME= gcc3${GCC3_PKGMODIF}-objc-${GCC_VERSION}
|
|
|
|
COMMENT= GNU Compiler Collection, v3 - Objective C compiler
|
2003-07-06 14:15:03 +02:00
|
|
|
|
2004-02-13 16:13:00 +01:00
|
|
|
INSTLIBS= libobjc/libobjc.la
|
|
|
|
|
2004-04-10 17:47:08 +02:00
|
|
|
.include "../../lang/gcc3/language.mk"
|
2003-07-06 14:15:03 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-languages="objc"
|
|
|
|
|
|
|
|
do-build:
|
2004-02-01 15:05:46 +01:00
|
|
|
cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} objc
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} all-target-libobjc
|
2003-07-06 14:15:03 +02:00
|
|
|
|
|
|
|
do-install:
|
2005-06-16 08:57:37 +02:00
|
|
|
${INSTALL_PROGRAM_DIR} ${GCC_ARCHDIR}
|
2003-07-06 14:15:03 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gcc/cc1obj ${GCC_ARCHDIR}
|
2004-02-01 15:05:46 +01:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
|
|
|
|
install-target-libobjc
|
2003-07-06 14:15:03 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|