NetBSD/gnu/lib/libobjc/Makefile

28 lines
704 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.2 1998/08/18 17:38:38 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
`${OBJC} --print-prog-name=cc1obj` -print-objc-runtime-info rtscratch >$@
sendmsg.o sendmsg.so sendmsg.po: runtime-info.h
.PATH: ${DIST}/objc
.include <bsd.lib.mk>