89318da5dd
output for i386, sparc64 and powerpc.
20 lines
638 B
Makefile
20 lines
638 B
Makefile
# $NetBSD: Makefile.common,v 1.1 2006/05/10 22:53:51 mrg Exp $
|
|
|
|
DIST= ${NETBSDSRCDIR}/gnu/dist/gcc4
|
|
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_4/arch/${MACHINE_ARCH} -I.
|
|
CPPFLAGS+= -DHAVE_STDLIB_H -DHAVE_STRING_H
|
|
|
|
CPPFLAGS.cp-demangle.c=-DIN_GLIBCPP_V3
|
|
#CPPFLAGS.dyn-string.c=-DIN_GLIBCPP_V3
|
|
|
|
#BUILDSYMLINKS+= ${DIST}/libiberty/cp-demangle.c cxa_demangle.c
|