1 1.10.4.1 bouyer # $NetBSD: Makefile,v 1.10.4.1 2008/03/24 20:22:37 bouyer Exp $ 2 1.9 lukem 3 1.9 lukem NOMAN= # defined 4 1.8 thorpej 5 1.8 thorpej .include <bsd.own.mk> 6 1.1 ross 7 1.6 tv LIB= bz2 8 1.9 lukem DIST= ${NETBSDSRCDIR}/dist/bzip2 9 1.6 tv .PATH: ${DIST} 10 1.1 ross 11 1.6 tv SRCS= blocksort.c huffman.c crctable.c randtable.c compress.c \ 12 1.6 tv decompress.c bzlib.c 13 1.6 tv INCS= bzlib.h 14 1.6 tv INCSDIR= /usr/include 15 1.1 ross 16 1.8 thorpej # XXX huffman.c gets mis-compiled with 2.95.3 17 1.8 thorpej .if ${MACHINE_ARCH} == "vax" 18 1.8 thorpej COPTS+= -O0 19 1.8 thorpej .endif 20 1.8 thorpej 21 1.10 mrg # XXX blocksort.c gets mis-compiled with 4.1 22 1.10 mrg .if (${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb") && \ 23 1.10 mrg ${HAVE_GCC} == 4 24 1.10 mrg COPTS.blocksort.c+= -O0 25 1.10 mrg .endif 26 1.10 mrg 27 1.4 wiz .if ${MKSHARE} != "no" 28 1.4 wiz FILESDIR= ${HTMLDOCDIR}/bzip2 29 1.10.4.1 bouyer FILES= manual.html 30 1.4 wiz .endif 31 1.3 wiz 32 1.3 wiz .include <bsd.info.mk> 33 1.1 ross .include <bsd.lib.mk> 34