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