84d9c625bf
- Fix for possible unset uid/gid in toproto - Fix for default mtree style - Update libelf - Importing libexecinfo - Resynchronize GCC, mpc, gmp, mpfr - build.sh: Replace params with show-params. This has been done as the make target has been renamed in the same way, while a new target named params has been added. This new target generates a file containing all the parameters, instead of printing it on the console. - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org) get getservbyport() out of the inner loop Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
35 lines
740 B
Makefile
35 lines
740 B
Makefile
# $NetBSD: Makefile,v 1.17 2012/05/07 08:51:47 wiz Exp $
|
|
|
|
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
|
|
|
|
# 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
|
|
.endif
|
|
|
|
.if ${MKSHARE} != "no"
|
|
FILESDIR= ${HTMLDOCDIR}/bzip2
|
|
FILES= manual.html
|
|
.endif
|
|
|
|
.include <bsd.info.mk>
|
|
.include <bsd.lib.mk>
|