diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-12-17 04:23:38 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-12-17 04:23:38 +0000 |
commit | 60173b18a8aac3824a32792d2c73e21c52593b8c (patch) | |
tree | 177e42e73097b7e83309c51d98cbfd3849a9f24c | |
parent | 34c65243db322b743c2d4f82217c6eeba5da6e92 (diff) |
Simply include the main libz Makefile instead of trying to roll our own.
-rw-r--r-- | sys/arch/sparc64/stand/libz/Makefile | 30 |
1 files changed, 7 insertions, 23 deletions
diff --git a/sys/arch/sparc64/stand/libz/Makefile b/sys/arch/sparc64/stand/libz/Makefile index 3e7bd011676..96ba4870e7d 100644 --- a/sys/arch/sparc64/stand/libz/Makefile +++ b/sys/arch/sparc64/stand/libz/Makefile @@ -1,26 +1,10 @@ -# $OpenBSD: Makefile,v 1.3 2001/09/06 19:12:34 jason Exp $ +# $OpenBSD: Makefile,v 1.4 2003/12/17 04:23:37 millert Exp $ -LIB= z +S=${.CURDIR}/../../../.. +ZDST=${.OBJDIR} +SADIR=${.CURDIR}/.. -.PATH: ${.CURDIR}/../../../../lib/libz +.PATH: ${S}/lib/libz -CLEANFILES+= machine - -CFLAGS= -nostdinc ${CEXTRAFLAGS} ${AFLAGS} -O2 -D_ZLIB_PRIVATE -I${.CURDIR}/../../../.. -I${.CURDIR}/../../../../lib/libz -I${.CURDIR}/. - -SRCS= adler32.c crc32.c infblock.c infcodes.c inffast.c \ - inflate.c inftrees.c infutil.c - -${OBJS}: ${.CURDIR}/../Makefile.inc - -.if !make(libdep) && !make(sadep) && !make(salibdir) && !make(kernlibdir) && !make(obj) -.BEGIN: - @([ -h machine ] || ln -s ${.CURDIR}/../../include machine) -.endif - -install: - -NOPIC= -NOPROFILE= - -.include <bsd.lib.mk> +.include "${S}/lib/libz/Makefile" +CFLAGS+=${CEXTRAFLAGS} ${AFLAGS} ${SACFLAGS} -I${S}/lib/libsa ${DEBUGFLAGS} |