NetBSD/external/bsd/pkg_install/Makefile.inc

22 lines
582 B
PHP
Raw Normal View History

# $NetBSD: Makefile.inc,v 1.6 2019/02/07 23:53:20 mrg Exp $
2008-09-30 23:19:56 +04:00
DIST= ${NETBSDSRCDIR}/external/bsd/pkg_install/dist
USE_FORT?=yes # network client
CPPFLAGS+=-I${DIST}/lib
CPPFLAGS+=-I${NETBSDSRCDIR}/external/bsd/pkg_install/lib
CPPFLAGS+=-DHAVE_CONFIG_H -DNETBSD -DHAVE_SSL
2008-09-30 23:19:56 +04:00
CPPFLAGS+=-DSYSCONFDIR='"/etc"'
2009-08-06 20:57:20 +04:00
WARNS= 4
CWARNFLAGS+= -Wno-missing-noreturn
.include <bsd.own.mk>
# show_version() does not return
.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
COPTS.main.c+= -Wno-error=implicit-fallthrough
COPTS.pkg_delete.c+= -Wno-error=implicit-fallthrough
.endif