diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-12-17 04:28:49 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-12-17 04:28:49 +0000 |
commit | fae01b2d4d08b4e289bc69f703854854cd9d8803 (patch) | |
tree | 4ef959d9dccee8672ee05d5cfd113245e613f381 /sys | |
parent | 35f3edb408f1a2ea4179f5a296e05fdbd298312c (diff) |
Simply include the main libz Makefile instead of trying to roll our own.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hp300/stand/libz/Makefile | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/sys/arch/hp300/stand/libz/Makefile b/sys/arch/hp300/stand/libz/Makefile index 07228eb7e2d..7ef558d9076 100644 --- a/sys/arch/hp300/stand/libz/Makefile +++ b/sys/arch/hp300/stand/libz/Makefile @@ -1,19 +1,10 @@ -# $OpenBSD: Makefile,v 1.1 1997/07/14 08:14:51 downsj Exp $ +# $OpenBSD: Makefile,v 1.2 2003/12/17 04:28:48 millert Exp $ -LIB= z +S=${.CURDIR}/../../../.. +ZDST=${.OBJDIR} +SADIR=${.CURDIR}/.. -.PATH: ${.CURDIR}/../../../../lib/libz +.PATH: ${S}/lib/libz -CFLAGS= -O2 -msoft-float -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+=-msoft-float ${SACFLAGS} -I${S}/lib/libsa ${DEBUGFLAGS} |