pkgsrc/lang/gcc3-objc/Makefile
2006-12-07 11:24:27 +00:00

22 lines
634 B
Makefile

# $NetBSD: Makefile,v 1.15 2006/12/07 11:24:28 markd Exp $
PKGNAME= gcc3${GCC3_PKGMODIF}-objc-${GCC_VERSION}
COMMENT= GNU Compiler Collection, v3 - Objective C compiler
INSTLIBS= libobjc/libobjc.la
.include "../../lang/gcc3/language.mk"
CONFIGURE_ARGS+= --enable-languages="objc"
do-build:
cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} objc
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} all-target-libobjc
do-install:
${INSTALL_PROGRAM_DIR} ${GCC_ARCHDIR}
${INSTALL_PROGRAM} ${WRKSRC}/gcc/cc1obj ${GCC_ARCHDIR}
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
install-target-libobjc
.include "../../mk/bsd.pkg.mk"