summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libobjc
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-09-19 16:19:49 +0000
committerpeter <peter@FreeBSD.org>1996-09-19 16:19:49 +0000
commite9bf0f92ea236fe826b8c92c442f1aa638bb94c7 (patch)
tree72c9da98759c6efceac2bc61bb2a468e5357e3ea /gnu/lib/libobjc
parent091fc15006d29ea89428d3a2e70f88036e5e8384 (diff)
downloadFreeBSD-src-e9bf0f92ea236fe826b8c92c442f1aa638bb94c7.zip
FreeBSD-src-e9bf0f92ea236fe826b8c92c442f1aa638bb94c7.tar.gz
Add libobjc, the Objective-C runtime library.
Diffstat (limited to 'gnu/lib/libobjc')
-rw-r--r--gnu/lib/libobjc/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile
new file mode 100644
index 0000000..2083d23
--- /dev/null
+++ b/gnu/lib/libobjc/Makefile
@@ -0,0 +1,33 @@
+# Makefile for libobjc
+# $Id$
+
+GCCDIR= ${.CURDIR}/../../../contrib/gcc
+
+.PATH: ${GCCDIR}/objc
+
+LIB= objc
+NOMAN= sorry
+NOPIC= does not work
+
+SRCS= archive.c class.c encoding.c hash.c init.c misc.c \
+ my_objects.c sarray.c selector.c my_sendmsg.c \
+ NXConstStr.m Object.m Protocol.m
+
+HDRS= encoding.h hash.h list.h objc-api.h objc.h sarray.h typedstream.h \
+ NXConstStr.h Object.h Protocol.h
+
+CFLAGS+= -I${GCCDIR}/objc -I${GCCDIR}
+
+beforeinstall:
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${HDRS:S;^;${GCCDIR}/objc/;} ${DESTDIR}/usr/include/objc
+
+my_objects.c: objects.c
+ sed -e '/\.\.\/tconfig.h/d' < ${GCCDIR}/objc/objects.c > my_objects.c
+
+my_sendmsg.c: sendmsg.c
+ sed -e '/\.\.\/tconfig.h/d' < ${GCCDIR}/objc/sendmsg.c > my_sendmsg.c
+
+CLEANFILES+= my_objects.c my_sendmsg.c
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud