tools/llvm: Do not build with symbols
[minix3.git] / gnu / usr.bin / texinfo / Makefile.inc
blob1af33838ee83dcf31b2b159494eee17bd71f0ce8
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
6 .include <bsd.own.mk>
8 DIST=           ${NETBSDSRCDIR}/gnu/dist
9 IDIST=          ${DIST}/texinfo
11 CPPFLAGS+=      -I${.CURDIR}/../common -I${IDIST}/lib \
12                 -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H
14 CWARNFLAGS.clang+=      -Wno-format-security
16 .if !defined(MAKEDOC)
17 DPADD+=         ${LIBCOMMONDIR}/libcommon.a
18 LDADD+=         -L${LIBCOMMONDIR} -lcommon
20 .if !defined(__MINIX)
21 DPADD+=         ${LIBINTL}
22 LDADD+=         -lintl
23 .endif # !defined(__MINIX)
25 LIBCOMMONDIR!=  cd ${.CURDIR}/../common && ${PRINTOBJDIR}
26 .endif
28 .if exists(${.CURDIR}/../../Makefile.inc)
29 .include "${.CURDIR}/../../Makefile.inc"
30 .endif
32 .endif # __MAKEFILE_INC_INCLUDED__