summaryrefslogtreecommitdiff
path: root/xts5/Xlib3/Makefile.am
blob: ef1f8a1ca3b354f71a897852b5677f14eb19014b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
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)
DISTCLEANFILES = $(BUILT_SOURCES)

# Tests ending in _m test the macro version of Xlib
tprogs = XAllPlanes \
	XBlackPixel XBlackPixel_m \
	XBlackPixelOfScreen XBlackPixelOfScreen_m \
	XBitmapBitOrder XBitmapBitOrder_m \
	XBitmapPad XBitmapPad_m \
	XBitmapUnit XBitmapUnit_m \
	XCellsOfScreen XCellsOfScreen_m \
	XCloseDisplay \
	XConnectionNumber XConnectionNumber_m \
	XDefaultColormap XDefaultColormap_m \
	XDefaultColormapOfScreen XDefaultColormapOfScreen_m \
	XDefaultDepth XDefaultDepth_m \
	XDefaultDepthOfScreen XDefaultDepthOfScreen_m \
	XDefaultGC XDefaultGC_m \
	XDefaultGCOfScreen XDefaultGCOfScreen_m \
	XDefaultRootWindow XDefaultRootWindow_m \
	XDefaultScreen XDefaultScreen_m \
	XDefaultScreenOfDisplay XDefaultScreenOfDisplay_m \
	XDefaultVisual XDefaultVisual_m \
	XDefaultVisualOfScreen XDefaultVisualOfScreen_m \
	XDoesBackingStore XDoesBackingStore_m \
	XDisplayCells XDisplayCells_m \
	XDisplayHeight XDisplayHeight_m \
	XDisplayHeightMM XDisplayHeightMM_m \
	XDisplayOfScreen XDisplayOfScreen_m \
	XDisplayPlanes XDisplayPlanes_m \
	XDisplayString/XDisplayString XDisplayString/XDisplayString_m \
	XDisplayWidth XDisplayWidth_m \
	XDisplayWidthMM XDisplayWidthMM_m \
	XDoesSaveUnders XDoesSaveUnders_m \
	XEventMaskOfScreen XEventMaskOfScreen_m \
	XFree \
	XHeightMMOfScreen XHeightMMOfScreen_m \
	XHeightOfScreen XHeightOfScreen_m \
	XImageByteOrder XImageByteOrder_m \
	XListDepths \
	XLastKnownRequestProcessed XLastKnownRequestProcessed_m \
	XListPixmapFormats \
	XMinCmapsOfScreen XMinCmapsOfScreen_m \
	XMaxCmapsOfScreen XMaxCmapsOfScreen_m \
	XNoOp \
	XNextRequest XNextRequest_m \
	XOpenDisplay/XOpenDisplay \
	XPlanesOfScreen XPlanesOfScreen_m \
	XProtocolRevision XProtocolRevision_m \
	XProtocolVersion XProtocolVersion_m \
	XQLength XQLength_m \
	XRootWindow XRootWindow_m \
	XRootWindowOfScreen XRootWindowOfScreen_m \
	XScreenCount XScreenCount_m \
	XScreenNumberOfScreen \
	XScreenOfDisplay XScreenOfDisplay_m \
	XServerVendor XServerVendor_m \
	XSetCloseDownMode \
	XVendorRelease XVendorRelease_m \
	XWidthMMOfScreen XWidthMMOfScreen_m \
	XWidthOfScreen XWidthOfScreen_m \
	XWhitePixel XWhitePixel_m \
	XWhitePixelOfScreen XWhitePixelOfScreen_m

# Auxiliary programs run from tests
CHILD_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)
nobase_testprog_PROGRAMS += \
	XDisplayString/Test1 \
	XOpenDisplay/Test1
XDisplayString_Test1_LDADD = $(CHILD_LDADD)
XOpenDisplay_Test1_LDADD = $(CHILD_LDADD)