Home | History | Annotate | Line # | Download | only in libbz2
Makefile revision 1.18.24.2
      1  1.18.24.2    martin #	$NetBSD: Makefile,v 1.18.24.2 2020/04/13 08:03:08 martin Exp $
      2       1.11       tls 
      3       1.11       tls USE_FORT?= yes	# data driven bugs?
      4        1.9     lukem 
      5        1.9     lukem NOMAN=		# defined
      6        1.8   thorpej 
      7        1.8   thorpej .include <bsd.own.mk>
      8        1.1      ross 
      9        1.6        tv LIB=		bz2
     10       1.17       wiz DIST=		${NETBSDSRCDIR}/external/bsd/bzip2/dist
     11        1.6        tv .PATH:		${DIST}
     12        1.1      ross 
     13        1.6        tv SRCS=		blocksort.c huffman.c crctable.c randtable.c compress.c \
     14        1.6        tv 		decompress.c bzlib.c
     15        1.6        tv INCS=		bzlib.h
     16        1.6        tv INCSDIR=	/usr/include
     17        1.1      ross 
     18        1.8   thorpej # XXX huffman.c gets mis-compiled with 2.95.3
     19        1.8   thorpej .if ${MACHINE_ARCH} == "vax"
     20        1.8   thorpej COPTS+=		-O0
     21        1.8   thorpej .endif
     22        1.8   thorpej 
     23  1.18.24.2    martin .if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
     24  1.18.24.1  christos COPTS+=		-Wno-error=implicit-fallthrough
     25  1.18.24.1  christos .endif
     26  1.18.24.1  christos 
     27       1.10       mrg # XXX blocksort.c gets mis-compiled with 4.1
     28       1.10       mrg .if (${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb") && \
     29       1.15       mrg     defined(HAVE_GCC)
     30       1.13   tsutsui COPTS.blocksort.c+=	-fno-loop-optimize
     31       1.10       mrg .endif
     32       1.10       mrg 
     33        1.4       wiz .if ${MKSHARE} != "no"
     34       1.18  dholland FILESDIR=	/usr/share/doc/reference/ref1/bzip2
     35       1.12  christos FILES=		manual.html
     36        1.4       wiz .endif
     37        1.3       wiz 
     38        1.3       wiz .include <bsd.info.mk>
     39        1.1      ross .include <bsd.lib.mk>
     40