diff options
author | minoura <minoura> | 2000-11-06 03:15:14 +0000 |
---|---|---|
committer | minoura <minoura> | 2000-11-06 03:15:14 +0000 |
commit | 9a7cbcb0d78e5ac0570d8f116ae8eb5a67f69157 (patch) | |
tree | 8545ecd14e0032cb1a26babb2bc280e097d13b76 /cross/i386-netbsdpe/Makefile | |
parent | b1424566aecce8191d1aa4f18e1d750897ad7bda (diff) | |
download | pkgsrc-9a7cbcb0d78e5ac0570d8f116ae8eb5a67f69157.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" |