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

35 lines
1.2 KiB
Makefile
Raw Normal View History

1993-06-18 18:39:41 +00:00
# @(#)Makefile 5.3 (Berkeley) 5/12/90
1996-07-02 23:01:01 +00:00
# $Id: Makefile,v 1.10 1996/05/07 23:15:47 wosch Exp $
1993-06-18 18:39:41 +00:00
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
MAN1= gzexe.1 gzip.1 zdiff.1 zforce.1 zmore.1 znew.1 zgrep.1
CFLAGS+=-DASMV -DSTDC_HEADERS=1 -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
MLINKS+= zgrep.1 zfgrep.1 zgrep.1 zegrep.1
MLINKS+= zdiff.1 zcmp.1
LINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip
LINKS+= ${BINDIR}/gzip ${BINDIR}/gzcat
LINKS+= ${BINDIR}/gzip ${BINDIR}/zcat
LINKS+= ${BINDIR}/zgrep ${BINDIR}/zegrep
LINKS+= ${BINDIR}/zgrep ${BINDIR}/zfgrep
LINKS+= ${BINDIR}/zdiff ${BINDIR}/zcmp
NOSHARED=yes
1993-06-18 18:39:41 +00:00
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
1993-06-18 18:39:41 +00:00
${.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}
1996-07-02 23:01:01 +00:00
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/zgrep.getopt ${DESTDIR}${BINDIR}/zgrep
1993-06-18 18:39:41 +00:00
match.o: ${.CURDIR}/match.S
$(CPP) ${.CURDIR}/match.S >_match.s
$(CC) -c _match.s
mv -f _match.o match.o
1993-06-18 18:39:41 +00:00
rm -f _match.s
.include <bsd.prog.mk>