diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-12-17 04:25:41 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-12-17 04:25:41 +0000 |
commit | 35f3edb408f1a2ea4179f5a296e05fdbd298312c (patch) | |
tree | 3c7beb2c18b9364fb6ae87d1c7eb04c3b7d93e42 /sys/arch | |
parent | 60173b18a8aac3824a32792d2c73e21c52593b8c (diff) |
Simply include the main libz Makefile instead of trying to roll our own.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/stand/libz/Makefile | 23 |
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} |