Add test case for #662395
[platform/upstream/glib.git] / gio / tests / Makefile.am
1
2 NULL =
3 BUILT_SOURCES =
4
5 include $(top_srcdir)/Makefile.decl
6
7 SUBDIRS = gdbus-object-manager-example
8
9 INCLUDES =                      \
10         -g                      \
11         $(gio_INCLUDES)         \
12         $(GLIB_DEBUG_FLAGS)     \
13         -I$(top_builddir)/gio   \
14         -I$(top_srcdir)/gio     \
15         $(DBUS1_CFLAGS)         \
16         -DSRCDIR=\""$(srcdir)"\"
17
18 noinst_PROGRAMS = $(TEST_PROGS) $(SAMPLE_PROGS)
19 noinst_DATA = $(MISC_STUFF)
20
21 progs_ldadd     =                                       \
22         $(top_builddir)/glib/libglib-2.0.la             \
23         $(top_builddir)/gthread/libgthread-2.0.la       \
24         $(top_builddir)/gobject/libgobject-2.0.la       \
25         $(top_builddir)/gio/libgio-2.0.la
26
27 TEST_PROGS +=                   \
28         io-stream               \
29         actions                 \
30         memory-input-stream     \
31         memory-output-stream    \
32         readwrite               \
33         g-file                  \
34         g-file-info             \
35         converter-stream        \
36         data-input-stream       \
37         data-output-stream      \
38         g-icon                  \
39         buffered-input-stream   \
40         buffered-output-stream  \
41         sleepy-stream           \
42         filter-streams          \
43         volumemonitor           \
44         simple-async-result     \
45         srvtarget               \
46         contexts                \
47         gsettings               \
48         gschema-compile         \
49         async-close-output-stream \
50         gdbus-addresses         \
51         network-address         \
52         gdbus-message           \
53         socket                  \
54         pollable                \
55         tls-certificate         \
56         tls-interaction         \
57         cancellable             \
58         vfs                     \
59         network-monitor         \
60         fileattributematcher    \
61         $(NULL)
62
63 if OS_UNIX
64 TEST_PROGS +=                   \
65         gdbus-close-pending     \
66         gdbus-connection        \
67         gdbus-connection-flush  \
68         gdbus-connection-loss   \
69         gdbus-connection-slow   \
70         gdbus-names             \
71         gdbus-proxy             \
72         gdbus-proxy-threads     \
73         gdbus-proxy-well-known-name \
74         gdbus-introspection     \
75         gdbus-threading         \
76         gdbus-export            \
77         gdbus-error             \
78         gdbus-peer              \
79         gdbus-exit-on-close     \
80         gdbus-non-socket        \
81         gdbus-bz627724          \
82         appinfo                 \
83         contenttype             \
84         mimeapps                \
85         file                    \
86         $(NULL)
87 endif
88
89 SAMPLE_PROGS =                          \
90         resolver                        \
91         socket-server                   \
92         socket-client                   \
93         echo-server                     \
94         httpd                           \
95         send-data                       \
96         filter-cat                      \
97         gdbus-example-export            \
98         gdbus-example-own-name          \
99         gdbus-example-watch-name        \
100         gdbus-example-watch-proxy       \
101         gdbus-example-server            \
102         gdbus-example-subtree           \
103         gdbus-example-peer              \
104         gdbus-example-proxy-subclass    \
105         gdbus-connection-flush-helper   \
106         appinfo-test                    \
107         proxy                           \
108         gapplication-example-open       \
109         gapplication-example-cmdline    \
110         gapplication-example-cmdline2   \
111         gapplication-example-cmdline3   \
112         gapplication-example-actions    \
113         $(NULL)
114
115
116 if OS_UNIX
117 TEST_PROGS +=                   \
118         live-g-file             \
119         desktop-app-info        \
120         unix-fd                 \
121         unix-streams            \
122         gapplication            \
123         basic-application       \
124         gdbus-test-codegen      \
125         $(NULL)
126 SAMPLE_PROGS +=                                 \
127         gdbus-example-unix-fd-client            \
128         gdbus-example-objectmanager-server      \
129         gdbus-example-objectmanager-client      \
130         $(NULL)
131 endif
132
133 if OS_WIN32
134 TEST_PROGS += win32-streams
135 endif
136
137 io_stream_SOURCES = io-stream.c
138 io_stream_LDADD   = $(progs_ldadd)
139
140 actions_LDADD     = $(progs_ldadd)
141
142 memory_input_stream_SOURCES       = memory-input-stream.c
143 memory_input_stream_LDADD         = $(progs_ldadd)
144
145 memory_output_stream_SOURCES      = memory-output-stream.c
146 memory_output_stream_LDADD        = $(progs_ldadd)
147
148 g_file_SOURCES    = g-file.c
149 g_file_LDADD      = $(progs_ldadd)
150
151 readwrite_SOURCES         = readwrite.c
152 readwrite_LDADD   = $(progs_ldadd)
153
154 g_file_info_SOURCES     = g-file-info.c
155 g_file_info_LDADD       = $(progs_ldadd)
156
157 converter_stream_SOURCES        = converter-stream.c
158 converter_stream_LDADD          = $(progs_ldadd)
159
160 data_input_stream_SOURCES       = data-input-stream.c
161 data_input_stream_LDADD         = $(progs_ldadd)
162
163 data_output_stream_SOURCES      = data-output-stream.c
164 data_output_stream_LDADD        = $(progs_ldadd)
165
166 async_close_output_stream_SOURCES       = async-close-output-stream.c
167 async_close_output_stream_LDADD         = $(progs_ldadd)
168
169 filter_cat_SOURCES      = filter-cat.c
170 filter_cat_LDADD        = $(progs_ldadd)
171
172 g_icon_SOURCES  = g-icon.c
173 g_icon_LDADD    = $(progs_ldadd)
174
175 buffered_input_stream_SOURCES   = buffered-input-stream.c
176 buffered_input_stream_LDADD     = $(progs_ldadd)
177
178 buffered_output_stream_SOURCES  = buffered-output-stream.c
179 buffered_output_stream_LDADD    = $(progs_ldadd)
180
181 live_g_file_SOURCES       = live-g-file.c
182 live_g_file_LDADD         = $(progs_ldadd)
183
184 desktop_app_info_SOURCES  = desktop-app-info.c
185 desktop_app_info_LDADD    = $(progs_ldadd)
186
187 unix_streams_SOURCES      = unix-streams.c
188 unix_streams_LDADD        = $(progs_ldadd) \
189         $(top_builddir)/gthread/libgthread-2.0.la
190
191 win32_streams_SOURCES     = win32-streams.c
192 win32_streams_LDADD       = $(progs_ldadd) \
193         $(top_builddir)/gthread/libgthread-2.0.la
194
195 unix_fd_SOURCES   = unix-fd.c
196 unix_fd_LDADD     = $(progs_ldadd)
197
198 simple_async_result_SOURCES     = simple-async-result.c
199 simple_async_result_LDADD       = $(progs_ldadd)
200
201 sleepy_stream_SOURCES           = sleepy-stream.c
202 sleepy_stream_LDADD             = $(progs_ldadd)
203
204 filter_streams_SOURCES          = filter-streams.c
205 filter_streams_LDADD            = $(progs_ldadd)
206
207 volumemonitor_SOURCES           = volumemonitor.c
208 volumemonitor_LDADD             = $(progs_ldadd)
209
210 resolver_SOURCES          = resolver.c
211 resolver_LDADD            = $(progs_ldadd) \
212         $(top_builddir)/gthread/libgthread-2.0.la
213
214 socket_server_SOURCES     = socket-server.c
215 socket_server_LDADD       = $(progs_ldadd) \
216         $(top_builddir)/gthread/libgthread-2.0.la
217
218 socket_client_SOURCES     = socket-client.c \
219                             gtlsconsoleinteraction.c \
220                             gtlsconsoleinteraction.h
221 socket_client_LDADD       = $(progs_ldadd) \
222         $(top_builddir)/gthread/libgthread-2.0.la
223
224 echo_server_SOURCES       = echo-server.c
225 echo_server_LDADD         = $(progs_ldadd) \
226         $(top_builddir)/gthread/libgthread-2.0.la
227
228 httpd_SOURCES             = httpd.c
229 httpd_LDADD               = $(progs_ldadd) \
230         $(top_builddir)/gthread/libgthread-2.0.la
231
232 send_data_SOURCES         = send-data.c
233 send_data_LDADD           = $(progs_ldadd) \
234         $(top_builddir)/gthread/libgthread-2.0.la
235
236 srvtarget_SOURCES         = srvtarget.c
237 srvtarget_LDADD           = $(progs_ldadd)
238
239 network_address_SOURCE    = network-address.c
240 network_address_LDADD     = $(progs_ldadd)
241
242 socket_SOURCE             = socket.c
243 socket_LDADD              = $(progs_ldadd)
244
245 pollable_SOURCE           = pollable.c
246 pollable_LDADD            = $(progs_ldadd)
247
248 contexts_SOURCES          = contexts.c
249 contexts_LDADD            = $(progs_ldadd) \
250         $(top_builddir)/gthread/libgthread-2.0.la
251
252 gsettings_SOURCES         = gsettings.c
253 gsettings_LDADD           = $(progs_ldadd)
254
255 gschema_compile_SOURCES   = gschema-compile.c
256 gschema_compile_LDADD     = $(progs_ldadd)
257
258 if HAVE_DBUS1
259 TEST_PROGS += gdbus-serialization
260 gdbus_serialization_SOURCES = gdbus-serialization.c gdbus-tests.h gdbus-tests.c
261 gdbus_serialization_CFLAGS = $(DBUS1_CFLAGS)
262 gdbus_serialization_LDADD = $(progs_ldadd) $(DBUS1_LIBS)
263 endif
264
265 gdbus_addresses_SOURCES = gdbus-addresses.c
266 gdbus_addresses_LDADD = $(progs_ldadd)
267
268 gdbus_bz627724_SOURCES = gdbus-bz627724.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
269 gdbus_bz627724_LDADD = $(progs_ldadd)
270
271 gdbus_close_pending_SOURCES = gdbus-close-pending.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
272 gdbus_close_pending_LDADD = $(progs_ldadd)
273
274 if OS_UNIX
275 gdbus-test-codegen-generated.h gdbus-test-codegen-generated.c : test-codegen.xml Makefile $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen
276         $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \
277                 UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \
278                 $(PYTHON) $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen \
279                 --interface-prefix org.project. \
280                 --generate-c-code gdbus-test-codegen-generated \
281                 --c-generate-object-manager \
282                 --c-namespace Foo_iGen \
283                 --generate-docbook gdbus-test-codegen-generated-doc \
284                 --annotate "org.project.Bar" Key1 Value1 \
285                 --annotate "org.project.Bar" org.gtk.GDBus.Internal Value2 \
286                 --annotate "org.project.Bar.HelloWorld()" Key3 Value3 \
287                 --annotate "org.project.Bar::TestSignal" Key4 Value4 \
288                 --annotate "org.project.Bar:ay" Key5 Value5 \
289                 --annotate "org.project.Bar.TestPrimitiveTypes()[val_int32]" Key6 Value6 \
290                 --annotate "org.project.Bar.TestPrimitiveTypes()[ret_uint32]" Key7 Value7 \
291                 --annotate "org.project.Bar::TestSignal[array_of_strings]" Key8 Value8 \
292                 $(srcdir)/test-codegen.xml \
293                 $(NULL)
294
295 BUILT_SOURCES += gdbus-test-codegen-generated.c gdbus-test-codegen-generated.h
296
297 gdbus_test_codegen_SOURCES  = gdbus-test-codegen.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
298 gdbus_test_codegen_SOURCES += gdbus-test-codegen-generated.c gdbus-test-codegen-generated.h
299 gdbus_test_codegen_LDADD = $(progs_ldadd)
300 endif # OS_UNIX
301
302 gdbus_connection_SOURCES = gdbus-connection.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
303 gdbus_connection_LDADD = $(progs_ldadd)
304
305 gdbus_connection_flush_SOURCES = \
306         gdbus-connection-flush.c \
307         test-io-stream.c \
308         test-io-stream.h \
309         test-pipe-unix.c \
310         test-pipe-unix.h \
311         $(NULL)
312 gdbus_connection_flush_LDADD = $(progs_ldadd)
313
314 gdbus_connection_loss_SOURCES = gdbus-connection-loss.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
315 gdbus_connection_loss_LDADD = $(progs_ldadd)
316
317 gdbus_connection_slow_SOURCES = gdbus-connection-slow.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
318 gdbus_connection_slow_LDADD = $(progs_ldadd)
319
320 gdbus_message_SOURCES = gdbus-message.c
321 gdbus_message_LDADD = $(progs_ldadd)
322
323 gdbus_names_SOURCES = gdbus-names.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
324 gdbus_names_LDADD = $(progs_ldadd)
325
326 gdbus_proxy_SOURCES = gdbus-proxy.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
327 gdbus_proxy_LDADD = $(progs_ldadd)
328
329 gdbus_proxy_threads_SOURCES = gdbus-proxy-threads.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
330 gdbus_proxy_threads_LDADD = $(progs_ldadd)
331
332 gdbus_proxy_well_known_name_SOURCES = gdbus-proxy-well-known-name.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
333 gdbus_proxy_well_known_name_LDADD = $(progs_ldadd)
334
335 gdbus_introspection_SOURCES = gdbus-introspection.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
336 gdbus_introspection_LDADD = $(progs_ldadd)
337
338 gdbus_threading_SOURCES = gdbus-threading.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
339 gdbus_threading_LDADD = $(progs_ldadd)
340
341 gdbus_export_SOURCES = gdbus-export.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
342 gdbus_export_LDADD = $(progs_ldadd)
343
344 gdbus_error_SOURCES = gdbus-error.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
345 gdbus_error_LDADD = $(progs_ldadd)
346
347 gdbus_peer_SOURCES = gdbus-peer.c gdbus-tests.h gdbus-tests.c
348 gdbus_peer_LDADD = $(progs_ldadd)
349
350 gdbus_non_socket_SOURCES = \
351         gdbus-non-socket.c \
352         gdbus-tests.c \
353         gdbus-tests.h \
354         test-io-stream.c \
355         test-io-stream.h \
356         test-pipe-unix.c \
357         test-pipe-unix.h \
358         $(NULL)
359 gdbus_non_socket_LDADD = $(progs_ldadd)
360
361 gdbus_exit_on_close_SOURCES = gdbus-exit-on-close.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
362 gdbus_exit_on_close_LDADD = $(progs_ldadd)
363
364 gdbus_example_watch_name_SOURCES = gdbus-example-watch-name.c
365 gdbus_example_watch_name_LDADD   = $(progs_ldadd)
366
367 gdbus_example_watch_proxy_SOURCES = gdbus-example-watch-proxy.c
368 gdbus_example_watch_proxy_LDADD   = $(progs_ldadd)
369
370 gdbus_example_own_name_SOURCES = gdbus-example-own-name.c
371 gdbus_example_own_name_LDADD   = $(progs_ldadd)
372
373 gdbus_example_server_SOURCES = gdbus-example-server.c
374 gdbus_example_server_LDADD   = $(progs_ldadd)
375
376 gdbus_example_unix_fd_client_SOURCES = gdbus-example-unix-fd-client.c
377 gdbus_example_unix_fd_client_LDADD   = $(progs_ldadd)
378
379 gdbus_example_subtree_SOURCES = gdbus-example-subtree.c
380 gdbus_example_subtree_LDADD   = $(progs_ldadd)
381
382 gdbus_example_peer_SOURCES = gdbus-example-peer.c
383 gdbus_example_peer_LDADD   = $(progs_ldadd)
384
385 gdbus_example_proxy_subclass_SOURCES = gdbus-example-proxy-subclass.c
386 gdbus_example_proxy_subclass_LDADD   = $(progs_ldadd)
387
388 gdbus_example_export_SOURCES = gdbus-example-export.c
389 gdbus_example_export_LDADD   = $(progs_ldadd)
390
391 gdbus_connection_flush_helper_SOURCES = gdbus-connection-flush-helper.c
392 gdbus_connection_flush_helper_LDADD = $(progs_ldadd)
393
394 appinfo_SOURCES = appinfo.c
395 appinfo_LDADD   = $(progs_ldadd)
396
397 appinfo_test_SOURCES = appinfo-test.c
398 appinfo_test_LDADD   = $(progs_ldadd)
399
400 contenttype_SOURCES = contenttype.c
401 contenttype_LDADD   = $(progs_ldadd)
402
403 mimeapps_SOURCES = mimeapps.c
404 mimeapps_LDADD   = $(progs_ldadd)
405
406 file_SOURCES = file.c
407 file_LDADD   = $(progs_ldadd)
408
409 fileattributematcher_SOURCES = fileattributematcher.c
410 fileattributematcher_LDADD   = $(progs_ldadd)
411
412 gapplication_SOURCES = gapplication.c gdbus-sessionbus.c
413 gapplication_LDADD = $(progs_ldadd)
414
415 basic_application_LDADD = $(progs_ldadd)
416
417 gapplication_example_open_SOURCES = gapplication-example-open.c
418 gapplication_example_open_LDADD   = $(progs_ldadd)
419
420 gapplication_example_cmdline_SOURCES = gapplication-example-cmdline.c
421 gapplication_example_cmdline_LDADD   = $(progs_ldadd)
422
423 gapplication_example_cmdline2_SOURCES = gapplication-example-cmdline2.c
424 gapplication_example_cmdline2_LDADD   = $(progs_ldadd)
425
426 gapplication_example_cmdline3_SOURCES = gapplication-example-cmdline3.c
427 gapplication_example_cmdline3_LDADD   = $(progs_ldadd)
428
429 gapplication_example_actions_SOURCES = gapplication-example-actions.c
430 gapplication_example_actions_LDADD   = $(progs_ldadd)
431
432 schema_tests = \
433         schema-tests/array-default-not-in-choices.gschema.xml           \
434         schema-tests/bad-choice.gschema.xml                             \
435         schema-tests/bad-key.gschema.xml                                \
436         schema-tests/bad-key2.gschema.xml                               \
437         schema-tests/bad-key3.gschema.xml                               \
438         schema-tests/bad-key4.gschema.xml                               \
439         schema-tests/bad-type.gschema.xml                               \
440         schema-tests/bare-alias.gschema.xml                             \
441         schema-tests/choice-alias.gschema.xml                           \
442         schema-tests/choice-bad.gschema.xml                             \
443         schema-tests/choice-badtype.gschema.xml                         \
444         schema-tests/choice-invalid-alias.gschema.xml                   \
445         schema-tests/choice-missing-value.gschema.xml                   \
446         schema-tests/choice-shadowed-alias.gschema.xml                  \
447         schema-tests/choice-upside-down.gschema.xml                     \
448         schema-tests/choice.gschema.xml                                 \
449         schema-tests/choices-wrong-type.gschema.xml                     \
450         schema-tests/default-in-aliases.gschema.xml                     \
451         schema-tests/default-not-in-choices.gschema.xml                 \
452         schema-tests/default-out-of-range.gschema.xml                   \
453         schema-tests/empty-key.gschema.xml                              \
454         schema-tests/enum-with-aliases.gschema.xml                      \
455         schema-tests/enum-with-bad-default.gschema.xml                  \
456         schema-tests/enum-with-chained-alias.gschema.xml                \
457         schema-tests/enum-with-choice.gschema.xml                       \
458         schema-tests/enum-with-invalid-alias.gschema.xml                \
459         schema-tests/enum-with-repeated-alias.gschema.xml               \
460         schema-tests/enum-with-repeated-nick.gschema.xml                \
461         schema-tests/enum-with-repeated-value.gschema.xml               \
462         schema-tests/enum-with-shadow-alias.gschema.xml                 \
463         schema-tests/enum.gschema.xml                                   \
464         schema-tests/flags-aliased-default.gschema.xml                  \
465         schema-tests/flags-bad-default.gschema.xml                      \
466         schema-tests/flags-more-than-one-bit.gschema.xml                \
467         schema-tests/flags-with-enum-attr.gschema.xml                   \
468         schema-tests/flags-with-enum-tag.gschema.xml                    \
469         schema-tests/extend-and-shadow-indirect.gschema.xml             \
470         schema-tests/extend-and-shadow.gschema.xml                      \
471         schema-tests/extend-missing.gschema.xml                         \
472         schema-tests/extend-nonlist.gschema.xml                         \
473         schema-tests/extend-self.gschema.xml                            \
474         schema-tests/extend-wrong-list-indirect.gschema.xml             \
475         schema-tests/extend-wrong-list.gschema.xml                      \
476         schema-tests/extending.gschema.xml                              \
477         schema-tests/from-docs.gschema.xml                              \
478         schema-tests/incomplete-list.gschema.xml                        \
479         schema-tests/inherit-gettext-domain.gschema.xml                 \
480         schema-tests/invalid-path.gschema.xml                           \
481         schema-tests/key-in-list-indirect.gschema.xml                   \
482         schema-tests/key-in-list.gschema.xml                            \
483         schema-tests/list-of-missing.gschema.xml                        \
484         schema-tests/missing-quotes.gschema.xml                         \
485         schema-tests/no-default.gschema.xml                             \
486         schema-tests/overflow.gschema.xml                               \
487         schema-tests/override-missing.gschema.xml                       \
488         schema-tests/override-range-error.gschema.xml                   \
489         schema-tests/override-then-key.gschema.xml                      \
490         schema-tests/override-twice.gschema.xml                         \
491         schema-tests/override-type-error.gschema.xml                    \
492         schema-tests/override.gschema.xml                               \
493         schema-tests/range-badtype.gschema.xml                          \
494         schema-tests/range-default-high.gschema.xml                     \
495         schema-tests/range-default-low.gschema.xml                      \
496         schema-tests/range-high-default.gschema.xml                     \
497         schema-tests/range-low-default.gschema.xml                      \
498         schema-tests/range-missing-max.gschema.xml                      \
499         schema-tests/range-missing-min.gschema.xml                      \
500         schema-tests/range-parse-error.gschema.xml                      \
501         schema-tests/range-wrong-type.gschema.xml                       \
502         schema-tests/range.gschema.xml                                  \
503         schema-tests/wrong-category.gschema.xml
504
505 proxy_SOURCES = proxy.c
506 proxy_LDADD   = $(progs_ldadd) \
507         $(top_builddir)/gthread/libgthread-2.0.la
508
509 tls_certificate_SOURCES = tls-certificate.c gtesttlsbackend.c gtesttlsbackend.h
510 tls_certificate_LDADD   = $(progs_ldadd)
511
512 tls_interaction_LDADD = $(progs_ldadd)
513
514 cancellable_LDADD = $(progs_ldadd)
515
516 vfs_LDADD = $(progs_ldadd)
517
518 network_monitor_LDADD = $(progs_ldadd)
519
520 # -----------------------------------------------------------------------------
521
522 if OS_UNIX
523 gdbus_example_objectmanager_server_SOURCES  = gdbus-example-objectmanager-server.c
524 gdbus_example_objectmanager_server_CFLAGS   = -I$(top_builddir)/gio/tests/gdbus-object-manager-example
525 gdbus_example_objectmanager_server_LDADD    = $(top_builddir)/gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.la $(progs_ldadd)
526
527 gdbus_example_objectmanager_client_SOURCES  = gdbus-example-objectmanager-client.c
528 gdbus_example_objectmanager_client_CFLAGS   = -I$(top_builddir)/gio/tests/gdbus-object-manager-example
529 gdbus_example_objectmanager_client_LDADD    = $(top_builddir)/gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.la $(progs_ldadd)
530 endif OS_UNIX
531
532 # -----------------------------------------------------------------------------
533
534 EXTRA_DIST += \
535         socket-common.c                 \
536         org.gtk.test.gschema            \
537         org.gtk.test.gschema.xml        \
538         testenum.h                      \
539         enums.xml.template              \
540         de.po                           \
541         $(schema_tests)                 \
542         org.gtk.schemasourcecheck.gschema.xml \
543         appinfo-test.desktop            \
544         appinfo-test2.desktop           \
545         appinfo-test-gnome.desktop      \
546         appinfo-test-notgnome.desktop   \
547         gdbus-testserver.py             \
548         test-codegen.xml                \
549         cert1.pem                       \
550         cert2.pem                       \
551         cert3.pem                       \
552         key.pem                         \
553         key-cert.pem                    \
554         cert-key.pem                    \
555         cert-list.pem                   \
556         nothing.pem                     \
557         $(NULL)
558
559 MISC_STUFF = test.mo
560
561 test.mo: de.po
562         $(MSGFMT) -o test.mo $(srcdir)/de.po; \
563         $(MKDIR_P) de/LC_MESSAGES; \
564         cp -f test.mo de/LC_MESSAGES
565
566 CLEANFILES = gdbus-test-codegen-generated.[ch] gdbus-test-codegen-generated-doc-*.xml
567
568 DISTCLEANFILES = \
569         applications/mimeinfo.cache     \
570         org.gtk.test.enums.xml          \
571         de/LC_MESSAGES/test.mo          \
572         test.mo                         \
573         gsettings.store                 \
574         gschemas.compiled               \
575         schema-source/gschemas.compiled
576
577 distclean-local:
578         rm -r xdgdatahome xdgdatadir