d19d7d58aa
upgrade to NetBSD CVS release from 2012/10/17 12:00:00 UTC Makefiles updates to imporve portability Made sure to be consistent in the usage of braces/parenthesis at least on a per file basis. For variables, it is recommended to continue to use braces.
25 lines
530 B
Makefile
25 lines
530 B
Makefile
# $NetBSD: Makefile.inc,v 1.3 2009/05/08 23:36:42 christos Exp $
|
|
|
|
DIST=${.CURDIR}/../dist
|
|
WARNS=4
|
|
|
|
BINDIR?= /usr/bin
|
|
.if defined(__MINIX)
|
|
USE_FORT?= no # data-driven bugs?
|
|
.else
|
|
USE_FORT?= yes # data-driven bugs?
|
|
.endif
|
|
|
|
TOOL_MKMAGIC?= ${.OBJDIR}/file
|
|
|
|
MFILESDIR?= /usr/share/misc
|
|
MFILES?= magic.mgc
|
|
MAGIC?= ${MFILESDIR}/magic
|
|
|
|
#LSC FIXME Is this still needed ? -DQUICK
|
|
CPPFLAGS+= -DMAGIC='"${MAGIC}"' -DHAVE_CONFIG_H -DBUILTIN_ELF \
|
|
-DELFCORE
|
|
CPPFLAGS+= -I${.CURDIR}/../include -I${DIST}/src
|
|
|
|
.PATH: ${DIST}/src ${DIST}/doc
|