blob: 077b4f3b108ae216a695c93f5fb6fcc8ae2a8e7f (
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
include $(top_srcdir)/Makefile.decl
NULL =
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir)/gdk \
-I$(top_srcdir)/gdk \
-I$(top_builddir)/gtk \
-I$(top_srcdir)/gtk \
$(GTK_DEBUG_FLAGS) \
$(GTK_DEP_CFLAGS)
if OS_UNIX
AM_CPPFLAGS += -DHAVE_UNIX_PRINT_WIDGETS
endif
DEPS = \
$(top_builddir)/gtk/libgtk-3.la
LDADD = \
$(top_builddir)/gtk/libgtk-3.la \
$(top_builddir)/gdk/libgdk-3.la \
$(GTK_DEP_LIBS)
noinst_PROGRAMS = $(TEST_PROGS)
TEST_PROGS += \
accel \
accessible \
action \
bitmask \
builder \
cellarea \
clipboard \
defaultvalue \
entry \
expander \
floating \
grid \
gtkmenu \
keyhash \
listbox \
no-gtk-init \
object \
objects-finalize \
papersize \
rbtree \
recentmanager \
regression-tests \
stylecontext \
templates \
textbuffer \
textiter \
treemodel \
treepath \
treeview \
window \
displayclose \
$(NULL)
if OS_UNIX
#TEST_PROGS += defaultvalue
endif
#TEST_PROGS += testing
#TEST_PROGS += treeview-scrolling
#TEST_PROGS += object
#TEST_PROGS += filechooser
# this doesn't work in make distcheck, since running
# on a naked X server creates slightly different event
# sequences than running on a normal desktop
# TEST_PROGS += crossingevents
treemodel_SOURCES = \
treemodel.h \
treemodel.c \
liststore.c \
treestore.c \
filtermodel.c \
sortmodel.c \
modelrefcount.c \
gtktreemodelrefcount.h \
gtktreemodelrefcount.c \
$(NULL)
builder_LDFLAGS = -export-dynamic
rbtree_CFLAGS = -DGTK_COMPILATION -UG_ENABLE_DEBUG
rbtree_LDADD = $(GTK_DEP_LIBS)
rbtree_SOURCES = \
rbtree.c \
$(top_srcdir)/gtk/gtkrbtree.h \
$(top_srcdir)/gtk/gtkrbtree.c \
$(NULL)
bitmask_CFLAGS = -DGTK_COMPILATION -UG_ENABLE_DEBUG
bitmask_LDADD = $(GTK_DEP_LIBS)
bitmask_SOURCES = \
bitmask.c \
$(top_srcdir)/gtk/gtkbitmaskprivate.h \
$(top_srcdir)/gtk/gtkallocatedbitmaskprivate.h \
$(top_srcdir)/gtk/gtkallocatedbitmask.c \
$(NULL)
keyhash_CFLAGS = \
-DGTK_COMPILATION \
-DGTK_LIBDIR=\"$(libdir)\" \
-DGTK_DATADIR=\"$(datadir)\" \
-DGTK_DATA_PREFIX=\"$(prefix)\" \
-DGTK_SYSCONFDIR=\"$(sysconfdir)\" \
$(NULL)
keyhash_SOURCES = \
keyhash.c \
$(top_srcdir)/gtk/gtkkeyhash.c \
$(top_srcdir)/gtk/gtkkeyhash.h \
$(top_builddir)/gtk/gtkresources.c \
$(top_builddir)/gtk/gtkresources.h \
$(top_srcdir)/gtk/gtkprivate.c \
$(top_srcdir)/gtk/gtkprivate.h \
$(NULL)
EXTRA_DIST += \
file-chooser-test-dir/empty \
file-chooser-test-dir/text.txt \
$(NULL)
GTK_GSETTINGS_SCHEMAS = \
$(top_srcdir)/gtk/org.gtk.Settings.ColorChooser.gschema.xml \
$(top_srcdir)/gtk/org.gtk.Settings.FileChooser.gschema.xml \
$(NULL)
BUILT_SOURCES = gschemas.compiled
CLEANFILES = gschemas.compiled
gschemas.compiled: $(GTK_GSETTINGS_SCHEMAS)
$(GLIB_COMPILE_SCHEMAS) \
$(addprefix --schema-file=,$(GTK_GSETTINGS_SCHEMAS)) \
--targetdir=$(builddir)
all-am: gschemas.compiled
if BUILDOPT_INSTALL_TESTS
insttestdir = $(pkglibexecdir)/installed-tests
insttest_PROGRAMS = $(TEST_PROGS)
%.test: %$(EXEEXT) Makefile
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
echo 'Type=session' >> $@.tmp; \
echo 'Exec=$(insttestdir)/$<' >> $@.tmp; \
mv $@.tmp $@)
test_files = $(TEST_PROGS:=.test)
DISTCLEANFILES = $(test_files)
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
testmeta_DATA = $(test_files)
endif
-include $(top_srcdir)/git.mk
|