Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
[dragonfly.git] / gnu / lib / gcc34 / libobjc / Makefile
CommitLineData
f675e8b5 1# $DragonFly: src/gnu/lib/gcc34/libobjc/Makefile,v 1.4 2005/04/21 13:42:33 joerg Exp $
9c6a5411
JS
2
3GCC_NO_PATH= 1
4.include "../Makefile.inc"
5.include "${STOPDIR}/cc_tools/Makefile.tools"
6
7.PATH: ${GCCDIR}/libobjc ${GCCDIR}/libobjc/objc
8
f7dab7b0 9CFLAGS+= -I${GCCDIR}/libobjc/objc -I. -DIN_TARGET_LIBS
9c6a5411
JS
10
11LIB= objc
f675e8b5 12SHLIB_MAJOR= 2
9c6a5411
JS
13
14SRCS= NXConstStr.m Object.m Protocol.m archive.c class.c encoding.c
15SRCS+= gc.c hash.c init.c linking.m misc.c nil_method.c objects.c
16SRCS+= sarray.c selector.c sendmsg.c thr-objc.c thr.c
17SRCS+= insn-flags.h insn-constants.h runtime-info.h
18
19INCS= NXConstStr.h Object.h Protocol.h encoding.h hash.h objc-api.h
20INCS+= objc-list.h objc.h runtime.h sarray.h thr.h typedstream.h
21INCSDIR= ${INCLUDEDIR}/objc
22
23runtime-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>