1 .include "../Makefile.inc"
3 .PATH: ${GCCDIR}/libobjc ${GCCDIR}/libobjc/objc ${GCCDIR}/gcc
5 CFLAGS+= -I${GCCDIR}/libobjc/objc -I. -DIN_TARGET_LIBS
11 OBJC_THREAD_FILE=thr-objc
13 archive.c class.c encoding.c gc.c hash.c init.c linking.m \
14 misc.c nil_method.c NXConstStr.m Object.m objects.c \
15 Protocol.m sarray.c selector.c sendmsg.c thr.c \
16 $(OBJC_THREAD_FILE).c exception.c
19 hash.h objc-list.h sarray.h objc.h objc-api.h \
20 NXConstStr.h Object.h Protocol.h encoding.h typedstream.h \
22 INCSDIR= ${INCLUDEDIR}/objc
25 SRCS+= unwind.h runtime-info.h
27 unwind.h: unwind-generic.h
28 cp ${.ALLSRC} ${.TARGET}
31 echo "" > tmp-runtime.m
32 echo "/* This file is automatically generated */" > ${.TARGET}
33 ${CC} -print-objc-runtime-info -S tmp-runtime.m >> ${.TARGET}
34 rm -f tmp-runtime.m tmp-runtime.s
36 CLEANFILES+= unwind.h runtime-info.h