VM: simplify slab allocator
[minix.git] / lib / libbz2 / Makefile
blob3471a60d06c92fe9ee5482bafd0a80fc6c9ac426
1 # $NetBSD: Makefile,v 1.14 2008/08/29 00:02:22 gmcgarry Exp $
3 .if defined(__MINIX)
4 # ssp-buffer-size=0, __SSP_FORTIFY_LEVEL=0
5 USE_FORT=no
6 .else
7 USE_FORT?= yes # data driven bugs?
8 .endif
10 NOMAN= # defined
12 .include <bsd.own.mk>
14 LIB= bz2
15 DIST= ${NETBSDSRCDIR}/dist/bzip2
16 .PATH: ${DIST}
18 SRCS= blocksort.c huffman.c crctable.c randtable.c compress.c \
19 decompress.c bzlib.c
20 INCS= bzlib.h
21 INCSDIR= /usr/include
23 # XXX huffman.c gets mis-compiled with 2.95.3
24 .if ${MACHINE_ARCH} == "vax"
25 COPTS+= -O0
26 .endif
28 # XXX blocksort.c gets mis-compiled with 4.1
29 .if (${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb") && \
30 (defined(HAVE_GCC) && ${HAVE_GCC} == 4)
31 COPTS.blocksort.c+= -fno-loop-optimize
32 .endif
34 .if ${MKSHARE} != "no"
35 FILESDIR= ${HTMLDOCDIR}/bzip2
36 FILES= manual.html
37 .endif
39 .include <bsd.info.mk>
40 .include <bsd.lib.mk>