Module Name: src
Committed By: mrg
Date: Thu Jun 17 06:29:16 UTC 2010
Modified Files:
src/usr.bin: Makefile
Log Message:
if MKPIGZ != no, build gzip, otherwise build pigz.
To generate a diff of this commit:
cvs rdiff -u -r1.186 -r1.187 src/usr.bin/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/Makefile
diff -u src/usr.bin/Makefile:1.186 src/usr.bin/Makefile:1.187
--- src/usr.bin/Makefile:1.186 Fri May 7 17:35:31 2010
+++ src/usr.bin/Makefile Thu Jun 17 06:29:16 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.186 2010/05/07 17:35:31 christos Exp $
+# $NetBSD: Makefile,v 1.187 2010/06/17 06:29:16 mrg Exp $
# from: @(#)Makefile 8.3 (Berkeley) 1/7/94
.include <bsd.own.mk>
@@ -12,7 +12,7 @@
eject elf2aout elf2ecoff env error expand extattr \
false fdformat fgen find finger fmt fold fpr from \
fsplit fstat ftp gcore genassym gencat getconf getent getopt gprof \
- gzip head hexdump iconv id indent infocmp innetgr ipcrm ipcs join jot \
+ head hexdump iconv id indent infocmp innetgr ipcrm ipcs join jot \
kdump ktrace ktruss lam last lastcomm ldd leave less \
locale locate lock logger login logname look lorder m4 \
machine mail make man menuc mesg midiplay mixerctl mkcsmapper \
@@ -30,6 +30,12 @@
wall wc what whatis whereis who whois window \
write xargs xinstall xlint xstr yes
+.if (${MKPIGZ} != "no")
+SUBDIR+= ../external/zlib/pigz/bin/pigz
+.else
+SUBDIR+= gzip
+.endif
+
.if (${MKHESIOD} != "no")
SUBDIR+= hesinfo
.endif