freebsd-dev/gnu/lib/libobjc/Makefile
1998-09-09 10:21:12 +00:00

34 lines
895 B
Makefile

# Makefile for libobjc
# $Id: Makefile,v 1.3 1997/02/22 15:43:02 peter Exp $
GCCDIR= ${.CURDIR}/../../../contrib/gcc
.PATH: ${GCCDIR}/objc
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 \
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>