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