gcc4X: rework some makefiles
[dragonfly.git] / gnu / lib / gcc47 / libgcc_eh / Makefile
CommitLineData
b450dd39
JM
1.include "../Makefile.inc"
2.PATH: ${GCCDIR}/libgcc
3.PATH: ${GCCDIR}/libgcc/config/i386
4
5LIB= gcc_eh
6
7CFLAGS+= -I${.CURDIR}
8CFLAGS+= -I${.OBJDIR}
9CFLAGS+= -I${GCCDIR}/libgcc
10CFLAGS+= -I../csu
11CFLAGS+= -fbuilding-libgcc
12CFLAGS+= -fno-stack-protector
13CFLAGS+= -fexceptions
14CFLAGS+= -fvisibility=hidden
15CFLAGS+= -DIN_GCC
16CFLAGS+= -DIN_LIBGCC2
17CFLAGS+= -DHAVE_CC_TLS
18CFLAGS+= -DHIDE_EXPORTS
19
20# LIB2ADDEH, gcc/Makefile
21SRCS+= unwind-dw2.c \
22 unwind-dw2-fde-dip.c \
23 unwind-sjlj.c \
24 unwind-c.c \
25 emutls.c
26
27#generated sources
28SRCS+= unwind.h md-unwind-support.h gthr-default.h
29
30unwind.h: unwind-generic.h
31 cp ${.ALLSRC} ${.TARGET}
32
33md-unwind-support.h: dragonfly-unwind.h
34 cp ${.ALLSRC} ${.TARGET}
35
36gthr-default.h: gthr-posix.h
37 cp ${.ALLSRC} ${.TARGET}
38
39CLEANFILES+= unwind.h md-unwind-support.h gthr-default.h
40
b450dd39 41.include <bsd.lib.mk>