diff options
-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} |