1 # $DragonFly: src/gnu/lib/gcc34/libobjc/Makefile,v 1.4 2005/04/21 13:42:33 joerg Exp $
4 .include "../Makefile.inc"
5 .include "${STOPDIR}/cc_tools/Makefile.tools"
7 .PATH: ${GCCDIR}/libobjc ${GCCDIR}/libobjc/objc
9 CFLAGS+= -I${GCCDIR}/libobjc/objc -I. -DIN_TARGET_LIBS
14 SRCS= NXConstStr.m Object.m Protocol.m archive.c class.c encoding.c
15 SRCS+= gc.c hash.c init.c linking.m misc.c nil_method.c objects.c
16 SRCS+= sarray.c selector.c sendmsg.c thr-objc.c thr.c
17 SRCS+= insn-flags.h insn-constants.h runtime-info.h
19 INCS= NXConstStr.h Object.h Protocol.h encoding.h hash.h objc-api.h
20 INCS+= objc-list.h objc.h runtime.h sarray.h thr.h typedstream.h
21 INCSDIR= ${INCLUDEDIR}/objc
24 echo "" > tmp-runtime.m
25 echo "/* This file is automatically generated */" > ${.TARGET}
26 ${CC} -print-objc-runtime-info -S tmp-runtime.m >> ${.TARGET}
27 rm -f tmp-runtime.m tmp-runtime.s