2003-10-19 18:52:03 +04:00
|
|
|
# $NetBSD: Makefile.common,v 1.4 2003/10/19 14:52:03 lukem Exp $
|
2003-07-26 18:55:12 +04:00
|
|
|
|
|
|
|
DIST= ${NETBSDSRCDIR}/gnu/dist/gcc
|
|
|
|
GNUHOSTDIST= ${DIST}
|
|
|
|
|
|
|
|
LIBMATHSRCS= ${G_libmath_la_SOURCES} ${G_libmath_la_LIBADD:.lo=.c}
|
|
|
|
LIBSTDCXXSRCS= ${G_SRC_SOURCES}
|
|
|
|
LIBSUPCXXSRCS= ${G_LIBSUPCXX_SOURCES} ${G_LIBSUPCXX_C_SOURCES}
|
|
|
|
|
2003-08-01 17:55:36 +04:00
|
|
|
CPPFLAGS+= -I${DIST}/gcc
|
|
|
|
CPPFLAGS+= -I${DIST}/include
|
|
|
|
CPPFLAGS+= -I${DIST}/libstdc++-v3/libsupc++
|
|
|
|
CPPFLAGS+= -I${.CURDIR}/../libstdc++-v3/arch/${MACHINE_ARCH}
|
|
|
|
CPPFLAGS+= -DHAVE_STDLIB_H -DHAVE_STRING_H
|
2003-07-26 18:55:12 +04:00
|
|
|
|
2003-08-01 17:55:36 +04:00
|
|
|
CPPFLAGS.cxa_demangle.c=-DIN_GLIBCPP_V3
|
|
|
|
CPPFLAGS.dyn-string.c=-DIN_GLIBCPP_V3
|
2003-07-26 18:55:12 +04:00
|
|
|
|
2003-10-19 18:52:03 +04:00
|
|
|
BUILDSYMLINKS+= ${DIST}/libiberty/cp-demangle.c cxa_demangle.c
|