+curses.h : $(TERMINFO_CAPS) \
+ curses.head \
+ $(srcdir)/curses.tail \
+ $(srcdir)/MKkey_defs.sh
+ cat curses.head >$@
+ AWK=$(AWK) sh $(srcdir)/MKkey_defs.sh $(TERMINFO_CAPS) >>$@
+ sh -c 'if test "@NCURSES_CH_T@" = "cchar_t" ; then cat $(srcdir)/curses.wide >>$@ ; fi'
+ cat $(srcdir)/curses.tail >>$@
+
+term.h: $(TERMINFO_CAPS) MKterm.h.awk
+ $(AWK) -f MKterm.h.awk $(TERMINFO_CAPS) > $@