1 # $DragonFly: src/gnu/lib/gcc41/libobjc/Makefile,v 1.1 2008/06/30 12:16:03 hasso Exp $
4 .
include "../Makefile.inc"
5 .
include "${STOPDIR}/cc_tools/Makefile.tools"
7 .PATH
: ${GCCDIR}/libobjc
${GCCDIR}/libobjc
/objc
${GCCDIR}/gcc
9 CFLAGS
+= -I
${GCCDIR}/libobjc
/objc
-I.
-DIN_TARGET_LIBS
14 SRCS
= NXConstStr.m Object.m Protocol.m archive.c class.c encoding.c
15 SRCS
+= exception.c gc.c hash.c hash_compat.c init.c linking.m misc.c
16 SRCS
+= nil_method.c objects.c sarray.c selector.c sendmsg.c thr-objc.c
18 SRCS
+= insn-flags.h insn-constants.h runtime-info.h unwind.h
20 INCS
= NXConstStr.h Object.h Protocol.h encoding.h hash.h objc-api.h
21 INCS
+= objc-list.h objc.h runtime.h sarray.h thr.h typedstream.h
22 INCSDIR
= ${INCLUDEDIR}/objc
24 unwind.h
: unwind-generic.h
25 cp
${.ALLSRC
} ${.TARGET
}
30 echo
"" > tmp-runtime.m
31 echo
"/* This file is automatically generated */" > ${.TARGET
}
32 ${CC} -print-objc-runtime-info
-S tmp-runtime.m
>> ${.TARGET
}
33 rm -f tmp-runtime.m tmp-runtime.s