summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-05-07 01:01:38 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-05-07 01:01:38 +0000
commit68866c8c5bed42344c2a137f4f2af45fda3d07c3 (patch)
tree29416550cc2a38fb7a64e5365a1a16de4bca9626
parentae889c62a2ab4c95f87bea4a4e826b1d566ffb1a (diff)
Notes
-rw-r--r--gnu/lib/libsupc++/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/lib/libsupc++/Makefile b/gnu/lib/libsupc++/Makefile
index e8c0da7a1d7e..a35befcd10af 100644
--- a/gnu/lib/libsupc++/Makefile
+++ b/gnu/lib/libsupc++/Makefile
@@ -1 +1,28 @@
# $FreeBSD$
+
+SRCDIR= ${.CURDIR}/../../../contrib/libstdc++-v3
+.PATH: ${SRCDIR} ${SRCDIR}/../../gcc
+
+LIB= stdc++
+SRCS= del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc \
+ eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc \
+ eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc \
+ new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc \
+ pure.cc tinfo.cc tinfo2.cc vec.cc
+
+# from libiberty:
+SRCS+= cp-demangle.c dyn-string.c
+
+CFLAGS+= -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
+CFLAGS+= -I${SRCDIR}/../../gcc
+CXXFLAGS+= -nostdinc++ \
+ -fno-implicit-templates -ffunction-sections -fdata-sections
+
+HDRS= exception new typeinfo cxxabi.h exception_defines.h
+
+beforeinstall:
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${HDRS:S;^;${SRCDIR}/;} \
+ ${DESTDIR}/usr/include/g++-v3
+
+.include <bsd.lib.mk>