summaryrefslogtreecommitdiff
path: root/usr.bin/strip/Makefile
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-03-31 21:22:07 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-03-31 21:22:07 +0000
commit778c2f82d95aa26bd930ada16d267cbe2939391a (patch)
tree077a4a8b6760a5270e1a7013c1b206668f5e7175 /usr.bin/strip/Makefile
parent2ae14f9f64a68315fc45e45c5e840fa73b0b1d8e (diff)
allow cross-compiling for m68k and better usage(); miod@ ok
Diffstat (limited to 'usr.bin/strip/Makefile')
-rw-r--r--usr.bin/strip/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/strip/Makefile b/usr.bin/strip/Makefile
index eb872e62d1f..39e4f52864d 100644
--- a/usr.bin/strip/Makefile
+++ b/usr.bin/strip/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2000/02/05 08:43:17 niklas Exp $
+# $OpenBSD: Makefile,v 1.10 2004/03/31 21:22:06 mickey Exp $
TARGET_MACHINE_ARCH?= ${MACHINE_ARCH}
@@ -11,6 +11,9 @@ CFLAGS+=-I${.CURDIR}/../nm
CFLAGS+= -DMID_MACHINE_OVERRIDE=MID_I386
.elif ${TARGET_MACHINE_ARCH} == "m68k"
CFLAGS+= -DMID_MACHINE_OVERRIDE=MID_M68K
+CPPFLAGS+=-I.
+beforedepend:
+ ln -sf ${.CURDIR}/../../sys/arch/m68k/include m68k
.elif ${TARGET_MACHINE_ARCH} == "ns32k"
CFLAGS+= -DMID_MACHINE_OVERRIDE=MID_NS32K
.elif ${TARGET_MACHINE_ARCH} == "sparc"