Makefile revision 1.11
11.11Stls#	$NetBSD: Makefile,v 1.11 2007/05/28 12:06:18 tls Exp $
21.11Stls
31.11StlsUSE_FORT?= yes	# data driven bugs?
41.9Slukem
51.9SlukemNOMAN=		# defined
61.8Sthorpej
71.8Sthorpej.include <bsd.own.mk>
81.1Sross
91.6StvLIB=		bz2
101.9SlukemDIST=		${NETBSDSRCDIR}/dist/bzip2
111.6Stv.PATH:		${DIST}
121.1Sross
131.6StvSRCS=		blocksort.c huffman.c crctable.c randtable.c compress.c \
141.6Stv		decompress.c bzlib.c
151.6StvINCS=		bzlib.h
161.6StvINCSDIR=	/usr/include
171.1Sross
181.5SsimonbTEXINFO=	bzip2.info
191.3SwizCLEANFILES+=	bzip2.texi
201.3Swiz
211.8Sthorpej# XXX huffman.c gets mis-compiled with 2.95.3
221.8Sthorpej.if ${MACHINE_ARCH} == "vax"
231.8SthorpejCOPTS+=		-O0
241.8Sthorpej.endif
251.8Sthorpej
261.10Smrg# XXX blocksort.c gets mis-compiled with 4.1
271.10Smrg.if (${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb") && \
281.10Smrg    ${HAVE_GCC} == 4
291.10SmrgCOPTS.blocksort.c+=		-O0
301.10Smrg.endif
311.10Smrg
321.6Stvbzip2.texi: manual.texi
331.6Stv	@-rm -f $@
341.6Stv	sed -e 's/@parindent.*//' \
351.6Stv	    -e 's/@parskip.*//' \
361.6Stv	    -e 's/@node Overview, Implementation, Top, Top/@node Overview, (dir), Top, (dir)/' \
371.6Stv	    -e 's/@itemize$$/@itemize @bullet/' \
381.7Smjl	    -e 's/@bf{\(.*\)}/\1/' \
391.6Stv	    <$> >$@
401.4Swiz
411.4Swiz.if ${MKSHARE} != "no"
421.4SwizFILESDIR=	${HTMLDOCDIR}/bzip2
431.4SwizFILES=		manual_toc.html manual_1.html manual_2.html manual_3.html \
441.4Swiz		manual_4.html
451.4Swiz.endif
461.3Swiz
471.3Swiz.include <bsd.info.mk>
481.1Sross.include <bsd.lib.mk>
49