summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/stand/libz/Makefile23
1 files changed, 7 insertions, 16 deletions
diff --git a/sys/arch/sparc/stand/libz/Makefile b/sys/arch/sparc/stand/libz/Makefile
index ee5281bfc06..a2ca28b4c78 100644
--- a/sys/arch/sparc/stand/libz/Makefile
+++ b/sys/arch/sparc/stand/libz/Makefile
@@ -1,19 +1,10 @@
-# $OpenBSD: Makefile,v 1.1 1997/09/17 10:46:24 downsj Exp $
+# $OpenBSD: Makefile,v 1.2 2003/12/17 04:25:40 millert Exp $
-LIB= z
+S=${.CURDIR}/../../../..
+ZDST=${.OBJDIR}
+SADIR=${.CURDIR}/..
-.PATH: ${.CURDIR}/../../../../lib/libz
+.PATH: ${S}/lib/libz
-CFLAGS= -O2 -D_ZLIB_PRIVATE -I${.CURDIR}/../../../../lib/libz
-
-SRCS= adler32.c crc32.c infblock.c infcodes.c inffast.c \
- inflate.c inftrees.c infutil.c
-
-${OBJS}: ${.CURDIR}/../Makefile.inc
-
-install:
-
-NOPIC=
-NOPROFILE=
-
-.include <bsd.lib.mk>
+.include "${S}/lib/libz/Makefile"
+CFLAGS+=${SACFLAGS} -I${S}/lib/libsa ${DEBUGFLAGS}