summaryrefslogtreecommitdiff
path: root/distrib/special
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-22 22:25:24 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-22 22:25:24 +0000
commit5b194c77da35e8ce7b48ff29e6752c2e14e19c8b (patch)
treebdbaae6a5819a20734c943dd53d1b83099598a9c /distrib/special
parentd28d31171f886d3ffc0eeeed110ee7110e77a94b (diff)
special/gzip is smart enough to grovel in usr.bin/compress for what it
needs. This is better than putting a compress link on each media; saves us a few bytes
Diffstat (limited to 'distrib/special')
-rw-r--r--distrib/special/Makefile4
-rw-r--r--distrib/special/gzip/Makefile12
2 files changed, 14 insertions, 2 deletions
diff --git a/distrib/special/Makefile b/distrib/special/Makefile
index cc7621ab03b..98fa116dcd0 100644
--- a/distrib/special/Makefile
+++ b/distrib/special/Makefile
@@ -1,5 +1,5 @@
-# $OpenBSD: Makefile,v 1.9 2003/04/25 20:54:44 deraadt Exp $
+# $OpenBSD: Makefile,v 1.10 2003/06/22 22:25:21 deraadt Exp $
-SUBDIR= ftp pppd rsh dhclient init dmesg grep kbd less more
+SUBDIR= ftp pppd rsh dhclient init dmesg grep kbd less more gzip
.include <bsd.subdir.mk>
diff --git a/distrib/special/gzip/Makefile b/distrib/special/gzip/Makefile
new file mode 100644
index 00000000000..4c81680d88a
--- /dev/null
+++ b/distrib/special/gzip/Makefile
@@ -0,0 +1,12 @@
+# $OpenBSD: Makefile,v 1.1 2003/06/22 22:25:23 deraadt Exp $
+
+PROG= gzip
+SRCS= main.c zopen.c gzopen.c
+MAN=
+COPTS+=-Os
+.PATH: ${.CURDIR}/../../../usr.bin/compress
+
+LDADD=-lz
+DPADD=${LIBZ}
+
+.include <bsd.prog.mk>