NetBSD/lib/libbz2/Makefile

36 lines
740 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.17 2012/05/07 08:51:47 wiz Exp $
2007-05-28 16:06:17 +04:00
USE_FORT?= yes # data driven bugs?
NOMAN= # defined
.include <bsd.own.mk>
LIB= bz2
DIST= ${NETBSDSRCDIR}/external/bsd/bzip2/dist
.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
2006-05-21 07:34:57 +04:00
# XXX blocksort.c gets mis-compiled with 4.1
.if (${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb") && \
defined(HAVE_GCC)
COPTS.blocksort.c+= -fno-loop-optimize
2006-05-21 07:34:57 +04:00
.endif
.if ${MKSHARE} != "no"
FILESDIR= ${HTMLDOCDIR}/bzip2
2008-03-18 17:48:39 +03:00
FILES= manual.html
.endif
.include <bsd.info.mk>
.include <bsd.lib.mk>