Cross Reference: Makefile
xref: /src/lib/libbz2/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/lib/libbz2/
Makefile revision 1.19
11.19Smrg#	$NetBSD: Makefile,v 1.19 2019/02/04 04:05:16 mrg Exp $
21.11Stls
31.11StlsUSE_FORT?= yes	# data driven bugs?
41.9Slukem
51.9SlukemNOMAN=		# defined
61.8Sthorpej
71.8Sthorpej.include <bsd.own.mk>
81.1Sross
91.6StvLIB=		bz2
101.17SwizDIST=		${NETBSDSRCDIR}/external/bsd/bzip2/dist
111.6Stv.PATH:		${DIST}
121.1Sross
131.6StvSRCS=		blocksort.c huffman.c crctable.c randtable.c compress.c \
141.6Stv		decompress.c bzlib.c
151.6StvINCS=		bzlib.h
161.6StvINCSDIR=	/usr/include
171.1Sross
181.8Sthorpej# XXX huffman.c gets mis-compiled with 2.95.3
191.8Sthorpej.if ${MACHINE_ARCH} == "vax"
201.8SthorpejCOPTS+=		-O0
211.8Sthorpej.endif
221.8Sthorpej
231.19Smrg.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
241.19SmrgCOPTS+=		-Wno-error=implicit-fallthrough
251.19Smrg.endif
261.19Smrg
271.10Smrg# XXX blocksort.c gets mis-compiled with 4.1
281.10Smrg.if (${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb") && \
291.15Smrg    defined(HAVE_GCC)
301.13StsutsuiCOPTS.blocksort.c+=	-fno-loop-optimize
311.10Smrg.endif
321.10Smrg
331.4Swiz.if ${MKSHARE} != "no"
341.18SdhollandFILESDIR=	/usr/share/doc/reference/ref1/bzip2
351.12SchristosFILES=		manual.html
361.4Swiz.endif
371.3Swiz
381.3Swiz.include <bsd.info.mk>
391.1Sross.include <bsd.lib.mk>
40

Indexes created Wed Dec 31 11:09:30 GMT 2025