format: fix stdbool symbol name conflict
[unleashed.git] / share / terminfo / Makefile
blob8cd96232a70ce951b2f3ec4c0f507e20d30ad3a8
1 .include "Makefile.entries"
3 NOMAN=
5 CLEANFILES+= run_tic.sed run_tic.sh terminfo.tmp termcap
6 CLEANDIRS+= terminfo
8 TINFODIR= ${SHAREDIR}/terminfo
9 MISCDIR= ${.CURDIR}/../../contrib/ncurses/misc
10 PSOURCE= ${.CURDIR}/../../contrib/ncurses/progs
11 TSOURCE= ${MISCDIR}/terminfo.src
12 CFLAGS+= -I${PSOURCE} -I${.CURDIR}/../../lib/libncurses/include
14 all: terminfo.tmp
15 run_tic.sed:
16 WHICH_XTERM=xterm-new \
17 ticdir=terminfo \
18 sh ${MISCDIR}/gen_edit.sh > $@
20 terminfo.tmp: run_tic.sed ${TSOURCE}
21 sed -f run_tic.sed ${TSOURCE} > $@
23 #termcap: terminfo.tmp
24 # egrep -v '^(#|$$)' terminfo.tmp > $@
26 # termorarily use gnu tic
27 install: terminfo.tmp
28 TIC_PATH=/usr/bin/tic \
29 DESTDIR=${DESTDIR} \
30 prefix=${prefix} \
31 exec_prefix=${exec_prefix} \
32 bindir=${bindir} \
33 top_srcdir=${top_srcdir} \
34 srcdir=${srcdir} \
35 datadir=${datadir} \
36 ticdir=${ticdir} \
37 source=terminfo.tmp \
38 cross_compiling=no \
39 sh ${MISCDIR}/run_tic.sh 2>/dev/null
40 egrep -v '^(#|$$)' terminfo.tmp > ${DESTDIR}/etc/termcap
43 # ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g sys -m 644 termcap \
44 # ${DESTDIR}/etc/termcap
46 .include <bsd.prog.mk>