diff options
author | sakamoto <sakamoto@pkgsrc.org> | 1999-12-20 05:58:34 +0000 |
---|---|---|
committer | sakamoto <sakamoto@pkgsrc.org> | 1999-12-20 05:58:34 +0000 |
commit | a5bb6d92e19d308fc7c8286998c4f032cc166d0e (patch) | |
tree | 8cb926b6f865b83d64cc56232cc3fe5a2521a195 /cross/bfd-mdsetimage/Makefile | |
parent | 872d9f92bc6f1947e1529b807f57f2239df873a4 (diff) | |
download | pkgsrc-a5bb6d92e19d308fc7c8286998c4f032cc166d0e.tar.gz |
Initial import of bfd-mdsetimage-1.0
mdsetimage using libbfd. Used for cross-building distributions.
Diffstat (limited to 'cross/bfd-mdsetimage/Makefile')
-rw-r--r-- | cross/bfd-mdsetimage/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/cross/bfd-mdsetimage/Makefile b/cross/bfd-mdsetimage/Makefile new file mode 100644 index 00000000000..df243bab6e2 --- /dev/null +++ b/cross/bfd-mdsetimage/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/12/20 05:58:34 sakamoto Exp $ + +DISTNAME= bfd-mdsetimage-1.0 +CATEGORIES= cross +MASTER_SITES= # empty +DISTFILES= # empty + +MAINTAINER= sakamoto@netbsd.org + +DEPENDS= cross-binutils-2.9.1.1:../binutils + +EXTRACT_ONLY= # empty +NO_WRKSUBDIR= yes +NO_CHECKSUM= yes +NO_PATCH= yes +NO_CONFIGURE= yes + +USE_CROSSBASE= yes +BFD_VERSION= 2.9.1 +MAKE_ENV+= BFD_VERSION=${BFD_VERSION} \ + CPPFLAGS="-I${PREFIX}/include" \ + LIBS="-L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lbfd-${BFD_VERSION} -liberty" + +do-extract: + @${MKDIR} ${WRKSRC} + @${CP} ${FILESDIR}/* ${WRKSRC} + +pre-install: + @if [ ! -d ${PREFIX}/bin ];then ${MKDIR} ${PREFIX}/bin;fi + +.include "../../mk/bsd.pkg.mk" |