2004-07-02 17:40:01 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2004/07/02 15:40:01 drochner 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:
|
|
|
|
${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"
|