Sync usage with man page.
[netbsd-mini2440.git] / lib / libbz2 / Makefile
blobb19b8fff81a4d8434d35b0adaac3d24436204008
1 # $NetBSD: Makefile,v 1.13 2008/05/16 13:13:00 tsutsui Exp $
3 USE_FORT?= yes # data driven bugs?
5 NOMAN= # defined
7 .include <bsd.own.mk>
9 LIB= bz2
10 DIST= ${NETBSDSRCDIR}/dist/bzip2
11 .PATH: ${DIST}
13 SRCS= blocksort.c huffman.c crctable.c randtable.c compress.c \
14 decompress.c bzlib.c
15 INCS= bzlib.h
16 INCSDIR= /usr/include
18 # XXX huffman.c gets mis-compiled with 2.95.3
19 .if ${MACHINE_ARCH} == "vax"
20 COPTS+= -O0
21 .endif
23 # XXX blocksort.c gets mis-compiled with 4.1
24 .if (${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb") && \
25 (defined(HAVE_GCC) && ${HAVE_GCC} == 4)
26 COPTS.blocksort.c+= -fno-loop-optimize
27 .endif
29 .if ${MKSHARE} != "no"
30 FILESDIR= ${HTMLDOCDIR}/bzip2
31 FILES= manual.html
32 .endif
34 .include <bsd.info.mk>
35 .include <bsd.lib.mk>