diff options
author | minoura <minoura@pkgsrc.org> | 2000-11-06 03:15:14 +0000 |
---|---|---|
committer | minoura <minoura@pkgsrc.org> | 2000-11-06 03:15:14 +0000 |
commit | 547b08b9e69157fed4cd021844028d4f4fe56947 (patch) | |
tree | 8545ecd14e0032cb1a26babb2bc280e097d13b76 /cross/i386-netbsdpe/Makefile | |
parent | 77e5c3f2df78c0830ce523409d73393a5106388d (diff) | |
download | pkgsrc-547b08b9e69157fed4cd021844028d4f4fe56947.tar.gz |
Import cross-i386-netbsdpe, cross compile environment for PEACE/i386.
This package obsoletes broken cross-i386-cygwin32.
From the PEACE repository,
http://cvs.kshosen.ac.jp/cvsweb.cgi/peace/pkgsrc/cross/i386-netbsdpe/
Diffstat (limited to 'cross/i386-netbsdpe/Makefile')
-rw-r--r-- | cross/i386-netbsdpe/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/cross/i386-netbsdpe/Makefile b/cross/i386-netbsdpe/Makefile new file mode 100644 index 00000000000..4a539609b12 --- /dev/null +++ b/cross/i386-netbsdpe/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/11/06 03:15:14 minoura Exp $ +# + +DISTVERSION= 1.0.0.0 +DISTFILES= # none + +MAINTAINER= peace-sacrifice@hauN.ORG +HOMEPAGE= http://chiharu.hauN.ORG/peace/ + +WRKSRC= ${WRKDIR}/${EGCS_DISTNAME} + +USE_CROSS_BINUTILS= yes +BINUTILS_GNUTARGET= pe-i386 +BINUTILS_LDEMULATION= i386pe +USE_CROSS_EGCS= yes +EGCS_FAKE_RUNTIME= yes + +TARGET_ARCH= i386-netbsdpe + +BINUTILS_EXTRAS= dlltool windres + +post-patch: + for i in patches/binutils-*; do \ + ${PATCH} -d ${BINUTILS_WRKSRC} --forward --quiet -E < $$i; \ + done + cd ${BINUTILS_WRKSRC}/bfd && autoconf + cd ${BINUTILS_WRKSRC}/gas && autoconf + cd ${WRKDIR}/${EGCS_DISTNAME}/gcc && autoconf +post-configure: + ${CP} ${FILESDIR}/i386_limits.h ${SYS_INCLUDE}/machine/limits.h + ${CP} ${FILESDIR}/syslimits.h ${SYS_INCLUDE}/sys/ + ${CP} ${FILESDIR}/featuretest.h ${SYS_INCLUDE}/sys/ + ${CP} ${FILESDIR}/limits.h ${SYS_INCLUDE}/ + +.include "../COMMON/cross.mk" |