xref: /netbsd/external/gpl2/texinfo/bin/info/Makefile (revision 7350f6c8)
1*7350f6c8Schristos#	$NetBSD: Makefile,v 1.1 2016/01/14 00:34:52 christos Exp $
2*7350f6c8Schristos
3*7350f6c8Schristos.include <bsd.init.mk>
4*7350f6c8Schristos
5*7350f6c8SchristosPROG=		info
6*7350f6c8SchristosSRCS=		dir.c display.c dribble.c echo-area.c filesys.c \
7*7350f6c8Schristos		footnotes.c gc.c indices.c info-utils.c info.c infodoc.c \
8*7350f6c8Schristos		infomap.c m-x.c man.c nodemenu.c nodes.c search.c session.c \
9*7350f6c8Schristos		signals.c terminal.c tilde.c variables.c window.c
10*7350f6c8Schristos
11*7350f6c8SchristosCOMMONDIR!=cd ${.CURDIR}/../../lib && ${PRINTOBJDIR}
12*7350f6c8Schristos
13*7350f6c8SchristosCPPFLAGS+=	-I${IDIST}/info -I${COMMONDIR} \
14*7350f6c8Schristos		-DDEFAULT_INFOPATH=\"/usr/pkg/info:/usr/X11R6/info:/usr/X11/info:/usr/local/info:/usr/share/info:/usr/info\"
15*7350f6c8SchristosLDADD+=		-lterminfo
16*7350f6c8SchristosDPADD+=		${LIBTERMINFO}
17*7350f6c8Schristos
18*7350f6c8Schristos.include <bsd.prog.mk>
19*7350f6c8Schristos
20*7350f6c8Schristos.PATH: ${IDIST}/info ${IDIST}/doc
21