Improve the process for GNU tools
[minix3.git] / external / bsd / pkg_install / Makefile.inc
blobfbbd7d3a3b9fb36a867763fb9a67ec44548b181f
1 # $NetBSD: Makefile.inc,v 1.4 2011/09/16 16:41:20 joerg Exp $
3 DIST=   ${NETBSDSRCDIR}/external/bsd/pkg_install/dist
5 USE_FORT?=yes   # network client
7 CPPFLAGS+=-I${DIST}/lib
8 CPPFLAGS+=-I${NETBSDSRCDIR}/external/bsd/pkg_install/lib
9 CPPFLAGS+=-DHAVE_CONFIG_H -DNETBSD -DHAVE_SSL
10 .if !defined(__MINIX)
11 CPPFLAGS+=-DSYSCONFDIR='"/etc"'
12 .else
13 CPPFLAGS+=-DSYSCONFDIR='"/usr/pkg/etc"'
14 CPPFLAGS+=-DDEF_LOG_DIR='"/usr/pkg/var/db/pkg"'
15 .endif # !defined(__MINIX)
17 WARNS=  4
18 CWARNFLAGS+=    -Wno-missing-noreturn