1 # $NetBSD: Makefile,v 1.8 2002/06/27 21:03:37 thorpej Exp $ 2 3 .include <bsd.own.mk> 4 5 LIB= bz2 6 NOMAN= # defined 7 DIST= ${.CURDIR}/../../dist/bzip2 8 .PATH: ${DIST} 9 10 SRCS= blocksort.c huffman.c crctable.c randtable.c compress.c \ 11 decompress.c bzlib.c 12 INCS= bzlib.h 13 INCSDIR= /usr/include 14 15 TEXINFO= bzip2.info 16 CLEANFILES+= bzip2.texi 17 18 # XXX huffman.c gets mis-compiled with 2.95.3 19 .if ${MACHINE_ARCH} == "vax" 20 COPTS+= -O0 21 .endif 22 23 bzip2.texi: manual.texi 24 @-rm -f $@ 25 sed -e 's/@parindent.*//' \ 26 -e 's/@parskip.*//' \ 27 -e 's/@node Overview, Implementation, Top, Top/@node Overview, (dir), Top, (dir)/' \ 28 -e 's/@itemize$$/@itemize @bullet/' \ 29 -e 's/@bf{\(.*\)}/\1/' \ 30 <$> >$@ 31 32 .if ${MKSHARE} != "no" 33 FILESDIR= ${HTMLDOCDIR}/bzip2 34 FILES= manual_toc.html manual_1.html manual_2.html manual_3.html \ 35 manual_4.html 36 .endif 37 38 .include <bsd.info.mk> 39 .include <bsd.lib.mk> 40