20 lines
632 B
Makefile
20 lines
632 B
Makefile
# $NetBSD: Makefile.common,v 1.4 2003/10/19 14:52:03 lukem Exp $
|
|
|
|
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}
|
|
|
|
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
|
|
|
|
CPPFLAGS.cxa_demangle.c=-DIN_GLIBCPP_V3
|
|
CPPFLAGS.dyn-string.c=-DIN_GLIBCPP_V3
|
|
|
|
BUILDSYMLINKS+= ${DIST}/libiberty/cp-demangle.c cxa_demangle.c
|