freebsd-dev/gnu/usr.bin/gzip/Makefile

26 lines
869 B
Makefile
Raw Normal View History

1993-06-18 18:39:41 +00:00
# @(#)Makefile 5.3 (Berkeley) 5/12/90
PROG= gzip
SRCS= gzip.c zip.c deflate.c trees.c bits.c unzip.c inflate.c util.c \
1993-06-19 00:22:46 +00:00
crypt.c lzw.c unlzw.c unlzh.c unpack.c getopt.c match.S
1993-06-18 18:39:41 +00:00
MAN1= gzexe.0 gzip.0 zdiff.0 zforce.0 zmore.0 znew.0
CFLAGS+=-DASMV -DHAVE_UNISTD_H=1 -DDIRENT=1
1993-06-19 00:22:46 +00:00
MLINKS= gzip.1 gunzip.1 gzip.1 zcat.1 gzip.1 gzcat.1
1993-06-18 18:39:41 +00:00
LINKS+= ${DESTDIR}${BINDIR}/gzip ${DESTDIR}${BINDIR}/gunzip
LINKS+= ${DESTDIR}${BINDIR}/gzip ${DESTDIR}${BINDIR}/gzcat
LINKS+= ${DESTDIR}${BINDIR}/gzip ${DESTDIR}${BINDIR}/zcat
afterinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/zforce ${.CURDIR}/gzexe ${.CURDIR}/znew \
1993-06-19 00:22:46 +00:00
${.CURDIR}/zmore ${.CURDIR}/zdiff ${.CURDIR}/zgrep \
1993-06-18 18:39:41 +00:00
${DESTDIR}${BINDIR}
match.o: ${.CURDIR}/match.S
$(CPP) ${.CURDIR}/match.S >_match.s
$(CC) -c _match.s
mv _match.o match.o
rm -f _match.s
.include <bsd.prog.mk>