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