| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.17 2012/05/07 08:51:47 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.17.8.1 2014/08/10 06:51:45 tls Exp $ |
2 | | | 2 | |
3 | USE_FORT?= yes # data driven bugs? | | 3 | USE_FORT?= yes # data driven bugs? |
4 | | | 4 | |
5 | NOMAN= # defined | | 5 | NOMAN= # defined |
6 | | | 6 | |
7 | .include <bsd.own.mk> | | 7 | .include <bsd.own.mk> |
8 | | | 8 | |
9 | LIB= bz2 | | 9 | LIB= bz2 |
10 | DIST= ${NETBSDSRCDIR}/external/bsd/bzip2/dist | | 10 | DIST= ${NETBSDSRCDIR}/external/bsd/bzip2/dist |
11 | .PATH: ${DIST} | | 11 | .PATH: ${DIST} |
12 | | | 12 | |
13 | SRCS= blocksort.c huffman.c crctable.c randtable.c compress.c \ | | 13 | SRCS= blocksort.c huffman.c crctable.c randtable.c compress.c \ |
14 | decompress.c bzlib.c | | 14 | decompress.c bzlib.c |
| @@ -17,19 +17,19 @@ INCSDIR= /usr/include | | | @@ -17,19 +17,19 @@ INCSDIR= /usr/include |
17 | | | 17 | |
18 | # XXX huffman.c gets mis-compiled with 2.95.3 | | 18 | # XXX huffman.c gets mis-compiled with 2.95.3 |
19 | .if ${MACHINE_ARCH} == "vax" | | 19 | .if ${MACHINE_ARCH} == "vax" |
20 | COPTS+= -O0 | | 20 | COPTS+= -O0 |
21 | .endif | | 21 | .endif |
22 | | | 22 | |
23 | # XXX blocksort.c gets mis-compiled with 4.1 | | 23 | # XXX blocksort.c gets mis-compiled with 4.1 |
24 | .if (${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb") && \ | | 24 | .if (${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb") && \ |
25 | defined(HAVE_GCC) | | 25 | defined(HAVE_GCC) |
26 | COPTS.blocksort.c+= -fno-loop-optimize | | 26 | COPTS.blocksort.c+= -fno-loop-optimize |
27 | .endif | | 27 | .endif |
28 | | | 28 | |
29 | .if ${MKSHARE} != "no" | | 29 | .if ${MKSHARE} != "no" |
30 | FILESDIR= ${HTMLDOCDIR}/bzip2 | | 30 | FILESDIR= /usr/share/doc/reference/ref1/bzip2 |
31 | FILES= manual.html | | 31 | FILES= manual.html |
32 | .endif | | 32 | .endif |
33 | | | 33 | |
34 | .include <bsd.info.mk> | | 34 | .include <bsd.info.mk> |
35 | .include <bsd.lib.mk> | | 35 | .include <bsd.lib.mk> |