Add libobjc, the Objective-C runtime library.

This commit is contained in:
peter 1996-09-19 16:19:49 +00:00
parent 091fc15006
commit e9bf0f92ea
2 changed files with 35 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# $Id: Makefile,v 1.10 1995/11/13 19:12:10 markm Exp $
# $Id: Makefile,v 1.11 1996/02/11 18:16:11 phk Exp $
SUBDIR= libdialog libg++ libgmp libmp libregex libreadline
SUBDIR= libdialog libg++ libgmp libmp libobjc libregex libreadline
.include <bsd.subdir.mk>

33
gnu/lib/libobjc/Makefile Normal file
View File

@ -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>