summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/texinfo/makeinfo/Makefile
blob: cdd8a88b16836007e3b40ec149f5734e2af1e8fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# $Id$
#

MAKEINFODIR= ${.CURDIR}/../../../../contrib/texinfo/makeinfo
TXIDIR= ${.CURDIR}/../../../../contrib/texinfo/libtxi
LIBTXI=	${.CURDIR}/../libtxi/libtxi.a
BINDIR= /usr/bin

PROG= makeinfo
NOMAN=yes
SRCS+=	makeinfo.c multi.c

CFLAGS+= -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1
CFLAGS+= -DHAVE_VARARGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_ALLOCA=1
CFLAGS+= -DHAVE_SETVBUF=1 -DHAVE_GETCWD=1 -DHAVE_MEMSET=1 -DHAVE_BZERO=1 -DHAVE_STRCHR=1
CFLAGS+= -DHAVE_STRCASECMP=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_STRERROR=1 -DHAVE_SIGPROCMASK=1
CFLAGS+= -DHAVE_SIGSETMASK=1 -I../libtxi -I$(TXIDIR)

LDADD+= -L../libtxi -ltxi
DPADD+= ${LIBTXI}

.PATH: $(MAKEINFODIR)

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud