UPROTO_BOOT_KEYBOARD is already defined in usb.h as UIPROTO_BOOT_KEYBOARD
[dragonfly.git] / gnu / lib / gcc44 / libobjc / Makefile
1 .include "../Makefile.inc"
2
3 .PATH:  ${GCCDIR}/libobjc ${GCCDIR}/libobjc/objc ${GCCDIR}/gcc
4
5 CFLAGS+=        -I${GCCDIR}/libobjc/objc -I. -DIN_TARGET_LIBS
6
7 LIB=            objc
8 SHLIB_MAJOR=    2
9
10
11 OBJC_THREAD_FILE=thr-objc
12 SRCS= \
13           archive.c class.c encoding.c gc.c hash.c init.c linking.m \
14           misc.c nil_method.c NXConstStr.m Object.m objects.c \
15           Protocol.m sarray.c selector.c sendmsg.c thr.c \
16           $(OBJC_THREAD_FILE).c exception.c
17
18 INCS= \
19          hash.h objc-list.h sarray.h objc.h objc-api.h \
20          NXConstStr.h Object.h Protocol.h encoding.h typedstream.h \
21          thr.h objc-decls.h
22 INCSDIR=        ${INCLUDEDIR}/objc
23
24
25 SRCS+=  unwind.h runtime-info.h
26
27 unwind.h: unwind-generic.h
28         cp ${.ALLSRC} ${.TARGET}
29
30 runtime-info.h: 
31         echo "" > tmp-runtime.m
32         echo "/* This file is automatically generated */" > ${.TARGET}
33         ${CC} -print-objc-runtime-info -S tmp-runtime.m >> ${.TARGET}
34         rm -f tmp-runtime.m tmp-runtime.s
35
36 CLEANFILES+=    unwind.h runtime-info.h
37
38 .include <bsd.lib.mk>