Restore build parallelism
[dragonfly.git] / gnu / lib / gcc44 / libobjc / Makefile
CommitLineData
cdefb602
SS
1.include "../Makefile.inc"
2
3.PATH: ${GCCDIR}/libobjc ${GCCDIR}/libobjc/objc ${GCCDIR}/gcc
4
5CFLAGS+= -I${GCCDIR}/libobjc/objc -I. -DIN_TARGET_LIBS
6
7LIB= objc
8SHLIB_MAJOR= 2
9
6ce13a1e 10CSTD?= gnu89
cdefb602
SS
11
12OBJC_THREAD_FILE=thr-objc
13SRCS= \
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
18
19INCS= \
20 hash.h objc-list.h sarray.h objc.h objc-api.h \
21 NXConstStr.h Object.h Protocol.h encoding.h typedstream.h \
22 thr.h objc-decls.h
1a9b0400 23INCSDIR= /usr/libdata/gcc${GCCSHORTVER}/objc
cdefb602
SS
24
25
26SRCS+= unwind.h runtime-info.h
27
28unwind.h: unwind-generic.h
29 cp ${.ALLSRC} ${.TARGET}
30
31runtime-info.h:
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
36
37CLEANFILES+= unwind.h runtime-info.h
38
39.include <bsd.lib.mk>