Merge from vendor branch GDB:
[dragonfly.git] / gnu / lib / gcc34 / libobjc / Makefile
1 # $DragonFly: src/gnu/lib/gcc34/libobjc/Makefile,v 1.4 2005/04/21 13:42:33 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. -DIN_TARGET_LIBS
10
11 LIB=            objc
12 SHLIB_MAJOR=    2
13
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
18
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
22
23 runtime-info.h: 
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
28
29 .include <bsd.lib.mk>