if MKPIGZ != no, build gzip, otherwise build pigz.

This commit is contained in:
mrg 2010-06-17 06:29:16 +00:00
parent 42a9c5d4fe
commit 7b21e162d6

View File

@ -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 @@ SUBDIR= apply apropos asa at audio awk \
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 @@ SUBDIR= apply apropos asa at audio awk \
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