1# $OpenBSD: Makefile,v 1.21 2007/05/20 00:27:27 jsg Exp $ 2 3PROG= compress 4SRCS= main.c zopen.c gzopen.c nullopen.c 5MAN= compress.1 gzexe.1 gzip.1 zdiff.1 zforce.1 zmore.1 znew.1 6LINKS= ${BINDIR}/compress ${BINDIR}/uncompress \ 7 ${BINDIR}/compress ${BINDIR}/zcat \ 8 ${BINDIR}/compress ${BINDIR}/gzip \ 9 ${BINDIR}/compress ${BINDIR}/gunzip \ 10 ${BINDIR}/compress ${BINDIR}/gzcat \ 11 ${BINDIR}/zdiff ${BINDIR}/zcmp \ 12 ${BINDIR}/zmore ${BINDIR}/zless 13 14MLINKS+=compress.1 uncompress.1 compress.1 zcat.1 15MLINKS+=gzip.1 gunzip.1 gzip.1 gzcat.1 16MLINKS+=zdiff.1 zcmp.1 17MLINKS+=zmore.1 zless.1 18 19LDADD=-lz 20DPADD=${LIBZ} 21 22afterinstall: 23 install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 24 ${.CURDIR}/zmore ${.CURDIR}/zdiff \ 25 ${.CURDIR}/zforce ${.CURDIR}/gzexe ${.CURDIR}/znew \ 26 ${DESTDIR}${BINDIR} 27 28.include <bsd.prog.mk> 29