summaryrefslogtreecommitdiff
path: root/gnu/lib/libobjc
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>1998-08-18 14:02:35 +0000
committertv <tv@NetBSD.org>1998-08-18 14:02:35 +0000
commitee336ece9415f9675faffcab82a9a5532e2510ae (patch)
treec0aa647f03072dbc17570100c45b7c42f4b0bafc /gnu/lib/libobjc
parent3eb68c7948efec6a7a669a750ebbd2efc90e731e (diff)
Add libobjc as a separate component of egcs. Now also has a shared
library (rather minimally sized).
Diffstat (limited to 'gnu/lib/libobjc')
-rw-r--r--gnu/lib/libobjc/Makefile27
-rw-r--r--gnu/lib/libobjc/shlib_version2
2 files changed, 29 insertions, 0 deletions
diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile
new file mode 100644
index 00000000000..de7bb59751e
--- /dev/null
+++ b/gnu/lib/libobjc/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 1998/08/18 14:02:35 tv Exp $
+
+LIB= objc
+SRCS= hash.c sarray.c class.c sendmsg.c init.c archive.c \
+ encoding.c selector.c objects.c misc.c NXConstStr.m \
+ Object.m Protocol.m nil_method.c thr.c linking.m \
+ thr-single.c
+DPSRCS+= runtime-info.h
+
+CPPFLAGS+= -I. -I${ARCH}/${MACHINE_ARCH} -I${ARCH} \
+ -I${DIST}/config -I${DIST}
+
+NOLINT= nolint (Objective-C)
+
+DIST= ${.CURDIR}/../../dist/gcc
+ARCH= ${.CURDIR}/../../usr.bin/egcs/arch
+
+CLEANFILES+= rtscratch rtscratch.s
+runtime-info.h:
+ @touch rtscratch
+ `${CC} --print-prog-name=cc1obj` -print-objc-runtime-info rtscratch >$@
+
+sendmsg.o: runtime-info.h
+
+.PATH: ${DIST}/objc
+
+.include <bsd.lib.mk>
diff --git a/gnu/lib/libobjc/shlib_version b/gnu/lib/libobjc/shlib_version
new file mode 100644
index 00000000000..97c9f92d6b8
--- /dev/null
+++ b/gnu/lib/libobjc/shlib_version
@@ -0,0 +1,2 @@
+major=0
+minor=0