Home | History | Annotate | Line # | Download | only in libz
      1  1.24       rin #	$NetBSD: Makefile,v 1.24 2023/10/07 12:15:54 rin Exp $
      2   1.1       cgd 
      3   1.1       cgd LIB=	z
      4  1.18       mrg LIBISPRIVATE=	yes
      5   1.1       cgd 
      6  1.14  christos ZDISTDIR:=${.PARSEDIR}/../../../common/dist/zlib
      7  1.10  drochner 
      8  1.15     isaki CPPFLAGS+=	-I${ZDISTDIR} ${ZCPPFLAGS} ${ZMISCCPPFLAGS}
      9  1.14  christos 
     10  1.14  christos .PATH.c: ${ZDISTDIR} ${.PARSEDIR}
     11   1.1       cgd 
     12   1.1       cgd # files to be copied down from libz.
     13  1.16       tls LIBZSRCS= adler32.c compress.c deflate.c infback.c inffast.c \
     14  1.14  christos 	inflate.c inftrees.c trees.c uncompr.c
     15  1.16       tls LIBZHDRS= deflate.h inffast.h inffixed.h inflate.h inftrees.h \
     16  1.14  christos 	trees.h zconf.h zlib.h
     17   1.1       cgd 
     18   1.1       cgd # Other stuff
     19   1.8    simonb SRCS=	${LIBZSRCS} zalloc.c
     20   1.1       cgd 
     21   1.1       cgd # Files to clean up
     22   1.1       cgd CLEANFILES+= lib${LIB}.o
     23   1.6       cjs 
     24  1.11        tv .undef DESTDIR
     25   1.1       cgd .include <bsd.lib.mk>
     26   1.1       cgd 
     27  1.23  christos lib${LIB}.o:: ${OBJS:O} __buildstdlib
     28