1 .include "../Makefile.inc"
2 .include "../libgcc/Makefile.src"
3 .PATH: ${GCCDIR}/libgcc
4 .PATH: ${GCCDIR}/libgcc/soft-fp
5 .PATH: ${GCCDIR}/libgcc/config/i386
9 INSTALL_PIC_ARCHIVE= yes
15 CFLAGS+= -I${GCCDIR}/libgcc
20 CFLAGS+= -DHAVE_CC_TLS
21 CFLAGS+= -fbuilding-libgcc
22 CFLAGS+= -fno-stack-protector
23 CFLAGS+= -nodefaultlibs
25 # FUNCS and SOFTFUNCS defined in Makefile.src
26 SRCS+= ${FUNCS:S/$/.c/} ${SOFTFUNCS:S/$/.c/}
27 CLEANFILES+= ${FUNCS:S/$/.c/}
29 # LIB2ADDEH, gcc/Makefile
31 unwind-dw2-fde-dip.c \
37 SRCS+= unwind.h gthr-default.h sfp-machine.h md-unwind-support.h
39 unwind.h: unwind-generic.h
40 cp ${.ALLSRC} ${.TARGET}
42 gthr-default.h: gthr-posix.h
43 cp ${.ALLSRC} ${.TARGET}
45 md-unwind-support.h: dragonfly-unwind.h
46 cp ${.ALLSRC} ${.TARGET}
48 sfp-machine.h: ${GCCDIR}/libgcc/config/i386/sfp-machine.h
49 cp ${.ALLSRC} ${.TARGET}
51 enable-execute-stack.c: enable-execute-stack-freebsd.c
52 cp ${.ALLSRC} ${.TARGET}
54 CLEANFILES+= unwind.h gthr-default.h sfp-machine.h md-unwind-support.h \
55 enable-execute-stack.c