Merge from vendor branch GCC:
[dragonfly.git] / gnu / lib / gcc34 / libobjc / Makefile
1 # $DragonFly: src/gnu/lib/gcc34/libobjc/Makefile,v 1.1 2004/06/14 22:27:52 joerg Exp $
2
3 GCC_NO_PATH=    1
4 .include "../Makefile.inc"
5 .include "${STOPDIR}/cc_tools/Makefile.tools"
6
7 .PATH:          ${GCCDIR}/libobjc ${GCCDIR}/libobjc/objc
8
9 CFLAGS+=        -I${GCCDIR}/libobjc/objc -I.
10
11 LIB=            objc
12
13 SRCS=           NXConstStr.m Object.m Protocol.m archive.c class.c encoding.c
14 SRCS+=          gc.c hash.c init.c linking.m misc.c nil_method.c objects.c
15 SRCS+=          sarray.c selector.c sendmsg.c thr-objc.c thr.c
16 SRCS+=          insn-flags.h insn-constants.h runtime-info.h
17
18 INCS=           NXConstStr.h Object.h Protocol.h encoding.h hash.h objc-api.h
19 INCS+=          objc-list.h objc.h runtime.h sarray.h thr.h typedstream.h
20 INCSDIR=        ${INCLUDEDIR}/objc
21
22 runtime-info.h: 
23         echo "" > tmp-runtime.m
24         echo "/* This file is automatically generated */" > ${.TARGET}
25         ${CC} -print-objc-runtime-info -S tmp-runtime.m >> ${.TARGET}
26         rm -f tmp-runtime.m tmp-runtime.s
27
28 .include <bsd.lib.mk>