3 .include "../Makefile.inc"
5 .PATH: ${GCCDIR}/libobjc
6 .PATH: ${GCCDIR}/libobjc/objc
8 .PATH: ${GCCDIR}/gcc/cp
9 .PATH: ${GCCDIR}/gcc/objc
10 .PATH: ${GCCDIR}/libgcc
12 CFLAGS+= -I${GCCDIR}/libcpp/include
13 CFLAGS+= -I${GCCDIR}/libgcc
15 CFLAGS+= -DIN_TARGET_LIBS
16 CFLAGS+= -DHAVE_CONFIG_H
18 CFLAGS+= -fno-strict-aliasing
23 THRLIB= ${.OBJDIR}/../../../../lib/libpthread/libpthread.so
27 # Objective-C source files to compile
35 # C source files to compile
57 SRCS= ${C_SOURCE_FILES}
58 SRCS+= ${OBJC_SOURCE_FILES}
59 SRCS+= unwind.h runtime-info.h gthr-default.h
61 unwind.h: unwind-generic.h
62 cp ${.ALLSRC} ${.TARGET}
64 gthr-default.h: gthr-posix.h
65 cp ${.ALLSRC} ${.TARGET}
68 echo "" > tmp-runtime.m
69 echo "/* This file is automatically generated */" > ${.TARGET}
70 ${CC} -print-objc-runtime-info -S tmp-runtime.m >> ${.TARGET}
71 rm -f tmp-runtime.m tmp-runtime.s
83 INCSDIR= /usr/libdata/gcc${GCCSHORTVER}/objc
85 CLEANFILES+= unwind.h runtime-info.h gthr-default.h