blob: 87a873a05ff3ef1b61d6e1cdafba25e7944ffb48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $NetBSD: Makefile,v 1.3 2006/02/25 12:04:23 simonb Exp $
MKPRIVATELIB= yes
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
|