1 # $NetBSD: Makefile.inc,v 1.10 2011/05/26 12:56:29 joerg Exp $
3 .if !defined(__MAKEFILE_INC_INCLUDED__)
4 __MAKEFILE_INC_INCLUDED__=1
8 DIST= ${NETBSDSRCDIR}/gnu/dist
11 CPPFLAGS+= -I${.CURDIR}/../common -I${IDIST}/lib \
12 -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H
14 CWARNFLAGS.clang+= -Wno-format-security
17 DPADD+= ${LIBCOMMONDIR}/libcommon.a
18 LDADD+= -L${LIBCOMMONDIR} -lcommon
23 .endif # !defined(__MINIX)
25 LIBCOMMONDIR!= cd ${.CURDIR}/../common && ${PRINTOBJDIR}
28 .if exists(${.CURDIR}/../../Makefile.inc)
29 .include "${.CURDIR}/../../Makefile.inc"
32 .endif # __MAKEFILE_INC_INCLUDED__