39a547153ccd813708f6800be4676085ac52d2dd
[dragonfly.git] / gnu / lib / gcc41 / libsupc++ / Makefile
1 # $DragonFly: src/gnu/lib/gcc41/libsupc++/Makefile,v 1.1 2006/09/27 12:10:33 corecode Exp $
2
3 .include "../Makefile.inc"
4
5 .PATH: ${GCCDIR}/libstdc++-v3/libsupc++
6
7 CFLAGS+=        -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
8 CXXFLAGS+=      -fno-implicit-templates -ffunction-sections -fdata-sections
9 CXXFLAGS+=      -I${GCCDIR}/libstdc++-v3/libsupc++ 
10 CXXFLAGS+=      -I${GCCDIR}/libstdc++-v3/include/c_std
11 CXXFLAGS+=      -I${STOPDIR}/cc_prep/c++ -I.
12
13 INCS=           exception new typeinfo cxxabi.h exception_defines.h
14 INCSDIR=        ${INCLUDEDIR}/c++/4.1
15
16 LIB=            supc++
17
18 SRCS=   \
19         del_op.cc \
20         del_opnt.cc \
21         del_opv.cc \
22         del_opvnt.cc \
23         eh_alloc.cc \
24         eh_arm.cc \
25         eh_aux_runtime.cc \
26         eh_call.cc \
27         eh_catch.cc \
28         eh_exception.cc \
29         eh_globals.cc \
30         eh_personality.cc \
31         eh_term_handler.cc \
32         eh_terminate.cc \
33         eh_throw.cc \
34         eh_type.cc \
35         eh_unex_handler.cc \
36         guard.cc \
37         new_handler.cc \
38         new_op.cc \
39         new_opnt.cc \
40         new_opv.cc \
41         new_opvnt.cc \
42         pure.cc \
43         tinfo.cc \
44         tinfo2.cc \
45         vec.cc \
46         vterminate.cc
47
48 # from libiberty
49 SRCS+=  cp-demangle.c
50
51 SRCS+=  unwind.h
52
53 unwind.h: unwind-generic.h
54         cp ${.ALLSRC} ${.TARGET}
55
56 CLEANFILES+=    unwind.h
57
58 .PATH: ${GCCDIR}/libiberty
59
60 .include <bsd.lib.mk>