[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libz

Annotation of src/lib/libz/Makefile, Revision 1.23

1.23    ! christos    1: #      $NetBSD: Makefile,v 1.22 2014/01/30 06:49:16 wiz Exp $
1.21      matt        2:
                      3: WARNS= 3
1.20      tls         4:
                      5: USE_FORT?= yes # data-driven bugs?
1.19      christos    6:
                      7: .include <bsd.own.mk>
1.1       gwr         8:
1.16      lukem       9: USE_SHLIBDIR=  yes
1.17      lukem      10:
1.19      christos   11: ZLIBDIR=${NETBSDSRCDIR}/common/dist/zlib
                     12: .PATH: ${ZLIBDIR}
1.17      lukem      13: LIB=           z
1.6       gwr        14:
1.23    ! christos   15: SRCS=  adler32.c compress.c crc32.c deflate.c infback.c inffast.c \
        !            16:        inflate.c inftrees.c trees.c uncompr.c zutil.c gzwrite.c \
        !            17:        gzlib.c gzread.c gzclose.c
1.18      wiz        18: MAN=   zlib.3
1.1       gwr        19:
1.19      christos   20: CPPFLAGS+=     -I${ZLIBDIR}
1.15      tv         21: CLEANFILES+=   minigzip
1.1       gwr        22:
1.15      tv         23: INCS=          zconf.h zlib.h
                     24: INCSDIR=       /usr/include
1.1       gwr        25:
1.22      wiz        26: FILES+=                        zlib.pc
                     27: FILESOWN_zlib.pc=      ${BINOWN}
                     28: FILESGRP_zlib.pc=      ${BINGRP}
                     29: FILESMODE_zlib.pc=     ${NONBINMODE}
                     30: FILESDIR_zlib.pc=      /usr/lib/pkgconfig
                     31:
1.1       gwr        32: .include <bsd.lib.mk>
                     33:
                     34: test: minigzip
                     35:        echo hello world | ./minigzip | ./minigzip -d
                     36:
                     37: # Note: CFLAGS ommitted by intention!
                     38: # This is to verify that zlib.h works standalone.
1.23    ! christos   39: minigzip: ${ZLIBDIR}/test/minigzip.c libz.a
        !            40:        ${CC} -o minigzip ${ZLIBDIR}/test/minigzip.c libz.a

CVSweb <webmaster@jp.NetBSD.org>