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)
26 CWARNFLAGS.clang+= -Wno-error
27 .endif # defined(__MINIX)
29 LIBCOMMONDIR!= cd ${.CURDIR}/../common && ${PRINTOBJDIR}
32 .if exists(${.CURDIR}/../../Makefile.inc)
33 .include "${.CURDIR}/../../Makefile.inc"
36 .endif # __MAKEFILE_INC_INCLUDED__