5 include $(top_srcdir)/Makefile.decl
7 SUBDIRS = gdbus-object-manager-example
13 -I$(top_builddir)/gio \
16 -DSRCDIR=\""$(srcdir)"\"
18 noinst_PROGRAMS = $(TEST_PROGS) $(SAMPLE_PROGS)
19 noinst_DATA = $(MISC_STUFF)
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
31 memory-output-stream \
39 buffered-input-stream \
40 buffered-output-stream \
49 async-close-output-stream \
60 fileattributematcher \
67 gdbus-connection-loss \
68 gdbus-connection-slow \
72 gdbus-proxy-well-known-name \
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 \
103 gdbus-example-proxy-subclass \
104 gdbus-connection-flush-helper \
107 gapplication-example-open \
108 gapplication-example-cmdline \
109 gapplication-example-cmdline2 \
110 gapplication-example-cmdline3 \
111 gapplication-example-actions \
126 gdbus-example-unix-fd-client \
127 gdbus-example-objectmanager-server \
128 gdbus-example-objectmanager-client \
133 TEST_PROGS += win32-streams
136 io_stream_SOURCES = io-stream.c
137 io_stream_LDADD = $(progs_ldadd)
139 actions_LDADD = $(progs_ldadd)
141 memory_input_stream_SOURCES = memory-input-stream.c
142 memory_input_stream_LDADD = $(progs_ldadd)
144 memory_output_stream_SOURCES = memory-output-stream.c
145 memory_output_stream_LDADD = $(progs_ldadd)
147 g_file_SOURCES = g-file.c
148 g_file_LDADD = $(progs_ldadd)
150 readwrite_SOURCES = readwrite.c
151 readwrite_LDADD = $(progs_ldadd)
153 g_file_info_SOURCES = g-file-info.c
154 g_file_info_LDADD = $(progs_ldadd)
156 converter_stream_SOURCES = converter-stream.c
157 converter_stream_LDADD = $(progs_ldadd)
159 data_input_stream_SOURCES = data-input-stream.c
160 data_input_stream_LDADD = $(progs_ldadd)
162 data_output_stream_SOURCES = data-output-stream.c
163 data_output_stream_LDADD = $(progs_ldadd)
165 async_close_output_stream_SOURCES = async-close-output-stream.c
166 async_close_output_stream_LDADD = $(progs_ldadd)
168 filter_cat_SOURCES = filter-cat.c
169 filter_cat_LDADD = $(progs_ldadd)
171 g_icon_SOURCES = g-icon.c
172 g_icon_LDADD = $(progs_ldadd)
174 buffered_input_stream_SOURCES = buffered-input-stream.c
175 buffered_input_stream_LDADD = $(progs_ldadd)
177 buffered_output_stream_SOURCES = buffered-output-stream.c
178 buffered_output_stream_LDADD = $(progs_ldadd)
180 live_g_file_SOURCES = live-g-file.c
181 live_g_file_LDADD = $(progs_ldadd)
183 desktop_app_info_SOURCES = desktop-app-info.c
184 desktop_app_info_LDADD = $(progs_ldadd)
186 unix_streams_SOURCES = unix-streams.c
187 unix_streams_LDADD = $(progs_ldadd) \
188 $(top_builddir)/gthread/libgthread-2.0.la
190 win32_streams_SOURCES = win32-streams.c
191 win32_streams_LDADD = $(progs_ldadd) \
192 $(top_builddir)/gthread/libgthread-2.0.la
194 unix_fd_SOURCES = unix-fd.c
195 unix_fd_LDADD = $(progs_ldadd)
197 simple_async_result_SOURCES = simple-async-result.c
198 simple_async_result_LDADD = $(progs_ldadd)
200 sleepy_stream_SOURCES = sleepy-stream.c
201 sleepy_stream_LDADD = $(progs_ldadd)
203 filter_streams_SOURCES = filter-streams.c
204 filter_streams_LDADD = $(progs_ldadd)
206 volumemonitor_SOURCES = volumemonitor.c
207 volumemonitor_LDADD = $(progs_ldadd)
209 resolver_SOURCES = resolver.c
210 resolver_LDADD = $(progs_ldadd) \
211 $(top_builddir)/gthread/libgthread-2.0.la
213 socket_server_SOURCES = socket-server.c
214 socket_server_LDADD = $(progs_ldadd) \
215 $(top_builddir)/gthread/libgthread-2.0.la
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
223 echo_server_SOURCES = echo-server.c
224 echo_server_LDADD = $(progs_ldadd) \
225 $(top_builddir)/gthread/libgthread-2.0.la
227 httpd_SOURCES = httpd.c
228 httpd_LDADD = $(progs_ldadd) \
229 $(top_builddir)/gthread/libgthread-2.0.la
231 send_data_SOURCES = send-data.c
232 send_data_LDADD = $(progs_ldadd) \
233 $(top_builddir)/gthread/libgthread-2.0.la
235 srvtarget_SOURCES = srvtarget.c
236 srvtarget_LDADD = $(progs_ldadd)
238 network_address_SOURCE = network-address.c
239 network_address_LDADD = $(progs_ldadd)
241 socket_SOURCE = socket.c
242 socket_LDADD = $(progs_ldadd)
244 pollable_SOURCE = pollable.c
245 pollable_LDADD = $(progs_ldadd)
247 contexts_SOURCES = contexts.c
248 contexts_LDADD = $(progs_ldadd) \
249 $(top_builddir)/gthread/libgthread-2.0.la
251 gsettings_SOURCES = gsettings.c
252 gsettings_LDADD = $(progs_ldadd)
254 gschema_compile_SOURCES = gschema-compile.c
255 gschema_compile_LDADD = $(progs_ldadd)
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)
264 gdbus_addresses_SOURCES = gdbus-addresses.c
265 gdbus_addresses_LDADD = $(progs_ldadd)
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)
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)
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 \
294 BUILT_SOURCES += gdbus-test-codegen-generated.c gdbus-test-codegen-generated.h
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)
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)
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)
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)
310 gdbus_message_SOURCES = gdbus-message.c
311 gdbus_message_LDADD = $(progs_ldadd)
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)
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)
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)
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)
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)
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)
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)
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)
337 gdbus_peer_SOURCES = gdbus-peer.c gdbus-tests.h gdbus-tests.c
338 gdbus_peer_LDADD = $(progs_ldadd)
340 gdbus_non_socket_SOURCES = gdbus-non-socket.c gdbus-tests.h gdbus-tests.c
341 gdbus_non_socket_LDADD = $(progs_ldadd)
343 gdbus_exit_on_close_SOURCES = gdbus-exit-on-close.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
344 gdbus_exit_on_close_LDADD = $(progs_ldadd)
346 gdbus_example_watch_name_SOURCES = gdbus-example-watch-name.c
347 gdbus_example_watch_name_LDADD = $(progs_ldadd)
349 gdbus_example_watch_proxy_SOURCES = gdbus-example-watch-proxy.c
350 gdbus_example_watch_proxy_LDADD = $(progs_ldadd)
352 gdbus_example_own_name_SOURCES = gdbus-example-own-name.c
353 gdbus_example_own_name_LDADD = $(progs_ldadd)
355 gdbus_example_server_SOURCES = gdbus-example-server.c
356 gdbus_example_server_LDADD = $(progs_ldadd)
358 gdbus_example_unix_fd_client_SOURCES = gdbus-example-unix-fd-client.c
359 gdbus_example_unix_fd_client_LDADD = $(progs_ldadd)
361 gdbus_example_subtree_SOURCES = gdbus-example-subtree.c
362 gdbus_example_subtree_LDADD = $(progs_ldadd)
364 gdbus_example_peer_SOURCES = gdbus-example-peer.c
365 gdbus_example_peer_LDADD = $(progs_ldadd)
367 gdbus_example_proxy_subclass_SOURCES = gdbus-example-proxy-subclass.c
368 gdbus_example_proxy_subclass_LDADD = $(progs_ldadd)
370 gdbus_example_export_SOURCES = gdbus-example-export.c
371 gdbus_example_export_LDADD = $(progs_ldadd)
373 gdbus_connection_flush_helper_SOURCES = gdbus-connection-flush-helper.c
374 gdbus_connection_flush_helper_LDADD = $(progs_ldadd)
376 appinfo_SOURCES = appinfo.c
377 appinfo_LDADD = $(progs_ldadd)
379 appinfo_test_SOURCES = appinfo-test.c
380 appinfo_test_LDADD = $(progs_ldadd)
382 contenttype_SOURCES = contenttype.c
383 contenttype_LDADD = $(progs_ldadd)
385 mimeapps_SOURCES = mimeapps.c
386 mimeapps_LDADD = $(progs_ldadd)
388 file_SOURCES = file.c
389 file_LDADD = $(progs_ldadd)
391 fileattributematcher_SOURCES = fileattributematcher.c
392 fileattributematcher_LDADD = $(progs_ldadd)
394 gapplication_SOURCES = gapplication.c gdbus-sessionbus.c
395 gapplication_LDADD = $(progs_ldadd)
397 basic_application_LDADD = $(progs_ldadd)
399 gapplication_example_open_SOURCES = gapplication-example-open.c
400 gapplication_example_open_LDADD = $(progs_ldadd)
402 gapplication_example_cmdline_SOURCES = gapplication-example-cmdline.c
403 gapplication_example_cmdline_LDADD = $(progs_ldadd)
405 gapplication_example_cmdline2_SOURCES = gapplication-example-cmdline2.c
406 gapplication_example_cmdline2_LDADD = $(progs_ldadd)
408 gapplication_example_cmdline3_SOURCES = gapplication-example-cmdline3.c
409 gapplication_example_cmdline3_LDADD = $(progs_ldadd)
411 gapplication_example_actions_SOURCES = gapplication-example-actions.c
412 gapplication_example_actions_LDADD = $(progs_ldadd)
415 schema-tests/array-default-not-in-choices.gschema.xml \
416 schema-tests/bad-choice.gschema.xml \
417 schema-tests/bad-key.gschema.xml \
418 schema-tests/bad-key2.gschema.xml \
419 schema-tests/bad-key3.gschema.xml \
420 schema-tests/bad-key4.gschema.xml \
421 schema-tests/bad-type.gschema.xml \
422 schema-tests/bare-alias.gschema.xml \
423 schema-tests/choice-alias.gschema.xml \
424 schema-tests/choice-bad.gschema.xml \
425 schema-tests/choice-badtype.gschema.xml \
426 schema-tests/choice-invalid-alias.gschema.xml \
427 schema-tests/choice-missing-value.gschema.xml \
428 schema-tests/choice-shadowed-alias.gschema.xml \
429 schema-tests/choice-upside-down.gschema.xml \
430 schema-tests/choice.gschema.xml \
431 schema-tests/choices-wrong-type.gschema.xml \
432 schema-tests/default-in-aliases.gschema.xml \
433 schema-tests/default-not-in-choices.gschema.xml \
434 schema-tests/default-out-of-range.gschema.xml \
435 schema-tests/empty-key.gschema.xml \
436 schema-tests/enum-with-aliases.gschema.xml \
437 schema-tests/enum-with-bad-default.gschema.xml \
438 schema-tests/enum-with-chained-alias.gschema.xml \
439 schema-tests/enum-with-choice.gschema.xml \
440 schema-tests/enum-with-invalid-alias.gschema.xml \
441 schema-tests/enum-with-repeated-alias.gschema.xml \
442 schema-tests/enum-with-repeated-nick.gschema.xml \
443 schema-tests/enum-with-repeated-value.gschema.xml \
444 schema-tests/enum-with-shadow-alias.gschema.xml \
445 schema-tests/enum.gschema.xml \
446 schema-tests/flags-aliased-default.gschema.xml \
447 schema-tests/flags-bad-default.gschema.xml \
448 schema-tests/flags-more-than-one-bit.gschema.xml \
449 schema-tests/flags-with-enum-attr.gschema.xml \
450 schema-tests/flags-with-enum-tag.gschema.xml \
451 schema-tests/extend-and-shadow-indirect.gschema.xml \
452 schema-tests/extend-and-shadow.gschema.xml \
453 schema-tests/extend-missing.gschema.xml \
454 schema-tests/extend-nonlist.gschema.xml \
455 schema-tests/extend-self.gschema.xml \
456 schema-tests/extend-wrong-list-indirect.gschema.xml \
457 schema-tests/extend-wrong-list.gschema.xml \
458 schema-tests/extending.gschema.xml \
459 schema-tests/from-docs.gschema.xml \
460 schema-tests/incomplete-list.gschema.xml \
461 schema-tests/inherit-gettext-domain.gschema.xml \
462 schema-tests/invalid-path.gschema.xml \
463 schema-tests/key-in-list-indirect.gschema.xml \
464 schema-tests/key-in-list.gschema.xml \
465 schema-tests/list-of-missing.gschema.xml \
466 schema-tests/missing-quotes.gschema.xml \
467 schema-tests/no-default.gschema.xml \
468 schema-tests/overflow.gschema.xml \
469 schema-tests/override-missing.gschema.xml \
470 schema-tests/override-range-error.gschema.xml \
471 schema-tests/override-then-key.gschema.xml \
472 schema-tests/override-twice.gschema.xml \
473 schema-tests/override-type-error.gschema.xml \
474 schema-tests/override.gschema.xml \
475 schema-tests/range-badtype.gschema.xml \
476 schema-tests/range-default-high.gschema.xml \
477 schema-tests/range-default-low.gschema.xml \
478 schema-tests/range-high-default.gschema.xml \
479 schema-tests/range-low-default.gschema.xml \
480 schema-tests/range-missing-max.gschema.xml \
481 schema-tests/range-missing-min.gschema.xml \
482 schema-tests/range-parse-error.gschema.xml \
483 schema-tests/range-wrong-type.gschema.xml \
484 schema-tests/range.gschema.xml \
485 schema-tests/wrong-category.gschema.xml
487 proxy_SOURCES = proxy.c
488 proxy_LDADD = $(progs_ldadd) \
489 $(top_builddir)/gthread/libgthread-2.0.la
491 tls_certificate_SOURCES = tls-certificate.c gtesttlsbackend.c gtesttlsbackend.h
492 tls_certificate_LDADD = $(progs_ldadd)
494 tls_interaction_LDADD = $(progs_ldadd)
496 cancellable_LDADD = $(progs_ldadd)
498 vfs_LDADD = $(progs_ldadd)
500 network_monitor_LDADD = $(progs_ldadd)
502 # -----------------------------------------------------------------------------
505 gdbus_example_objectmanager_server_SOURCES = gdbus-example-objectmanager-server.c
506 gdbus_example_objectmanager_server_CFLAGS = -I$(top_builddir)/gio/tests/gdbus-object-manager-example
507 gdbus_example_objectmanager_server_LDADD = $(top_builddir)/gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.la $(progs_ldadd)
509 gdbus_example_objectmanager_client_SOURCES = gdbus-example-objectmanager-client.c
510 gdbus_example_objectmanager_client_CFLAGS = -I$(top_builddir)/gio/tests/gdbus-object-manager-example
511 gdbus_example_objectmanager_client_LDADD = $(top_builddir)/gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.la $(progs_ldadd)
514 # -----------------------------------------------------------------------------
518 org.gtk.test.gschema \
519 org.gtk.test.gschema.xml \
524 org.gtk.schemasourcecheck.gschema.xml \
525 appinfo-test.desktop \
526 appinfo-test2.desktop \
527 appinfo-test-gnome.desktop \
528 appinfo-test-notgnome.desktop \
529 gdbus-testserver.py \
544 $(MSGFMT) -o test.mo $(srcdir)/de.po; \
545 $(MKDIR_P) de/LC_MESSAGES; \
546 cp -f test.mo de/LC_MESSAGES
548 CLEANFILES = gdbus-test-codegen-generated.[ch] gdbus-test-codegen-generated-doc-*.xml
551 applications/mimeinfo.cache \
552 org.gtk.test.enums.xml \
553 de/LC_MESSAGES/test.mo \
557 schema-source/gschemas.compiled
560 rm -r xdgdatahome xdgdatadir