summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc3/libcpp/Makefile
blob: 0896976041d5820c2129b84008f4808470da66d1 (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
#	$NetBSD: Makefile,v 1.2 2003/12/07 12:51:43 simonb Exp $

NOLINKLIB=	# defined
NOLINT=		# defined
NOPIC=		# defined
NOPROFILE=	# defined

LIB=		cpp

SRCS=		${G_LIBCPP_OBJS:.o=.c}

CPPFLAGS+=	-I${.CURDIR} -I${GCCARCH} -I${BACKENDOBJ} \
		${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
		-DPREFIX=\"/usr\"

# XXX gcc332 gets an ICE compiling cppmacro.c with -O2.
.if ${MACHINE_ARCH} == "ns32k"
COPTS.cppmacro.c= -O1
.endif

.include <bsd.lib.mk>

${OBJS}: ${G_LIBCPP_DEPS}

.PATH: ${DIST}/gcc