remove extra mkfs.1
[minix.git] / usr.bin / bzip2 / Makefile
blob6ff127f7dcd99ad19672b66e585567f3b541ca25
1 # $NetBSD: Makefile,v 1.10 2007/05/28 12:06:24 tls Exp $
3 .include <bsd.own.mk> # for MKDYNAMICROOT definition
5 .if defined(__MINIX)
6 MKDYNAMICROOT= no
7 SMALLPROG= yes
8 USE_FORT=no # __SSP_FORTIFY_LEVEL=0
9 .else
10 USE_FORT?= yes # data-driven bugs?
11 .endif
13 PROG= bzip2
14 LDDIR!= cd ${NETBSDSRCDIR}/lib/libbz2 && ${PRINTOBJDIR}
15 LDADD+= -L${LDDIR} -lbz2
16 DPADD+= ${LIBBZ2}
18 .if (${MKDYNAMICROOT} == "no")
19 LDSTATIC?= -static
20 .endif
21 .ifdef SMALLPROG
22 CPPFLAGS+= -DSMALL
23 .endif
25 DIST= ${NETBSDSRCDIR}/dist/bzip2
26 .PATH: ${DIST}
28 MLINKS+= bzip2.1 bunzip2.1\
29 bzip2.1 bzcat.1\
30 bzip2.1 bzip2recover.1
32 LINKS+= ${BINDIR}/bzip2 ${BINDIR}/bunzip2
33 LINKS+= ${BINDIR}/bzip2 ${BINDIR}/bzcat
35 test:
36 make -C dist/bzip2 test
37 install-extra:
38 make -C dist/bzip2 install
39 .include <bsd.prog.mk>