minix/external/bsd/file/Makefile.inc

25 lines
504 B
PHP
Raw Normal View History

2012-03-31 20:24:03 +02:00
# $NetBSD: Makefile.inc,v 1.3 2009/05/08 23:36:42 christos Exp $
DIST=${.CURDIR}/../dist
WARNS=4
BINDIR?= /usr/bin
2012-05-02 13:23:57 +02:00
USE_FORT?= no # data-driven bugs?
2012-03-31 20:24:03 +02:00
2012-05-02 13:23:57 +02:00
.if ${USETOOLS} == "yes"
2012-03-31 20:24:03 +02:00
TOOL_MKMAGIC?= ${.OBJDIR}/file
2012-05-02 13:23:57 +02:00
.else
TOOL_MKMAGIC= ${.CURDIR}/../bin/file
.endif
2012-03-31 20:24:03 +02:00
MFILESDIR?= /usr/share/misc
MFILES?= magic.mgc
MAGIC?= ${MFILESDIR}/magic
2012-05-02 13:23:57 +02:00
#-DQUICK
2012-03-31 20:24:03 +02:00
CPPFLAGS+= -DMAGIC='"${MAGIC}"' -DHAVE_CONFIG_H -DBUILTIN_ELF \
-DELFCORE
CPPFLAGS+= -I${.CURDIR}/../include -I${DIST}/src
.PATH: ${DIST}/src ${DIST}/doc