summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/texinfo/makeinfo/Makefile
blob: 6481fca78684a982b9daa9a1fe0e15d4cad90aa0 (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
#
# $FreeBSD$
#

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