Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/bin/xterm build Tekparse.hin VTparse.hin n...



details:   https://anonhg.NetBSD.org/src/rev/6ecd5fd58f74
branches:  trunk
changeset: 321383:6ecd5fd58f74
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Mar 14 06:06:40 2018 +0000

description:
build Tekparse.hin VTparse.hin normally.

diffstat:

 external/mit/xorg/bin/xterm/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 1776947f96d2 -r 6ecd5fd58f74 external/mit/xorg/bin/xterm/Makefile
--- a/external/mit/xorg/bin/xterm/Makefile      Wed Mar 14 02:13:47 2018 +0000
+++ b/external/mit/xorg/bin/xterm/Makefile      Wed Mar 14 06:06:40 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.15 2015/07/23 09:37:59 mrg Exp $
+#      $NetBSD: Makefile,v 1.16 2018/03/14 06:06:40 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -12,7 +12,8 @@
 # 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 +45,12 @@
 
 # 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 <bsd.x11.mk>



Home | Main Index | Thread Index | Old Index