RIP GNU patch.
[dragonfly.git] / gnu / lib / gcc3 / libsupc++ / Makefile
1 # $FreeBSD: src/gnu/lib/libsupc++/Makefile,v 1.5 2003/07/11 05:37:22 kan Exp $
2 # $DragonFly: src/gnu/lib/gcc3/libsupc++/Attic/Makefile,v 1.2 2004/02/02 23:35:09 dillon Exp $
3
4 .include "../Makefile.inc"
5
6 SRCDIR= ${GCCDIR}/libstdc++-v3/libsupc++
7
8 .PATH: ${SRCDIR} ${GCCDIR}/gcc ${GCCDIR}/libiberty
9
10 # Static only.
11 LIB=    supc++
12 SRCS=   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:
19 SRCS+=  cp-demangle.c dyn-string.c
20 CFLAGS+=        -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
21 CFLAGS+=        -I${SRCDIR} -I${.CURDIR}/../libstdc++
22 CFLAGS+=        -I${GCCDIR}/gcc -I${GCCDIR}/include
23 CXXFLAGS+=      -fno-implicit-templates -ffunction-sections -fdata-sections
24
25 HDRS=   exception new typeinfo cxxabi.h exception_defines.h
26 INCS=   ${HDRS:S;^;${SRCDIR}/;}
27 INCSDIR=${INCLUDEDIR}/c++/3.3
28
29 .include <bsd.lib.mk>