Remove building with NOCRYPTO option
[minix3.git] / gnu / usr.bin / texinfo / Makefile.inc
blob69851ce82da59170b388bc049f66c461aa342e27
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 .if defined(__MINIX)
26 CWARNFLAGS.clang+=      -Wno-error
27 .endif # defined(__MINIX)
29 LIBCOMMONDIR!=  cd ${.CURDIR}/../common && ${PRINTOBJDIR}
30 .endif
32 .if exists(${.CURDIR}/../../Makefile.inc)
33 .include "${.CURDIR}/../../Makefile.inc"
34 .endif
36 .endif # __MAKEFILE_INC_INCLUDED__