summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gzip/Makefile
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1993-06-18 18:39:41 +0000
committernate <nate@FreeBSD.org>1993-06-18 18:39:41 +0000
commit12c4fd169736d45ab4b2b3f55301ecceaf9c67b3 (patch)
treeff423954f6049c9cdc9673d76e5867f99adeeb7e /gnu/usr.bin/gzip/Makefile
parent7067738d6ce62410bf037507ed279733f38b3910 (diff)
downloadFreeBSD-src-12c4fd169736d45ab4b2b3f55301ecceaf9c67b3.zip
FreeBSD-src-12c4fd169736d45ab4b2b3f55301ecceaf9c67b3.tar.gz
Gzip 1.1
Diffstat (limited to 'gnu/usr.bin/gzip/Makefile')
-rw-r--r--gnu/usr.bin/gzip/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/usr.bin/gzip/Makefile b/gnu/usr.bin/gzip/Makefile
new file mode 100644
index 0000000..36200b8
--- /dev/null
+++ b/gnu/usr.bin/gzip/Makefile
@@ -0,0 +1,25 @@
+# @(#)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 \
+ crypt.c lzw.c unlzw.c unpack.c getopt.c match.S
+MAN1= gzexe.0 gzip.0 zdiff.0 zforce.0 zmore.0 znew.0
+CFLAGS+=-DASMV -DHAVE_UNISTD_H=1 -DDIRENT=1
+MLINKS= zdiff.1 zcmp.1 gzip.1 gunzip.1 gzip.1 zcat.1 gzip.1 gzcat.1
+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 \
+ ${.CURDIR}/zmore ${.CURDIR}/zdiff ${.CURDIR}/zcmp \
+ ${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>
OpenPOWER on IntegriCloud