NetBSD/distrib/utils/zcat/Makefile

26 lines
581 B
Makefile
Raw Normal View History

1997-05-14 03:14:11 +04:00
# $NetBSD: Makefile,v 1.4 1997/05/13 23:14:11 gwr Exp $
# Small zcat (i.e. for install media)
#
# Note: gzio.c is compiled here so that crunchgen will assume
# the same symbol space for zcat.c and gzio.c which is required
# so that the fake deflate functions in zcat.c will satisfy the
# references to those functions in gzio.c (yes, it's a hack).
PROG= zcat
NOMAN=
SRCS= zcat.c gzio.c
SRCDIR= ${.CURDIR}/../../../lib/libz
1997-05-14 03:14:11 +04:00
CFLAGS+= -I${SRCDIR}
1997-03-25 01:15:37 +03:00
DPADD+= ${LIBZ}
LDADD+= -lz
all: ${PROG}
.include <bsd.prog.mk>
.PATH: ${SRCDIR}
test: zcat
echo 'hello, hello!' | gzip | ./zcat