2001-03-10 22:15:26 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2001/03/10 21:15:27 wiz Exp $
|
2000-05-31 19:54:25 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTVERSION= 1.0.0.0
|
|
|
|
DISTFILES= # none
|
|
|
|
|
2000-11-06 06:31:42 +01:00
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
HOMEPAGE= http://www.netbsd.org/
|
2001-02-16 15:04:52 +01:00
|
|
|
COMMENT= Cross-compile environment for Cywin32/i386
|
2000-05-31 19:54:25 +02:00
|
|
|
|
|
|
|
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-cygwin32
|
|
|
|
|
|
|
|
BINUTILS_EXTRAS= dlltool windres
|
|
|
|
|
2000-11-06 06:40:28 +01:00
|
|
|
## XXX
|
|
|
|
## These headers are required to build libgcc.
|
|
|
|
## We have to use the Cygwin versions of the headers, but for now
|
|
|
|
## these are enough.
|
|
|
|
## Actually we have to install Cygwin headers and libraries with this package;
|
|
|
|
## the header files from NetBSD should be deleted at that time.
|
2000-11-06 06:31:42 +01:00
|
|
|
post-configure:
|
2001-03-10 22:15:26 +01:00
|
|
|
${CP} ${FILESDIR}/i386_limits.h ${CROSS_SYS_INCLUDE}/machine/limits.h
|
|
|
|
${CP} ${FILESDIR}/syslimits.h ${CROSS_SYS_INCLUDE}/sys/
|
|
|
|
${CP} ${FILESDIR}/featuretest.h ${CROSS_SYS_INCLUDE}/sys/
|
|
|
|
${CP} ${FILESDIR}/limits.h ${CROSS_SYS_INCLUDE}/
|
2000-10-13 15:02:02 +02:00
|
|
|
|
2000-05-31 19:54:25 +02:00
|
|
|
.include "../COMMON/cross.mk"
|