Module Name: src
Committed By: mrg
Date: Wed Mar 14 06:06:40 UTC 2018
Modified Files:
src/external/mit/xorg/bin/xterm: Makefile
Log Message:
build Tekparse.hin VTparse.hin normally.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/mit/xorg/bin/xterm/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mit/xorg/bin/xterm/Makefile
diff -u src/external/mit/xorg/bin/xterm/Makefile:1.15 src/external/mit/xorg/bin/xterm/Makefile:1.16
--- src/external/mit/xorg/bin/xterm/Makefile:1.15 Thu Jul 23 09:37:59 2015
+++ src/external/mit/xorg/bin/xterm/Makefile Wed Mar 14 06:06:40 2018
@@ -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 @@ SRCS= button.c charproc.c charsets.c cur
# 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 @@ 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 <bsd.x11.mk>