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.
18 lines
502 B
Makefile
18 lines
502 B
Makefile
# $NetBSD: Makefile.inc,v 1.2 2010/02/20 02:55:53 joerg Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
USE_FORT?= yes # complex string handling
|
|
|
|
LIBARCHIVEDIR= ${NETBSDSRCDIR}/external/bsd/libarchive/dist
|
|
|
|
.if defined(__MINIX)
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include
|
|
.endif
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/external/bsd/libarchive/include
|
|
CPPFLAGS+= -DPLATFORM_CONFIG_H=\"config_netbsd.h\"
|
|
|
|
LIBARCHIVE_FE_DIR!= cd ${.PARSEDIR}/lib/libarchive_fe && ${PRINTOBJDIR}
|
|
LIBARCHIVE_FE= ${LIBARCHIVE_FE_DIR}/libarchive_fe.a
|
|
|
|
WARNS?= 4
|