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) LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \ $(top_builddir)/xts5/src/libxts5.la \ $(top_builddir)/src/tet3/apilib/libapi.la \ $(top_builddir)/src/tet3/apilib/libapi_s.la \ $(XTS_LIBS) testprogdir = $(libexecdir)/$(subdir) nobase_testprog_PROGRAMS = $(tprogs) BUILT_SOURCES = $(tprogs:=.c) EXTRA_DIST = $(addsuffix .m,$(filter-out %_m,$(tprogs))) DISTCLEANFILES = $(BUILT_SOURCES) tprogs = \ XCheckIfEvent \ XCheckMaskEvent \ XCheckTypedEvent \ XCheckTypedWindowEvent \ XCheckWindowEvent \ XDisplayMotionBufferSize \ XDisplayName/XDisplayName \ XEventsQueued \ XFlush \ XGetErrorDatabaseText \ XGetErrorText \ XGetMotionEvents \ XIfEvent \ XMaskEvent \ XNextEvent \ XPeekEvent \ XPeekIfEvent \ XPending \ XPutBackEvent \ XSelectInput \ XSendEvent \ XSetAfterFunction \ XSetErrorHandler \ XSetIOErrorHandler \ XSync \ XSynchronize \ XWindowEvent # Auxiliary programs run from tests nobase_testprog_PROGRAMS += XDisplayName/Test1 XDisplayName_Test1_LDADD = $(top_builddir)/src/tet3/tcm/libtcmchild.la \ $(top_builddir)/xts5/src/xim/libximtest.la \ $(top_builddir)/xts5/src/lib/libxtest.la \ $(top_builddir)/xts5/fonts/libfont.la \ $(top_builddir)/src/tet3/apilib/libapi.la \ $(top_builddir)/src/tet3/apilib/libapi_s.la \ $(XTS_LIBS)