RIP GNU patch.
[dragonfly.git] / gnu / lib / gcc3 / libsupc++ / Makefile
CommitLineData
6fecd16f 1# $FreeBSD: src/gnu/lib/libsupc++/Makefile,v 1.5 2003/07/11 05:37:22 kan Exp $
7db62ea6 2# $DragonFly: src/gnu/lib/gcc3/libsupc++/Attic/Makefile,v 1.2 2004/02/02 23:35:09 dillon Exp $
6fecd16f 3
7db62ea6 4.include "../Makefile.inc"
6fecd16f 5
7db62ea6
MD
6SRCDIR= ${GCCDIR}/libstdc++-v3/libsupc++
7
8.PATH: ${SRCDIR} ${GCCDIR}/gcc ${GCCDIR}/libiberty
6fecd16f
JS
9
10# Static only.
11LIB= supc++
12SRCS= del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc \
13 eh_alloc.cc eh_aux_runtime.cc eh_catch.cc eh_exception.cc \
14 eh_globals.cc eh_personality.cc eh_terminate.cc eh_throw.cc eh_type.cc \
15 guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc \
16 pure.cc tinfo.cc tinfo2.cc vec.cc
17
18# from libiberty:
19SRCS+= cp-demangle.c dyn-string.c
6fecd16f 20CFLAGS+= -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
7db62ea6
MD
21CFLAGS+= -I${SRCDIR} -I${.CURDIR}/../libstdc++
22CFLAGS+= -I${GCCDIR}/gcc -I${GCCDIR}/include
6fecd16f
JS
23CXXFLAGS+= -fno-implicit-templates -ffunction-sections -fdata-sections
24
25HDRS= exception new typeinfo cxxabi.h exception_defines.h
26INCS= ${HDRS:S;^;${SRCDIR}/;}
27INCSDIR=${INCLUDEDIR}/c++/3.3
28
29.include <bsd.lib.mk>