diff options
author | jlam <jlam@pkgsrc.org> | 2002-09-30 22:16:48 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-09-30 22:16:48 +0000 |
commit | efdc57cd983dcaa336982ba0c5059e6cfeacfdf9 (patch) | |
tree | 50c5568006c988064f6a9028ce00c78472e5441e /cross | |
parent | 713eec71ced3b0b63912f1c3d81769533cfdd0aa (diff) | |
download | pkgsrc-efdc57cd983dcaa336982ba0c5059e6cfeacfdf9.tar.gz |
Add a buildlink2.mk file for other packages to use.
Diffstat (limited to 'cross')
-rw-r--r-- | cross/binutils/buildlink2.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/cross/binutils/buildlink2.mk b/cross/binutils/buildlink2.mk new file mode 100644 index 00000000000..2e644cf9adf --- /dev/null +++ b/cross/binutils/buildlink2.mk @@ -0,0 +1,30 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/09/30 22:16:48 jlam Exp $ + +.if !defined(CROSS_BINUTILS_BUILDLINK2_MK) +CROSS_BINUTILS_BUILDLINK2_MK= # defined + +.include "../../mk/bsd.prefs.mk" + +BUILDLINK_DEPENDS.cross-binutils?= cross-binutils>=2.9.1.1 +BUILDLINK_PKGSRCDIR.cross-binutils?= ../../cross/binutils +BUILDLINK_DEPMETHOD.cross-binutils?= build + +BUILDLINK_PACKAGES+= cross-binutils +BUILDLINK_PREFIX.cross-binutils= ${LOCALBASE} + +CROSS= ${CROSSBASE:S/${BUILDLINK_PREFIX.cross-binutils}\///} + +BUILDLINK_FILES.cross-binutils+= ${CROSS}/include/ansidecl.h +BUILDLINK_FILES.cross-binutils+= ${CROSS}/include/bfd.h +BUILDLINK_FILES.cross-binutils+= ${CROSS}/include/bfdlink.h +BUILDLINK_FILES.cross-binutils+= ${CROSS}/lib/libbfd.* +BUILDLINK_FILES.cross-binutils+= ${CROSS}/lib/libbfd-*.* +BUILDLINK_FILES.cross-binutils+= ${CROSS}/lib/libiberty.* +BUILDLINK_FILES.cross-binutils+= ${CROSS}/lib/libopcodes.* +BUILDLINK_FILES.cross-binutils+= ${CROSS}/lib/libopcodes-*.* + +BUILDLINK_TARGETS+= cross-binutils-buildlink + +cross-binutils-buildlink: _BUILDLINK_USE + +.endif # CROSS_BINUTILS_BUILDLINK2_MK |