diff options
Diffstat (limited to 'gnu/lib/libobjc')
| -rw-r--r-- | gnu/lib/libobjc/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
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 |
