From 7ccfa38c7a91ab0ee00d89f7ea52886e8c8dbb62 Mon Sep 17 00:00:00 2001 From: drochner Date: Wed, 24 Feb 1999 17:18:26 +0000 Subject: make this build after mips->mipse? transition --- gnu/lib/libobjc/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'gnu/lib/libobjc') diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile index d5004b3a9b5..669cb06abad 100644 --- a/gnu/lib/libobjc/Makefile +++ b/gnu/lib/libobjc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 1999/02/13 02:54:23 lukem Exp $ +# $NetBSD: Makefile,v 1.6 1999/02/24 17:18:26 drochner Exp $ HAVE_GCC28!= ${CXX} --version | egrep "^(2\.8|egcs)" ; echo @@ -15,7 +15,13 @@ INCS= hash.h objc-list.h sarray.h objc.h objc-api.h NXConstStr.h \ Object.h Protocol.h encoding.h typedstream.h thr.h INCSDIR= /usr/include/objc -CPPFLAGS+= -I. -I${ARCH}/${MACHINE_ARCH} -I${ARCH} \ +.if (${MACHINE_ARCH} == "mipsel") || (${MACHINE_ARCH} == "mipseb") +ARCHSUBDIR= mips +.else +ARCHSUBDIR= ${MACHINE_ARCH} +.endif + +CPPFLAGS+= -I. -I${ARCH}/${ARCHSUBDIR} -I${ARCH} \ -I${DIST}/config -I${DIST} MKLINT= no -- cgit