[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / cross / i386-cygwin32

File: [cvs.NetBSD.org] / pkgsrc / cross / i386-cygwin32 / Attic / Makefile (download)

Revision 1.20, Tue Aug 14 17:07:55 2012 UTC (7 years, 9 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.19: +3 -1 lines

Mark packages with no staged installation support explicitly (PKG_DESTDIR_SUPPORT=none).

# $NetBSD: Makefile,v 1.20 2012/08/14 17:07:55 asau Exp $
#

DISTVERSION=		1.0.0.0
DISTFILES=		# none
PKGREVISION=		3

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.NetBSD.org/
COMMENT=		Cross-compile environment for Cygwin32/i386

NOT_FOR_PLATFORM=	*-*-x86_64

PKG_DESTDIR_SUPPORT=	none

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

## 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.
post-configure:
	${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}/

.include "../../cross/COMMON/cross.mk"