summaryrefslogtreecommitdiff
path: root/cross/mingw-gcc/buildlink3.mk
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2010-03-15 18:34:36 +0000
committerasau <asau@pkgsrc.org>2010-03-15 18:34:36 +0000
commite416b2f4ae1097610c35918d2cfea5565868f66a (patch)
tree3456c799619b7e02a77d1a707ab77b24c36a29f9 /cross/mingw-gcc/buildlink3.mk
parent833496c9ecd79dca0b5fccb1c7338e925704bf8a (diff)
downloadpkgsrc-e416b2f4ae1097610c35918d2cfea5565868f66a.tar.gz
Import MinGW packages into "cross" category. From pkgsrc-wip project.
MinGW, a contraction of "Minimalist GNU for Windows," is a port of the GNU Compiler Collection (GCC), and GNU Binutils, for use in the development of native Microsoft Windows applications.
Diffstat (limited to 'cross/mingw-gcc/buildlink3.mk')
-rw-r--r--cross/mingw-gcc/buildlink3.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/cross/mingw-gcc/buildlink3.mk b/cross/mingw-gcc/buildlink3.mk
new file mode 100644
index 00000000000..fb8bb2342bf
--- /dev/null
+++ b/cross/mingw-gcc/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/03/15 18:34:37 asau Exp $
+
+BUILDLINK_TREE+= mingw-gcc
+
+.if !defined(MINGW_GCC_BUILDLINK3_MK)
+MINGW_GCC_BUILDLINK3_MK:=
+
+.include "../../cross/mingw/Makefile.common"
+
+BUILDLINK_API_DEPENDS.mingw-gcc+= mingw-gcc>=3.4.2
+BUILDLINK_PKGSRCDIR.mingw-gcc?= ../../cross/mingw-gcc
+BUILDLINK_FNAME_TRANSFORM.mingw-gcc+= -e "s,${MINGW_TARGET}/lib,lib/,g"
+
+.include "../../cross/mingw-binutils/buildlink3.mk"
+.endif # MINGW_GCC_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -mingw-gcc