[PATCH test/xts v2 17/20] Build XtC

Peter Harris pharris at opentext.com
Wed Jul 25 12:05:39 PDT 2012


Signed-off-by: Peter Harris <pharris at opentext.com>
---
 configure.ac         |    1 +
 xts5/Makefile.am     |    2 +-
 xts5/XtC/.gitignore  |   29 ++++++++++++++++++++++++++++
 xts5/XtC/Makefile.am |   51 ++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 82 insertions(+), 1 deletions(-)
 create mode 100644 xts5/XtC/.gitignore
 create mode 100644 xts5/XtC/Makefile.am

diff --git a/configure.ac b/configure.ac
index 85374bc..668f1bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -196,6 +196,7 @@ xts5/Xt12/Makefile
 xts5/Xt13/Makefile
 xts5/Xt14/Makefile
 xts5/Xt15/Makefile
+xts5/XtC/Makefile
 xts5/SHAPE/Makefile
 xts5/XIproto/Makefile
 xts5/XI/Makefile
diff --git a/xts5/Makefile.am b/xts5/Makefile.am
index 2be947b..0d56020 100644
--- a/xts5/Makefile.am
+++ b/xts5/Makefile.am
@@ -3,7 +3,7 @@ include common.mk
 SUBDIRS = . fonts src scenarios Xproto Xopen Xlib3 Xlib4 Xlib5 Xlib6 \
 	Xlib7 Xlib8 Xlib9 Xlib10 Xlib11 Xlib12 Xlib13 Xlib14 Xlib15 \
 	Xlib16 Xlib17 SHAPE XIproto XI Xt3 Xt4 Xt5 Xt6 Xt7 Xt8 Xt9 \
-	Xt10 Xt11 Xt12 Xt13 Xt14 Xt15
+	Xt10 Xt11 Xt12 Xt13 Xt14 Xt15 XtC
 noinst_HEADERS = include
 
 CLEANFILES = */*/tet_lock bin/xts-config bin/xts-run tetexec.cfg
diff --git a/xts5/XtC/.gitignore b/xts5/XtC/.gitignore
new file mode 100644
index 0000000..d29b2be
--- /dev/null
+++ b/xts5/XtC/.gitignore
@@ -0,0 +1,29 @@
+XtAddActions
+XtAddConverter
+XtAddInput
+XtAddTimeOut
+XtAddWorkProc
+XtAppAddConverter
+XtConvert
+XtCreateApplicationShell
+XtDestroyGC
+XtDirectConvert
+XtError
+XtErrorMsg
+XtGetErrorDatabase
+XtGetErrorDatabaseText
+XtGetSelectionTimeout
+XtInitialize
+XtMainLoop
+XtNextEvent
+XtPeekEvent
+XtPending
+XtProcessEvent
+XtSetErrorHandler
+XtSetErrorMsgHandler
+XtSetSelectionTimeout
+XtSetWarningHandler
+XtSetWarningMsgHandler
+XtStringConversionWarning
+XtWarning
+XtWarningMsg
diff --git a/xts5/XtC/Makefile.am b/xts5/XtC/Makefile.am
new file mode 100644
index 0000000..58a7c86
--- /dev/null
+++ b/xts5/XtC/Makefile.am
@@ -0,0 +1,51 @@
+include ../common.mk
+AUTOMAKE_OPTIONS = subdir-objects
+
+AM_CFLAGS = -I$(top_srcdir)/include \
+	-I$(top_srcdir)/src/tet3/inc \
+	-I$(top_srcdir)/xts5/include \
+	$(XTS_CFLAGS) $(XAW_CFLAGS)
+LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \
+	$(top_builddir)/xts5/src/libxts5.la \
+	$(top_builddir)/xts5/src/libXtTest/libXtTest.la \
+	$(top_builddir)/xts5/src/libXtaw/libXtaw.la \
+	$(top_builddir)/src/tet3/apilib/libapi.la \
+	$(top_builddir)/src/tet3/apilib/libapi_s.la \
+	$(XTS_LIBS) $(XAW_LIBS)
+
+testprogdir = $(libexecdir)/$(subdir)
+nobase_testprog_PROGRAMS = $(tprogs)
+BUILT_SOURCES = $(tprogs:=.c)
+EXTRA_DIST = $(addsuffix .m,$(filter-out %_m,$(tprogs)))
+DISTCLEANFILES = $(BUILT_SOURCES)
+
+tprogs = \
+	XtAddActions \
+	XtAddConverter \
+	XtAddInput \
+	XtAddTimeOut \
+	XtAddWorkProc \
+	XtAppAddConverter \
+	XtConvert \
+	XtCreateApplicationShell \
+	XtDestroyGC \
+	XtDirectConvert \
+	XtError \
+	XtErrorMsg \
+	XtGetErrorDatabase \
+	XtGetErrorDatabaseText \
+	XtGetSelectionTimeout \
+	XtInitialize \
+	XtMainLoop \
+	XtNextEvent \
+	XtPeekEvent \
+	XtPending \
+	XtProcessEvent \
+	XtSetErrorHandler \
+	XtSetErrorMsgHandler \
+	XtSetSelectionTimeout \
+	XtSetWarningHandler \
+	XtSetWarningMsgHandler \
+	XtStringConversionWarning \
+	XtWarning \
+	XtWarningMsg
-- 
1.7.2.5



More information about the xorg-devel mailing list