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