summaryrefslogtreecommitdiff
path: root/devel/prc-tools-gcc/Makefile
blob: 11a16c02d34b5699f8449a2acfc4006c65c7124d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.7 2002/02/10 11:05:11 skrll Exp $
#

PKGNAME=	prc-tools-gcc-${PRC_TOOLS_VERS}
COMMENT=	gcc for GNU tool chain for Palm cross development

BASE_DIST=	gcc
BASE_VERS=	2.95.2

.include "../../devel/prc-tools/Makefile.common"

DEPENDS+=	prc-tools-binutils>=2.0:../../devel/prc-tools-binutils

ALL_TARGET=	all-gcc
INSTALL_TARGET=	install-gcc

USE_BUILDLINK_ONLY=	YES

#
# Prevent totally unnecessary invocation of autoheader
#
post-patch:
	cd ${WRKDIR}/${BASE_DIST}-${BASE_VERS}/gcc && ${TOUCH} cstamp-h.in

post-install:
	@${RMDIR} ${PREFIX}/m68k-palmos/include

.include "../../mk/bsd.pkg.mk"

# Clear these as the xgcc built during the build phase might not recognize
# any arch-specific options specified.
#
CFLAGS=		# empty
CXXFLAGS=	# empty
CPPFLAGS=	# empty