Module Name:    src
Committed By:   christos
Date:           Mon Apr  1 02:21:39 UTC 2024

Modified Files:
        src/usr.bin/gzip: Makefile

Log Message:
make it work as a tool


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/gzip/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/gzip/Makefile
diff -u src/usr.bin/gzip/Makefile:1.18 src/usr.bin/gzip/Makefile:1.19
--- src/usr.bin/gzip/Makefile:1.18	Wed Nov 13 06:12:24 2013
+++ src/usr.bin/gzip/Makefile	Sun Mar 31 22:21:39 2024
@@ -1,10 +1,12 @@
-#	$NetBSD: Makefile,v 1.18 2013/11/13 11:12:24 pettai Exp $
+#	$NetBSD: Makefile,v 1.19 2024/04/01 02:21:39 christos Exp $
 
 USE_FORT?= yes	# data-driven bugs?
 
 PROG=		gzip
+SRCS+=		gzip.c
 MAN=		gzip.1 gzexe.1 zdiff.1 zforce.1 zgrep.1 zmore.1 znew.1
 
+.if !defined(HOSTPROG)
 DPADD=		${LIBZ} ${LIBBZ2} ${LIBLZMA}
 LDADD=		-lz -lbz2 -llzma
 
@@ -25,5 +27,6 @@ LINKS+=		${BINDIR}/gzip ${BINDIR}/gunzip
 		${BINDIR}/zgrep ${BINDIR}/zegrep \
 		${BINDIR}/zgrep ${BINDIR}/zfgrep \
 		${BINDIR}/zmore ${BINDIR}/zless
+.endif
 
 .include <bsd.prog.mk>

Reply via email to