summaryrefslogtreecommitdiff
path: root/gnu/lib/libg2c
diff options
context:
space:
mode:
authordrochner <drochner@NetBSD.org>1999-02-24 17:18:26 +0000
committerdrochner <drochner@NetBSD.org>1999-02-24 17:18:26 +0000
commit7ccfa38c7a91ab0ee00d89f7ea52886e8c8dbb62 (patch)
tree7efefa9e183c31adc7f5fff9761f732cbdbbfb69 /gnu/lib/libg2c
parent536eb455f46fb4214c758566fa1586e31db92442 (diff)
make this build after mips->mipse? transition
Diffstat (limited to 'gnu/lib/libg2c')
-rw-r--r--gnu/lib/libg2c/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/lib/libg2c/Makefile b/gnu/lib/libg2c/Makefile
index b4157b61a22..e8273f08a59 100644
--- a/gnu/lib/libg2c/Makefile
+++ b/gnu/lib/libg2c/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 $
LIB= g2c
@@ -64,7 +64,13 @@ DPSRCS+= g2c.h
MKLINT= no
-CPPFLAGS+= -I. -I${.CURDIR} -I${ARCH} -I${ARCH}/${MACHINE_ARCH} \
+.if (${MACHINE_ARCH} == "mipsel") || (${MACHINE_ARCH} == "mipseb")
+ARCHSUBDIR= mips
+.else
+ARCHSUBDIR= ${MACHINE_ARCH}
+.endif
+
+CPPFLAGS+= -I. -I${.CURDIR} -I${ARCH} -I${ARCH}/${ARCHSUBDIR} \
-I${DIST}/libf2c -I${DIST}/libf2c/libF77 \
-I${DIST}/libf2c/libI77 -I${DIST}/libf2c/libU77 \
-I${DIST}/gcc/config -I${DIST}/gcc/f -I${DIST}/gcc \