summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-18 00:47:21 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-18 00:47:21 +0000
commita9219881cc2767e7663e43c15f93b1ab1d08019d (patch)
treef780b0afed57419552aa43ed407efbcf6d19fb00
parent356dfc94edc41fd30e29c170f8e292585618617d (diff)
proper variable handling
i386,machine links
-rw-r--r--sys/arch/i386/stand/libz/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/libz/Makefile b/sys/arch/i386/stand/libz/Makefile
index a9c91273105..3fa492d3eaa 100644
--- a/sys/arch/i386/stand/libz/Makefile
+++ b/sys/arch/i386/stand/libz/Makefile
@@ -1,11 +1,18 @@
-# $OpenBSD: Makefile,v 1.5 1997/06/23 23:45:17 kstailey Exp $
+# $OpenBSD: Makefile,v 1.6 1997/07/18 00:47:20 mickey Exp $
# $NetBSD: Makefile,v 1.2 1997/01/22 01:36:30 cgd Exp $
-CFLAGS+=${SACFLAGS}
S=${.CURDIR}/../../../..
-SADIR=${.CURDIR}/..
ZDST=${.OBJDIR}
+SADIR=${.CURDIR}/..
.PATH: ${S}/lib/libz
+all: machine-links
+
+machine-links:
+ @rm -f machine i386
+ @ln -fs ${.CURDIR}/../.. i386
+ @ln -fs ${.CURDIR}/../../include machine
+
.include "${S}/lib/libz/Makefile"
+CFLAGS+=${SACFLAGS} -I${S}/lib/libsa