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