Drop main() prototype. Syncs with NetBSD-8
[minix.git] / usr.bin / bzip2 / Makefile
blob583a6b43e6f6f2fda7de8052ead5b866beba4bae
1 # $NetBSD: Makefile,v 1.12 2012/05/07 08:51:47 wiz 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}/external/bsd/bzip2/dist
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>