Makefile revision 1.8
1#	$NetBSD: Makefile,v 1.8 2002/06/27 21:03:37 thorpej Exp $
2
3.include <bsd.own.mk>
4
5LIB=		bz2
6NOMAN=		# defined
7DIST=		${.CURDIR}/../../dist/bzip2
8.PATH:		${DIST}
9
10SRCS=		blocksort.c huffman.c crctable.c randtable.c compress.c \
11		decompress.c bzlib.c
12INCS=		bzlib.h
13INCSDIR=	/usr/include
14
15TEXINFO=	bzip2.info
16CLEANFILES+=	bzip2.texi
17
18# XXX huffman.c gets mis-compiled with 2.95.3
19.if ${MACHINE_ARCH} == "vax"
20COPTS+=		-O0
21.endif
22
23bzip2.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"
33FILESDIR=	${HTMLDOCDIR}/bzip2
34FILES=		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