summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libz/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/stand/libz/Makefile')
-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