1 # $NetBSD: Makefile,v 1.18 2014/07/05 19:22:42 dholland Exp $
3 USE_FORT?
= yes
# data driven bugs?
10 DIST
= ${NETBSDSRCDIR}/external
/bsd
/bzip2
/dist
13 SRCS
= blocksort.c huffman.c crctable.c randtable.c compress.c \
19 .if
!empty
(DBG
:M-Og
) ||
!empty
(CFLAGS
:M-Og
) || \
20 !empty
(DBG
:M-g
) ||
!empty
(CFLAGS
:M-g
)
21 #LSC: -Wno-maybe-uninitialized while compiling with -DNDEBUG -Og
22 CWARNFLAGS.gcc
+= -Wno-maybe-uninitialized
24 .
endif # defined(__MINIX)
26 # XXX huffman.c gets mis-compiled with 2.95.3
27 .if
${MACHINE_ARCH} == "vax"
31 # XXX blocksort.c gets mis-compiled with 4.1
32 .if
(${MACHINE_ARCH} == "sh3el" ||
${MACHINE_ARCH} == "sh3eb") && \
34 COPTS.blocksort.c
+= -fno-loop-optimize
37 .if
${MKSHARE} != "no"
38 FILESDIR
= /usr
/share
/doc
/reference
/ref1
/bzip2
42 .
include <bsd.
info.mk
>