summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libobjc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-04-04 16:36:35 +0000
committerobrien <obrien@FreeBSD.org>1999-04-04 16:36:35 +0000
commit582be693c18cc73c5164f078f25e58e6b8d4294b (patch)
treec6b240bff3cb24de2473023aa283cea9dcfed0d3 /gnu/lib/libobjc
parent218eb1e241e52da84b346bdc3fbe753278fdef2b (diff)
downloadFreeBSD-src-582be693c18cc73c5164f078f25e58e6b8d4294b.zip
FreeBSD-src-582be693c18cc73c5164f078f25e58e6b8d4294b.tar.gz
Minimum set of changes to switch from Gcc 2.7.2 (in contrib/gcc) to Egcs 1.1.2
(in contrib/egcs)
Diffstat (limited to 'gnu/lib/libobjc')
-rw-r--r--gnu/lib/libobjc/Makefile24
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>
OpenPOWER on IntegriCloud