NetBSD/lib/libbz2/Makefile

36 lines
730 B
Makefile

# $NetBSD: Makefile,v 1.13 2008/05/16 13:13:00 tsutsui Exp $
USE_FORT?= yes # data driven bugs?
NOMAN= # defined
.include <bsd.own.mk>
LIB= bz2
DIST= ${NETBSDSRCDIR}/dist/bzip2
.PATH: ${DIST}
SRCS= blocksort.c huffman.c crctable.c randtable.c compress.c \
decompress.c bzlib.c
INCS= bzlib.h
INCSDIR= /usr/include
# XXX huffman.c gets mis-compiled with 2.95.3
.if ${MACHINE_ARCH} == "vax"
COPTS+= -O0
.endif
# XXX blocksort.c gets mis-compiled with 4.1
.if (${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb") && \
${HAVE_GCC} == 4
COPTS.blocksort.c+= -fno-loop-optimize
.endif
.if ${MKSHARE} != "no"
FILESDIR= ${HTMLDOCDIR}/bzip2
FILES= manual.html
.endif
.include <bsd.info.mk>
.include <bsd.lib.mk>