Sync usage with man page.
[netbsd-mini2440.git] / usr.bin / bzip2 / Makefile
blobb36141a4dd3de28494175773eabdb04e3f3700e1
1 # $NetBSD: Makefile,v 1.9 2004/06/06 06:39:43 christos Exp $
3 .include <bsd.own.mk> # for MKDYNAMICROOT definition
5 USE_FORT?= yes # data-driven bugs?
8 PROG= bzip2
9 LDDIR!= cd ${NETBSDSRCDIR}/lib/libbz2 && ${PRINTOBJDIR}
10 LDADD+= -L${LDDIR} -lbz2
11 DPADD+= ${LIBBZ2}
13 .if (${MKDYNAMICROOT} == "no")
14 LDSTATIC?= -static
15 .endif
16 .ifdef SMALLPROG
17 CPPFLAGS+= -DSMALL
18 .endif
20 DIST= ${NETBSDSRCDIR}/dist/bzip2
21 .PATH: ${DIST}
23 MLINKS+= bzip2.1 bunzip2.1\
24 bzip2.1 bzcat.1\
25 bzip2.1 bzip2recover.1
27 LINKS+= ${BINDIR}/bzip2 ${BINDIR}/bunzip2
28 LINKS+= ${BINDIR}/bzip2 ${BINDIR}/bzcat
30 .include <bsd.prog.mk>