diff options
Diffstat (limited to 'gnu/lib/libobjc/Makefile')
-rw-r--r-- | gnu/lib/libobjc/Makefile | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile index 7822c6e..385602d 100644 --- a/gnu/lib/libobjc/Makefile +++ b/gnu/lib/libobjc/Makefile @@ -1,7 +1,7 @@ # Makefile for libobjc -# $Id: Makefile,v 1.3 1997/02/22 15:43:02 peter Exp $ +# $Id: Makefile,v 1.6 1999/03/17 00:10:22 obrien Exp $ -GCCDIR= ${.CURDIR}/../../../contrib/gcc +GCCDIR= ${.CURDIR}/../../../contrib/egcs/gcc .PATH: ${GCCDIR}/objc @@ -9,12 +9,13 @@ LIB= objc NOMAN= sorry NOPIC= works but method lookup slowdown is significant -SRCS= archive.c class.c encoding.c hash.c init.c misc.c \ +SRCS= my_archive.c class.c encoding.c hash.c init.c misc.c nil_method.c \ my_objects.c sarray.c selector.c my_sendmsg.c \ - NXConstStr.m Object.m Protocol.m + thr.c thr-single.c \ + NXConstStr.m Object.m Protocol.m linking.m -HDRS= encoding.h hash.h list.h objc-api.h objc.h sarray.h typedstream.h \ - NXConstStr.h Object.h Protocol.h +HDRS= encoding.h hash.h objc-act.h objc-api.h objc-list.h objc.h runtime.h \ + sarray.h thr.h typedstream.h NXConstStr.h Object.h Protocol.h CFLAGS+= -I${GCCDIR}/objc -I${GCCDIR} @@ -25,9 +26,16 @@ beforeinstall: my_objects.c: objects.c sed -e '/\.\.\/tconfig.h/d' < ${GCCDIR}/objc/objects.c > my_objects.c -my_sendmsg.c: sendmsg.c +my_sendmsg.c: sendmsg.c runtime-info.h sed -e '/\.\.\/tconfig.h/d' < ${GCCDIR}/objc/sendmsg.c > my_sendmsg.c -CLEANFILES+= my_objects.c my_sendmsg.c +my_archive.c: archive.c + sed -e '/config.h/d' < ${GCCDIR}/objc/archive.c > my_archive.c + +runtime-info.h: + `${CC} --print-prog-name=cc1obj` -print-objc-runtime-info /dev/null \ + >${.TARGET} + +CLEANFILES+= my_objects.c my_sendmsg.c my_archive.c runtime-info.h .include <bsd.lib.mk> |