1 # $NetBSD: Makefile,v 1.2 2006/11/09 20:07:15 christos Exp $
12 .if exists
(${.CURDIR
}/..
/libstdc
++-v3_4
/arch
/${MACHINE_ARCH}/defs.mk
) && ${MKGCC} != "no"
13 .
include "${.CURDIR}/../libstdc++-v3_4/arch/${MACHINE_ARCH}/defs.mk"
18 .
include "${.CURDIR}/../libsupc++4/Makefile.common"
20 SRCS
= ${LIBSUPCXXSRCS} xmalloc.c
21 CXXFLAGS
+= ${G_SECTION_FLAGS}
23 COPTS.cp-demangle.c
= -Wno-stack-protector
28 unwind.h
: ${G_UNWIND_H}
31 ln
-s
${G_UNWIND_H} ${.TARGET
}
34 .PATH
: ${DIST}/libstdc
++-v3
/src \
35 ${DIST}/libstdc
++-v3
/libmath \
36 ${DIST}/libstdc
++-v3
/libsupc
++ \
38 ${.CURDIR
}/..
/libstdc
++-v3_4
/arch
/${MACHINE_ARCH}
40 ${OBJS}: ${.CURDIR
}/..
/libstdc
++-v3_4
/arch
/${MACHINE_ARCH}/defs.mk
42 .
include <bsd.prog.mk
> # do nothing
45 .if
(${OBJECT_FMT} == "a.out")
46 LDADD
= ${DESTDIR}/usr
/lib
/c
++rt0.o
47 DPADD
= ${DESTDIR}/usr
/lib
/c
++rt0.o