2012-10-02 22:11:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2012/10/02 20:11:40 asau 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
|
2011-06-03 10:35:36 +02:00
|
|
|
PKGREVISION= 1
|
|
|
|
|
2004-02-13 16:13:00 +01:00
|
|
|
INSTLIBS= libobjc/libobjc.la
|
2011-06-03 10:35:36 +02:00
|
|
|
MAKE_ENV+= DESTDIR=${DESTDIR}
|
2004-02-13 16:13:00 +01:00
|
|
|
|
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:
|
2011-06-03 10:35:36 +02:00
|
|
|
${INSTALL_PROGRAM_DIR} ${DESTDIR}${GCC_ARCHDIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gcc/cc1obj ${DESTDIR}${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"
|