# $NetBSD: Makefile,v 1.14 2004/08/02 02:02:30 kristerw Exp $ DISTNAME= bfd-crunchide-1.1 PKGREVISION= 1 CATEGORIES= cross MASTER_SITES= # empty DISTFILES= # empty MAINTAINER= sakamoto@NetBSD.org COMMENT= crunchide using libbfd. Used for cross-building distributions BUILD_DEPENDS= cross-binutils>=2.15.0.0:../binutils WRKSRC= ${WRKDIR} EXTRACT_ONLY= # empty NO_CHECKSUM= yes NO_CONFIGURE= yes USE_CROSSBASE= yes CPPFLAGS+= -I${PREFIX}/include MAKE_ENV+= LIBS="${BFD_LIBS}" BFD_LIBS= ${PREFIX}/lib/libbfd.a ${PREFIX}/lib/libiberty.a ${PREFIX}/lib/libintl.a do-extract: @${MKDIR} ${WRKSRC} @${CP} ${FILESDIR}/Makefile ${FILESDIR}/crunchide.1 ${FILESDIR}/crunchide.c \ ${WRKSRC} pre-install: @if [ ! -d ${PREFIX}/bin ]; then ${INSTALL_PROGRAM_DIR} ${PREFIX}/bin; fi .include "../../mk/bsd.pkg.mk"