1 # $NetBSD: Makefile.common,v 1.4 2003/10/19 14:52:03 lukem Exp $
3 DIST= ${NETBSDSRCDIR}/gnu/dist/gcc4
6 LIBMATHSRCS= ${G_libmath_la_SOURCES} ${G_libmath_la_LIBADD:.lo=.c}
7 LIBSTDCXXSRCS= ${G_SRC_SOURCES}
8 LIBSUPCXXSRCS= ${G_LIBSUPCXX_SOURCES} ${G_LIBSUPCXX_C_SOURCES}
10 CPPFLAGS+= -I${DIST}/gcc
11 CPPFLAGS+= -I${DIST}/include
12 CPPFLAGS+= -I${DIST}/libstdc++-v3/libsupc++
13 CPPFLAGS+= -I${.CURDIR}/../libstdc++-v3_4/arch/${MACHINE_ARCH} -I.
14 CPPFLAGS+= -DHAVE_STDLIB_H -DHAVE_STRING_H
16 CPPFLAGS.cp-demangle.c=-DIN_GLIBCPP_V3
17 #CPPFLAGS.dyn-string.c=-DIN_GLIBCPP_V3
19 #BUILDSYMLINKS+= ${DIST}/libiberty/cp-demangle.c cxa_demangle.c