1 .
include "Makefile.entries"
5 CLEANFILES
+= run_tic.sed run_tic.sh terminfo.tmp termcap
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
16 WHICH_XTERM
=xterm-new \
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
28 TIC_PATH
=/usr
/bin
/tic \
31 exec_prefix=${exec_prefix} \
33 top_srcdir
=${top_srcdir} \
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
>