minix/gnu/usr.bin/texinfo/Makefile.inc
Lionel Sambuc c566d4623b Allow install of binutils and import texinfo
- Enable installing binutils from the base system.

 - Import texinfo which is required for the binutils tools
   to be compiled.

 - Also adapted the fetch rules to correctly generate the
   gitignore files for gcc, and allow the case of multiple
   modules in the same directory, as found in gnu/dist.

Warning: This patch has an entry in docs/UPDATING

Change-Id: Ib781734e8fd7f9c6265fa65d62ba2cf3fccbc5ba
2013-07-12 14:18:08 +02:00

32 lines
731 B
Makefile

# $NetBSD: Makefile.inc,v 1.10 2011/05/26 12:56:29 joerg Exp $
.if !defined(__MAKEFILE_INC_INCLUDED__)
__MAKEFILE_INC_INCLUDED__=1
.include <bsd.own.mk>
DIST= ${NETBSDSRCDIR}/gnu/dist
IDIST= ${DIST}/texinfo
CPPFLAGS+= -I${.CURDIR}/../common -I${IDIST}/lib \
-DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H
CWARNFLAGS.clang+= -Wno-format-security
.if !defined(MAKEDOC)
DPADD+= ${LIBCOMMONDIR}/libcommon.a
LDADD+= -L${LIBCOMMONDIR} -lcommon
.if !defined(__MINIX)
DPADD+= ${LIBINTL}
LDADD+= -lintl
.endif # !defined(__MINIX)
LIBCOMMONDIR!= cd ${.CURDIR}/../common && ${PRINTOBJDIR}
.endif
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif
.endif # __MAKEFILE_INC_INCLUDED__