1# $NetBSD: Makefile.inc,v 1.3 2017/04/20 20:34:24 joerg Exp $ 2 3.include <bsd.own.mk> 4 5USE_FORT?= yes # complex string handling 6 7LIBARCHIVEDIR= ${NETBSDSRCDIR}/external/bsd/libarchive/dist 8 9CPPFLAGS+= -I${NETBSDSRCDIR}/external/bsd/libarchive/include 10CPPFLAGS+= -DPLATFORM_CONFIG_H=\"config_netbsd.h\" 11 12LIBARCHIVE_FE_DIR!= cd ${.PARSEDIR}/lib/libarchive_fe && ${PRINTOBJDIR} 13LIBARCHIVE_FE= ${LIBARCHIVE_FE_DIR}/libarchive_fe.a 14 15# GCC applies the check even for same functions like strftime, 16# completely defeating the purpose. 17CWARNFLAGS.gcc+= -Wno-format-nonliteral 18 19WARNS?= 4 20