Index: Makefile =================================================================== RCS file: /cvsroot/src/external/mit/xorg/bin/xterm/Makefile,v retrieving revision 1.15 diff -p -u -r1.15 Makefile --- Makefile 23 Jul 2015 09:37:59 -0000 1.15 +++ Makefile 17 Feb 2021 03:08:23 -0000 @@ -4,15 +4,17 @@ PROG= xterm SRCS= button.c charproc.c charsets.c cursor.c data.c doublechr.c \ - fontutils.c input.c linedata.c menu.c misc.c print.c ptydata.c \ - screen.c scrollback.c scrollbar.c tabs.c util.c xstrings.c \ - TekPrsTbl.c Tekproc.c VTPrsTbl.c main.c charclass.c precompose.c \ - wcwidth.c xutf8.c cachedGCs.c xtermcap.c version.c + graphics.c graphics_sixel.c fontutils.c input.c linedata.c menu.c \ + misc.c print.c ptydata.c screen.c scrollback.c scrollbar.c tabs.c \ + util.c xstrings.c TekPrsTbl.c Tekproc.c VTPrsTbl.c main.c \ + charclass.c precompose.c wcwidth.c xutf8.c cachedGCs.c xtermcap.c \ + svg.c html.c version.c # graphics_regis.c graphics_sixel.c # xterm.appdata.xml -CPPFLAGS+= -I${X11SRCDIR.${PROG}} \ +CPPFLAGS+= -I. \ + -I${X11SRCDIR.${PROG}} \ -I${X11SRCDIR.${PROG}}/../include \ -I${DESTDIR}${X11INCDIR}/freetype2 \ -DPROJECTROOT=${X11ROOTDIR} \ @@ -44,6 +46,12 @@ COPTS.input.c+= -Wno-error # uses XKeyco # XXXMRG should probably build builtin_icons.h +.SUFFIXES: .def .hin +.def.hin: + ${TOOL_AWK} '/^CASE_/{printf "#define %s %d\n", $$1, n++}' < $< >$@ +DPSRCS+= Tekparse.hin VTparse.hin +CLEANFILES+= Tekparse.hin VTparse.hin + .include "Makefile.inc" .include