minix/external/bsd/pkg_install/Makefile.inc
Lionel Sambuc b5400f9ff4 pkg_install: Set default paths as expected on MINIX
Change-Id: I97568cb5c92d14b7175ba0ed0f3efb2009d0c455
2015-10-09 15:49:42 +02:00

18 lines
495 B
Makefile

# $NetBSD: Makefile.inc,v 1.4 2011/09/16 16:41:20 joerg Exp $
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
.if !defined(__MINIX)
CPPFLAGS+=-DSYSCONFDIR='"/etc"'
.else
CPPFLAGS+=-DSYSCONFDIR='"/usr/pkg/etc"'
CPPFLAGS+=-DDEF_LOG_DIR='"/usr/pkg/var/db/pkg"'
.endif # !defined(__MINIX)
WARNS= 4
CWARNFLAGS+= -Wno-missing-noreturn