4 include $(top_srcdir)/Makefile.decl
6 SUBDIRS = gdbus-object-manager-example
12 -I$(top_builddir)/gio \
15 -DSRCDIR=\""$(srcdir)"\"
17 noinst_PROGRAMS = $(TEST_PROGS) $(SAMPLE_PROGS)
18 noinst_DATA = $(MISC_STUFF)
21 $(top_builddir)/glib/libglib-2.0.la \
22 $(top_builddir)/gthread/libgthread-2.0.la \
23 $(top_builddir)/gobject/libgobject-2.0.la \
24 $(top_builddir)/gio/libgio-2.0.la
30 memory-output-stream \
38 buffered-input-stream \
39 buffered-output-stream \
48 async-close-output-stream \
62 gdbus-connection-slow \
66 gdbus-proxy-well-known-name \
90 gdbus-example-export \
91 gdbus-example-own-name \
92 gdbus-example-watch-name \
93 gdbus-example-watch-proxy \
94 gdbus-example-server \
95 gdbus-example-subtree \
97 gdbus-example-proxy-subclass \
98 gdbus-connection-flush-helper \
101 gapplication-example-open \
102 gapplication-example-cmdline \
103 gapplication-example-cmdline2 \
104 gapplication-example-cmdline3 \
105 gapplication-example-actions \
119 gdbus-example-unix-fd-client \
120 gdbus-example-objectmanager-server \
121 gdbus-example-objectmanager-client \
126 TEST_PROGS += win32-streams
129 io_stream_SOURCES = io-stream.c
130 io_stream_LDADD = $(progs_ldadd)
132 actions_LDADD = $(progs_ldadd)
134 memory_input_stream_SOURCES = memory-input-stream.c
135 memory_input_stream_LDADD = $(progs_ldadd)
137 memory_output_stream_SOURCES = memory-output-stream.c
138 memory_output_stream_LDADD = $(progs_ldadd)
140 g_file_SOURCES = g-file.c
141 g_file_LDADD = $(progs_ldadd)
143 readwrite_SOURCES = readwrite.c
144 readwrite_LDADD = $(progs_ldadd)
146 g_file_info_SOURCES = g-file-info.c
147 g_file_info_LDADD = $(progs_ldadd)
149 converter_stream_SOURCES = converter-stream.c
150 converter_stream_LDADD = $(progs_ldadd)
152 data_input_stream_SOURCES = data-input-stream.c
153 data_input_stream_LDADD = $(progs_ldadd)
155 data_output_stream_SOURCES = data-output-stream.c
156 data_output_stream_LDADD = $(progs_ldadd)
158 async_close_output_stream_SOURCES = async-close-output-stream.c
159 async_close_output_stream_LDADD = $(progs_ldadd)
161 filter_cat_SOURCES = filter-cat.c
162 filter_cat_LDADD = $(progs_ldadd)
164 g_icon_SOURCES = g-icon.c
165 g_icon_LDADD = $(progs_ldadd)
167 buffered_input_stream_SOURCES = buffered-input-stream.c
168 buffered_input_stream_LDADD = $(progs_ldadd)
170 buffered_output_stream_SOURCES = buffered-output-stream.c
171 buffered_output_stream_LDADD = $(progs_ldadd)
173 live_g_file_SOURCES = live-g-file.c
174 live_g_file_LDADD = $(progs_ldadd)
176 desktop_app_info_SOURCES = desktop-app-info.c
177 desktop_app_info_LDADD = $(progs_ldadd)
179 unix_streams_SOURCES = unix-streams.c
180 unix_streams_LDADD = $(progs_ldadd) \
181 $(top_builddir)/gthread/libgthread-2.0.la
183 win32_streams_SOURCES = win32-streams.c
184 win32_streams_LDADD = $(progs_ldadd) \
185 $(top_builddir)/gthread/libgthread-2.0.la
187 unix_fd_SOURCES = unix-fd.c
188 unix_fd_LDADD = $(progs_ldadd)
190 simple_async_result_SOURCES = simple-async-result.c
191 simple_async_result_LDADD = $(progs_ldadd)
193 sleepy_stream_SOURCES = sleepy-stream.c
194 sleepy_stream_LDADD = $(progs_ldadd)
196 filter_streams_SOURCES = filter-streams.c
197 filter_streams_LDADD = $(progs_ldadd)
199 volumemonitor_SOURCES = volumemonitor.c
200 volumemonitor_LDADD = $(progs_ldadd)
202 resolver_SOURCES = resolver.c
203 resolver_LDADD = $(progs_ldadd) \
204 $(top_builddir)/gthread/libgthread-2.0.la
206 socket_server_SOURCES = socket-server.c
207 socket_server_LDADD = $(progs_ldadd) \
208 $(top_builddir)/gthread/libgthread-2.0.la
210 socket_client_SOURCES = socket-client.c \
211 gtlsconsoleinteraction.c \
212 gtlsconsoleinteraction.h
213 socket_client_LDADD = $(progs_ldadd) \
214 $(top_builddir)/gthread/libgthread-2.0.la
216 echo_server_SOURCES = echo-server.c
217 echo_server_LDADD = $(progs_ldadd) \
218 $(top_builddir)/gthread/libgthread-2.0.la
220 httpd_SOURCES = httpd.c
221 httpd_LDADD = $(progs_ldadd) \
222 $(top_builddir)/gthread/libgthread-2.0.la
224 send_data_SOURCES = send-data.c
225 send_data_LDADD = $(progs_ldadd) \
226 $(top_builddir)/gthread/libgthread-2.0.la
228 srvtarget_SOURCES = srvtarget.c
229 srvtarget_LDADD = $(progs_ldadd)
231 network_address_SOURCE = network-address.c
232 network_address_LDADD = $(progs_ldadd)
234 socket_SOURCE = socket.c
235 socket_LDADD = $(progs_ldadd)
237 pollable_SOURCE = pollable.c
238 pollable_LDADD = $(progs_ldadd)
240 contexts_SOURCES = contexts.c
241 contexts_LDADD = $(progs_ldadd) \
242 $(top_builddir)/gthread/libgthread-2.0.la
244 gsettings_SOURCES = gsettings.c
245 gsettings_LDADD = $(progs_ldadd)
247 gschema_compile_SOURCES = gschema-compile.c
248 gschema_compile_LDADD = $(progs_ldadd)
251 TEST_PROGS += gdbus-serialization
252 gdbus_serialization_SOURCES = gdbus-serialization.c gdbus-tests.h gdbus-tests.c
253 gdbus_serialization_CFLAGS = $(DBUS1_CFLAGS)
254 gdbus_serialization_LDADD = $(progs_ldadd) $(DBUS1_LIBS)
257 gdbus_addresses_SOURCES = gdbus-addresses.c
258 gdbus_addresses_LDADD = $(progs_ldadd)
260 gdbus_bz627724_SOURCES = gdbus-bz627724.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
261 gdbus_bz627724_LDADD = $(progs_ldadd)
264 gdbus-test-codegen-generated.h gdbus-test-codegen-generated.c : test-codegen.xml
265 $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \
266 UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \
267 $(PYTHON) $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen \
268 --interface-prefix org.project. \
269 --generate-c-code gdbus-test-codegen-generated \
270 --c-generate-object-manager \
272 --generate-docbook gdbus-test-codegen-generated-doc \
273 --annotate "org.project.Bar" Key1 Value1 \
274 --annotate "org.project.Bar" org.gtk.GDBus.Internal Value2 \
275 --annotate "org.project.Bar.HelloWorld()" Key3 Value3 \
276 --annotate "org.project.Bar::TestSignal" Key4 Value4 \
277 --annotate "org.project.Bar:ay" Key5 Value5 \
278 --annotate "org.project.Bar.TestPrimitiveTypes()[val_int32]" Key6 Value6 \
279 --annotate "org.project.Bar.TestPrimitiveTypes()[ret_uint32]" Key7 Value7 \
280 --annotate "org.project.Bar::TestSignal[array_of_strings]" Key8 Value8 \
281 $(srcdir)/test-codegen.xml \
284 BUILT_SOURCES += gdbus-test-codegen-generated.c gdbus-test-codegen-generated.h
286 gdbus_test_codegen_SOURCES = gdbus-test-codegen.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
287 gdbus_test_codegen_SOURCES += gdbus-test-codegen-generated.c gdbus-test-codegen-generated.h
288 gdbus_test_codegen_LDADD = $(progs_ldadd)
291 gdbus_connection_SOURCES = gdbus-connection.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
292 gdbus_connection_LDADD = $(progs_ldadd)
294 gdbus_connection_slow_SOURCES = gdbus-connection-slow.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
295 gdbus_connection_slow_LDADD = $(progs_ldadd)
297 gdbus_message_SOURCES = gdbus-message.c
298 gdbus_message_LDADD = $(progs_ldadd)
300 gdbus_names_SOURCES = gdbus-names.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
301 gdbus_names_LDADD = $(progs_ldadd)
303 gdbus_proxy_SOURCES = gdbus-proxy.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
304 gdbus_proxy_LDADD = $(progs_ldadd)
306 gdbus_proxy_threads_SOURCES = gdbus-proxy-threads.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
307 gdbus_proxy_threads_LDADD = $(progs_ldadd)
309 gdbus_proxy_well_known_name_SOURCES = gdbus-proxy-well-known-name.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
310 gdbus_proxy_well_known_name_LDADD = $(progs_ldadd)
312 gdbus_introspection_SOURCES = gdbus-introspection.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
313 gdbus_introspection_LDADD = $(progs_ldadd)
315 gdbus_threading_SOURCES = gdbus-threading.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
316 gdbus_threading_LDADD = $(progs_ldadd)
318 gdbus_export_SOURCES = gdbus-export.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
319 gdbus_export_LDADD = $(progs_ldadd)
321 gdbus_error_SOURCES = gdbus-error.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
322 gdbus_error_LDADD = $(progs_ldadd)
324 gdbus_peer_SOURCES = gdbus-peer.c gdbus-tests.h gdbus-tests.c
325 gdbus_peer_LDADD = $(progs_ldadd)
327 gdbus_non_socket_SOURCES = gdbus-non-socket.c gdbus-tests.h gdbus-tests.c
328 gdbus_non_socket_LDADD = $(progs_ldadd)
330 gdbus_exit_on_close_SOURCES = gdbus-exit-on-close.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
331 gdbus_exit_on_close_LDADD = $(progs_ldadd)
333 gdbus_example_watch_name_SOURCES = gdbus-example-watch-name.c
334 gdbus_example_watch_name_LDADD = $(progs_ldadd)
336 gdbus_example_watch_proxy_SOURCES = gdbus-example-watch-proxy.c
337 gdbus_example_watch_proxy_LDADD = $(progs_ldadd)
339 gdbus_example_own_name_SOURCES = gdbus-example-own-name.c
340 gdbus_example_own_name_LDADD = $(progs_ldadd)
342 gdbus_example_server_SOURCES = gdbus-example-server.c
343 gdbus_example_server_LDADD = $(progs_ldadd)
345 gdbus_example_unix_fd_client_SOURCES = gdbus-example-unix-fd-client.c
346 gdbus_example_unix_fd_client_LDADD = $(progs_ldadd)
348 gdbus_example_subtree_SOURCES = gdbus-example-subtree.c
349 gdbus_example_subtree_LDADD = $(progs_ldadd)
351 gdbus_example_peer_SOURCES = gdbus-example-peer.c
352 gdbus_example_peer_LDADD = $(progs_ldadd)
354 gdbus_example_proxy_subclass_SOURCES = gdbus-example-proxy-subclass.c
355 gdbus_example_proxy_subclass_LDADD = $(progs_ldadd)
357 gdbus_example_export_SOURCES = gdbus-example-export.c
358 gdbus_example_export_LDADD = $(progs_ldadd)
360 gdbus_connection_flush_helper_SOURCES = gdbus-connection-flush-helper.c
361 gdbus_connection_flush_helper_LDADD = $(progs_ldadd)
363 appinfo_SOURCES = appinfo.c
364 appinfo_LDADD = $(progs_ldadd)
366 appinfo_test_SOURCES = appinfo-test.c
367 appinfo_test_LDADD = $(progs_ldadd)
369 contenttype_SOURCES = contenttype.c
370 contenttype_LDADD = $(progs_ldadd)
372 mimeapps_SOURCES = mimeapps.c
373 mimeapps_LDADD = $(progs_ldadd)
375 file_SOURCES = file.c
376 file_LDADD = $(progs_ldadd)
378 gapplication_SOURCES = gapplication.c gdbus-sessionbus.c
379 gapplication_LDADD = $(progs_ldadd)
381 gapplication_example_open_SOURCES = gapplication-example-open.c
382 gapplication_example_open_LDADD = $(progs_ldadd)
384 gapplication_example_cmdline_SOURCES = gapplication-example-cmdline.c
385 gapplication_example_cmdline_LDADD = $(progs_ldadd)
387 gapplication_example_cmdline2_SOURCES = gapplication-example-cmdline2.c
388 gapplication_example_cmdline2_LDADD = $(progs_ldadd)
390 gapplication_example_cmdline3_SOURCES = gapplication-example-cmdline3.c
391 gapplication_example_cmdline3_LDADD = $(progs_ldadd)
393 gapplication_example_actions_SOURCES = gapplication-example-actions.c
394 gapplication_example_actions_LDADD = $(progs_ldadd)
397 schema-tests/array-default-not-in-choices.gschema.xml \
398 schema-tests/bad-choice.gschema.xml \
399 schema-tests/bad-key.gschema.xml \
400 schema-tests/bad-key2.gschema.xml \
401 schema-tests/bad-key3.gschema.xml \
402 schema-tests/bad-key4.gschema.xml \
403 schema-tests/bad-type.gschema.xml \
404 schema-tests/bare-alias.gschema.xml \
405 schema-tests/choice-alias.gschema.xml \
406 schema-tests/choice-bad.gschema.xml \
407 schema-tests/choice-badtype.gschema.xml \
408 schema-tests/choice-invalid-alias.gschema.xml \
409 schema-tests/choice-missing-value.gschema.xml \
410 schema-tests/choice-shadowed-alias.gschema.xml \
411 schema-tests/choice-upside-down.gschema.xml \
412 schema-tests/choice.gschema.xml \
413 schema-tests/choices-wrong-type.gschema.xml \
414 schema-tests/default-in-aliases.gschema.xml \
415 schema-tests/default-not-in-choices.gschema.xml \
416 schema-tests/default-out-of-range.gschema.xml \
417 schema-tests/empty-key.gschema.xml \
418 schema-tests/enum-with-aliases.gschema.xml \
419 schema-tests/enum-with-bad-default.gschema.xml \
420 schema-tests/enum-with-chained-alias.gschema.xml \
421 schema-tests/enum-with-choice.gschema.xml \
422 schema-tests/enum-with-invalid-alias.gschema.xml \
423 schema-tests/enum-with-repeated-alias.gschema.xml \
424 schema-tests/enum-with-repeated-nick.gschema.xml \
425 schema-tests/enum-with-repeated-value.gschema.xml \
426 schema-tests/enum-with-shadow-alias.gschema.xml \
427 schema-tests/enum.gschema.xml \
428 schema-tests/flags-aliased-default.gschema.xml \
429 schema-tests/flags-bad-default.gschema.xml \
430 schema-tests/flags-more-than-one-bit.gschema.xml \
431 schema-tests/flags-with-enum-attr.gschema.xml \
432 schema-tests/flags-with-enum-tag.gschema.xml \
433 schema-tests/extend-and-shadow-indirect.gschema.xml \
434 schema-tests/extend-and-shadow.gschema.xml \
435 schema-tests/extend-missing.gschema.xml \
436 schema-tests/extend-nonlist.gschema.xml \
437 schema-tests/extend-self.gschema.xml \
438 schema-tests/extend-wrong-list-indirect.gschema.xml \
439 schema-tests/extend-wrong-list.gschema.xml \
440 schema-tests/extending.gschema.xml \
441 schema-tests/from-docs.gschema.xml \
442 schema-tests/incomplete-list.gschema.xml \
443 schema-tests/inherit-gettext-domain.gschema.xml \
444 schema-tests/invalid-path.gschema.xml \
445 schema-tests/key-in-list-indirect.gschema.xml \
446 schema-tests/key-in-list.gschema.xml \
447 schema-tests/list-of-missing.gschema.xml \
448 schema-tests/missing-quotes.gschema.xml \
449 schema-tests/no-default.gschema.xml \
450 schema-tests/overflow.gschema.xml \
451 schema-tests/override-missing.gschema.xml \
452 schema-tests/override-range-error.gschema.xml \
453 schema-tests/override-then-key.gschema.xml \
454 schema-tests/override-twice.gschema.xml \
455 schema-tests/override-type-error.gschema.xml \
456 schema-tests/override.gschema.xml \
457 schema-tests/range-badtype.gschema.xml \
458 schema-tests/range-default-high.gschema.xml \
459 schema-tests/range-default-low.gschema.xml \
460 schema-tests/range-high-default.gschema.xml \
461 schema-tests/range-low-default.gschema.xml \
462 schema-tests/range-missing-max.gschema.xml \
463 schema-tests/range-missing-min.gschema.xml \
464 schema-tests/range-parse-error.gschema.xml \
465 schema-tests/range-wrong-type.gschema.xml \
466 schema-tests/range.gschema.xml \
467 schema-tests/wrong-category.gschema.xml
469 proxy_SOURCES = proxy.c
470 proxy_LDADD = $(progs_ldadd) \
471 $(top_builddir)/gthread/libgthread-2.0.la
473 tls_certificate_SOURCES = tls-certificate.c gtesttlsbackend.c gtesttlsbackend.h
474 tls_certificate_LDADD = $(progs_ldadd)
476 tls_interaction_LDADD = $(progs_ldadd)
478 cancellable_LDADD = $(progs_ldadd)
480 # -----------------------------------------------------------------------------
483 gdbus_example_objectmanager_server_SOURCES = gdbus-example-objectmanager-server.c
484 gdbus_example_objectmanager_server_CFLAGS = -I$(top_builddir)/gio/tests/gdbus-object-manager-example
485 gdbus_example_objectmanager_server_LDADD = $(top_builddir)/gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.la $(progs_ldadd)
487 gdbus_example_objectmanager_client_SOURCES = gdbus-example-objectmanager-client.c
488 gdbus_example_objectmanager_client_CFLAGS = -I$(top_builddir)/gio/tests/gdbus-object-manager-example
489 gdbus_example_objectmanager_client_LDADD = $(top_builddir)/gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.la $(progs_ldadd)
492 # -----------------------------------------------------------------------------
496 org.gtk.test.gschema \
497 org.gtk.test.gschema.xml \
502 appinfo-test.desktop \
503 appinfo-test2.desktop \
504 appinfo-test-gnome.desktop \
505 appinfo-test-notgnome.desktop \
506 gdbus-testserver.py \
521 $(MSGFMT) -o test.mo $(srcdir)/de.po; \
522 $(MKDIR_P) de/LC_MESSAGES; \
523 cp -f test.mo de/LC_MESSAGES
525 CLEANFILES = gdbus-test-codegen-generated.[ch] gdbus-test-codegen-generated-doc-*.xml
528 applications/mimeinfo.cache \
529 org.gtk.test.enums.xml \
530 de/LC_MESSAGES/test.mo \
536 rm -r xdgdatahome xdgdatadir