Remove building with NOCRYPTO option
[minix.git] / external / bsd / file / Makefile.inc
blobd19c202788e58da4d78ce0801438701f2519745d
1 #       $NetBSD: Makefile.inc,v 1.5 2014/01/17 20:24:20 martin Exp $
3 WARNS=4
4 DIST=${NETBSDSRCDIR}/external/bsd/file/dist
6 .include <bsd.own.mk>
8 BINDIR?= /usr/bin
9 USE_FORT?= yes  # data-driven bugs?
11 TOOL_MKMAGIC?=  ${.OBJDIR}/file
13 MFILESDIR?=     /usr/share/misc
14 MFILES?=        magic.mgc
15 MAGIC?=         ${MFILESDIR}/magic
17 VERSION != ${TOOL_SED} -ne "s/^PACKAGE_VERSION='\([^']*\)'/\1/p" ${DIST}/configure
19 CPPFLAGS+=      -DMAGIC='"${MAGIC}"' -DHAVE_CONFIG_H -DQUICK -DBUILTIN_ELF \
20                 -DELFCORE -DVERSION='"${VERSION}"'
21 CPPFLAGS+=      -I${.CURDIR}/../include -I${DIST}/src
23 .if ${ACTIVE_CC}=="gcc" && ${HAVE_GCC}=="48"
24 CPPFLAGS.readelf.c      += -Wno-error=maybe-uninitialized
25 .endif
27 .PATH:          ${DIST}/src ${DIST}/doc