minix/external/bsd/libarchive/Makefile.inc
Ben Gras dbafdf6692 libarchive: use -isystem for /usr/include
. 'fixes' warnings that are in these headers, but normally aren't
	   emited as they're system headers

Change-Id: Ibd20343eae51770cef71116bbda0d9141441ec54
2013-08-30 17:21:01 +02:00

18 lines
509 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+= -isystem ${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