2002-08-19 13:41:27 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 2002/08/19 09:41:28 lukem Exp $
|
|
|
|
|
|
|
|
NOMAN= # defined
|
2002-06-28 01:03:37 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1998-09-14 07:18:12 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
LIB= bz2
|
2002-08-19 13:41:27 +04:00
|
|
|
DIST= ${NETBSDSRCDIR}/dist/bzip2
|
2001-12-12 03:51:00 +03:00
|
|
|
.PATH: ${DIST}
|
1998-09-14 07:18:12 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
SRCS= blocksort.c huffman.c crctable.c randtable.c compress.c \
|
|
|
|
decompress.c bzlib.c
|
|
|
|
INCS= bzlib.h
|
|
|
|
INCSDIR= /usr/include
|
1998-09-14 07:18:12 +04:00
|
|
|
|
2001-06-03 17:41:59 +04:00
|
|
|
TEXINFO= bzip2.info
|
2000-11-08 05:15:13 +03:00
|
|
|
CLEANFILES+= bzip2.texi
|
|
|
|
|
2002-06-28 01:03:37 +04:00
|
|
|
# XXX huffman.c gets mis-compiled with 2.95.3
|
|
|
|
.if ${MACHINE_ARCH} == "vax"
|
|
|
|
COPTS+= -O0
|
|
|
|
.endif
|
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
bzip2.texi: manual.texi
|
|
|
|
@-rm -f $@
|
|
|
|
sed -e 's/@parindent.*//' \
|
|
|
|
-e 's/@parskip.*//' \
|
|
|
|
-e 's/@node Overview, Implementation, Top, Top/@node Overview, (dir), Top, (dir)/' \
|
|
|
|
-e 's/@itemize$$/@itemize @bullet/' \
|
2002-03-15 04:50:40 +03:00
|
|
|
-e 's/@bf{\(.*\)}/\1/' \
|
2001-12-12 03:51:00 +03:00
|
|
|
<$> >$@
|
2000-11-08 05:15:13 +03:00
|
|
|
|
2000-11-10 05:00:09 +03:00
|
|
|
.if ${MKSHARE} != "no"
|
|
|
|
FILESDIR= ${HTMLDOCDIR}/bzip2
|
|
|
|
FILES= manual_toc.html manual_1.html manual_2.html manual_3.html \
|
|
|
|
manual_4.html
|
|
|
|
.endif
|
|
|
|
|
2000-11-08 05:15:13 +03:00
|
|
|
.include <bsd.info.mk>
|
1998-09-14 07:18:12 +04:00
|
|
|
.include <bsd.lib.mk>
|