3 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/glib -I$(top_srcdir)/gmodule $(GLIB_DEBUG_FLAGS)
7 libglib = $(top_builddir)/glib/libglib-2.0.la
8 libgthread = $(top_builddir)/gthread/libgthread-2.0.la
9 libgmodule = $(top_builddir)/gmodule/libgmodule-2.0.la
10 libgobject = $(top_builddir)/gobject/libgobject-2.0.la
13 libadd_libgmodule = $(libgmodule)
14 libadd_libglib = $(libglib)
15 no_undefined = -no-undefined
17 module_test_exp = module-test.exp
19 module-test.exp: module-test.o
20 dlltool --output-exp module-test.exp module-test.o
22 spawn_test_win32_gui = spawn-test-win32-gui
24 spawn_test_win32_gui_LDFLAGS = -mwindows
35 iochannel-test-infile \
43 cxx_test_LDADD = $(progs_ldadd)
44 cxx_test_SOURCES = cxx-test.C
50 timeloop = timeloop timeloop-closure
52 noinst_PROGRAMS = testglib testgdate testgdateparser unicode-normalize unicode-collate $(timeloop)
53 testglib_LDADD = $(libglib)
54 patterntest_LDADD = $(libglib)
55 testgdate_LDADD = $(libglib)
56 testgdateparser_LDADD = $(libglib)
57 unicode_normalize_LDADD = $(libglib)
58 unicode_collate_LDADD = $(libglib)
60 timeloop_LDADD = $(libglib)
61 timeloop_closure_LDADD = $(libglib) $(libgobject)
93 $(spawn_test_win32_gui) \
106 test_scripts = run-markup-tests.sh
108 test_script_support_programs = markup-test
110 check_PROGRAMS = $(test_programs) $(test_script_support_programs)
112 TESTS = $(test_programs) $(test_scripts)
113 TESTS_ENVIRONMENT = srcdir=$(srcdir) \
114 LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset \
117 progs_ldadd = $(EFENCE) $(libglib) $(EFENCE)
118 thread_ldadd = $(libgthread) $(G_THREAD_LIBS) $(progs_ldadd)
119 module_ldadd = $(libgmodule) $(G_MODULE_LIBS) $(progs_ldadd)
121 atomic_test_LDADD = $(progs_ldadd)
122 array_test_LDADD = $(progs_ldadd)
123 child_test_LDADD = $(thread_ldadd)
124 completion_test_LDADD = $(progs_ldadd)
125 date_test_LDADD = $(progs_ldadd)
126 dirname_test_LDADD = $(progs_ldadd)
127 file_test_LDADD = $(progs_ldadd)
128 env_test_LDADD = $(progs_ldadd)
129 gio_test_LDADD = $(progs_ldadd)
130 hash_test_LDADD = $(progs_ldadd)
131 iochannel_test_LDADD = $(progs_ldadd)
132 keyfile_test_LDADD = $(progs_ldadd)
133 list_test_LDADD = $(progs_ldadd)
134 mainloop_test_LDADD = $(thread_ldadd)
135 markup_test_LDADD = $(progs_ldadd)
136 markup_escape_test_LDADD = $(progs_ldadd)
137 module_test_LDADD = $(module_ldadd) $(module_test_exp)
138 module_test_LDFLAGS = $(G_MODULE_LDFLAGS)
139 node_test_LDADD = $(progs_ldadd)
140 option_test_LDADD = $(progs_ldadd)
141 printf_test_LDADD = $(progs_ldadd)
142 queue_test_LDADD = $(progs_ldadd)
143 qsort_test_LDADD = $(progs_ldadd)
144 rand_test_LDADD = $(progs_ldadd)
145 relation_test_LDADD = $(progs_ldadd)
146 shell_test_LDADD = $(progs_ldadd)
147 slist_test_LDADD = $(progs_ldadd)
148 spawn_test_LDADD = $(progs_ldadd)
149 strfunc_test_LDADD = $(progs_ldadd)
150 string_test_LDADD = $(progs_ldadd)
151 strtod_test_LDADD = $(progs_ldadd) -lm
152 thread_test_LDADD = $(thread_ldadd)
153 threadpool_test_LDADD = $(thread_ldadd)
154 tree_test_LDADD = $(progs_ldadd)
155 type_test_LDADD = $(progs_ldadd)
156 unicode_encoding_LDADD = $(progs_ldadd)
157 unicode_caseconv_LDADD = $(progs_ldadd)
158 utf8_validate_LDADD = $(progs_ldadd)
159 uri_test_LDADD = $(progs_ldadd)
161 lib_LTLIBRARIES = libmoduletestplugin_a.la libmoduletestplugin_b.la
163 # Prevent those libs from being installed
164 install-libLTLIBRARIES:
167 libmoduletestplugin_a_la_SOURCES = libmoduletestplugin_a.c
168 libmoduletestplugin_a_la_LDFLAGS = $(G_MODULE_LDFLAGS) -avoid-version -module $(no_undefined) -rpath $(libdir)
169 libmoduletestplugin_a_la_LIBADD = $(G_MODULE_LIBS) $(libadd_libgmodule) $(libadd_libglib)
171 libmoduletestplugin_b_la_SOURCES = libmoduletestplugin_b.c
172 libmoduletestplugin_b_la_LDFLAGS = $(G_MODULE_LDFLAGS) -avoid-version -module $(no_undefined) -rpath $(libdir)
173 libmoduletestplugin_b_la_LIBADD = $(G_MODULE_LIBS) $(libadd_libgmodule) $(libadd_libglib)
175 dist-hook: $(BUILT_EXTRA_DIST)
176 files='$(BUILT_EXTRA_DIST)'; \
177 for f in $$files; do \
178 if test -f $$f; then d=.; else d=$(srcdir); fi; \
179 cp $$d/$$f $(distdir) || exit 1; done
180 mkdir $(distdir)/markups; \
181 for f in $(srcdir)/markups/* ; do \
182 cp $$f $(distdir)/markups; \
185 DISTCLEANFILES = iochannel-test-outfile