2011-09-12 19:24:24 +02:00
|
|
|
|
2010-05-06 20:13:59 +02:00
|
|
|
NULL =
|
2011-04-11 22:35:14 +02:00
|
|
|
BUILT_SOURCES =
|
2010-05-06 20:13:59 +02:00
|
|
|
|
2008-01-07 07:14:40 +01:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
2011-06-03 19:22:31 +02:00
|
|
|
SUBDIRS = gdbus-object-manager-example
|
|
|
|
|
2008-01-07 07:14:40 +01:00
|
|
|
INCLUDES = \
|
|
|
|
-g \
|
2010-08-06 19:09:26 +02:00
|
|
|
$(gio_INCLUDES) \
|
2009-06-17 02:22:58 +02:00
|
|
|
$(GLIB_DEBUG_FLAGS) \
|
2011-04-24 01:26:56 +02:00
|
|
|
-I$(top_builddir)/gio \
|
2011-05-05 01:44:05 +02:00
|
|
|
-I$(top_srcdir)/gio \
|
2011-08-15 17:00:51 +02:00
|
|
|
$(DBUS1_CFLAGS) \
|
2009-06-17 02:22:58 +02:00
|
|
|
-DSRCDIR=\""$(srcdir)"\"
|
2008-01-07 07:14:40 +01:00
|
|
|
|
2010-04-19 11:25:22 +02:00
|
|
|
noinst_PROGRAMS = $(TEST_PROGS) $(SAMPLE_PROGS)
|
|
|
|
noinst_DATA = $(MISC_STUFF)
|
|
|
|
|
2008-01-07 07:14:40 +01:00
|
|
|
progs_ldadd = \
|
|
|
|
$(top_builddir)/glib/libglib-2.0.la \
|
2010-05-15 10:17:35 +02:00
|
|
|
$(top_builddir)/gthread/libgthread-2.0.la \
|
2008-01-07 07:14:40 +01:00
|
|
|
$(top_builddir)/gobject/libgobject-2.0.la \
|
|
|
|
$(top_builddir)/gio/libgio-2.0.la
|
|
|
|
|
2008-06-30 05:47:27 +02:00
|
|
|
TEST_PROGS += \
|
2010-08-13 10:10:48 +02:00
|
|
|
io-stream \
|
2010-08-18 07:55:48 +02:00
|
|
|
actions \
|
2008-06-30 05:47:27 +02:00
|
|
|
memory-input-stream \
|
|
|
|
memory-output-stream \
|
2009-05-13 13:06:58 +02:00
|
|
|
readwrite \
|
2008-06-30 05:47:27 +02:00
|
|
|
g-file \
|
|
|
|
g-file-info \
|
2009-10-23 19:59:03 +02:00
|
|
|
converter-stream \
|
2008-06-30 05:47:27 +02:00
|
|
|
data-input-stream \
|
2008-10-21 13:51:48 +02:00
|
|
|
data-output-stream \
|
2008-11-28 06:57:07 +01:00
|
|
|
g-icon \
|
2009-01-05 07:58:22 +01:00
|
|
|
buffered-input-stream \
|
2010-07-05 17:12:49 +02:00
|
|
|
buffered-output-stream \
|
2009-01-28 17:39:39 +01:00
|
|
|
sleepy-stream \
|
2009-01-21 15:09:56 +01:00
|
|
|
filter-streams \
|
2010-07-26 23:59:18 +02:00
|
|
|
volumemonitor \
|
Fix multiple bugs in g_srv_target_list_sort()
In particular, targets with weight 0 should be very UNlikely to be
selected, not very likely, as they were before. However, even ignoring
that bug in the logic, there was an additional bug (swapping list
items would cause the 0-weight items to get re-ordered incorrectly
anyway), and the code contained several fencepost errors.
This patch also adds gio/tests/srvtarget.c, which confirms that for a
sample list of targets, we now generate all possible correct random
sortings and no incorrect sortings, and the correct sortings occur in
roughly the expected proportions (though if the current code is
still wrong, those proportions may be wrong as well).
http://bugzilla.gnome.org/show_bug.cgi?id=583398
2009-05-28 21:27:04 +02:00
|
|
|
simple-async-result \
|
2009-06-17 02:22:58 +02:00
|
|
|
srvtarget \
|
2010-04-17 07:43:58 +02:00
|
|
|
contexts \
|
2010-04-19 17:31:21 +02:00
|
|
|
gsettings \
|
2010-05-07 11:55:40 +02:00
|
|
|
gschema-compile \
|
2010-05-14 05:08:34 +02:00
|
|
|
async-close-output-stream \
|
2010-05-06 20:13:59 +02:00
|
|
|
gdbus-addresses \
|
2010-07-27 01:07:16 +02:00
|
|
|
network-address \
|
2010-09-09 17:37:14 +02:00
|
|
|
gdbus-message \
|
2010-08-18 00:34:13 +02:00
|
|
|
socket \
|
2010-09-18 19:05:25 +02:00
|
|
|
pollable \
|
2011-07-25 21:59:58 +02:00
|
|
|
tls-certificate \
|
2011-08-28 20:24:56 +02:00
|
|
|
tls-interaction \
|
2011-08-12 11:49:31 +02:00
|
|
|
cancellable \
|
2010-05-24 10:22:41 +02:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
if OS_UNIX
|
|
|
|
TEST_PROGS += \
|
2011-09-12 19:24:24 +02:00
|
|
|
gdbus-close-pending \
|
2010-05-06 20:13:59 +02:00
|
|
|
gdbus-connection \
|
2011-10-07 20:20:03 +02:00
|
|
|
gdbus-connection-loss \
|
2010-09-23 21:47:46 +02:00
|
|
|
gdbus-connection-slow \
|
2010-05-06 20:13:59 +02:00
|
|
|
gdbus-names \
|
|
|
|
gdbus-proxy \
|
2011-08-15 17:00:51 +02:00
|
|
|
gdbus-proxy-threads \
|
2010-06-11 21:45:18 +02:00
|
|
|
gdbus-proxy-well-known-name \
|
2010-05-06 20:13:59 +02:00
|
|
|
gdbus-introspection \
|
|
|
|
gdbus-threading \
|
|
|
|
gdbus-export \
|
|
|
|
gdbus-error \
|
|
|
|
gdbus-peer \
|
|
|
|
gdbus-exit-on-close \
|
2010-08-13 19:58:27 +02:00
|
|
|
gdbus-non-socket \
|
2010-09-10 22:21:37 +02:00
|
|
|
gdbus-bz627724 \
|
2010-06-07 19:25:39 +02:00
|
|
|
appinfo \
|
2010-07-05 05:40:42 +02:00
|
|
|
contenttype \
|
2011-09-10 05:43:02 +02:00
|
|
|
mimeapps \
|
2010-07-05 09:09:36 +02:00
|
|
|
file \
|
2010-05-06 20:13:59 +02:00
|
|
|
$(NULL)
|
2010-05-24 10:22:41 +02:00
|
|
|
endif
|
2010-05-06 20:13:59 +02:00
|
|
|
|
|
|
|
SAMPLE_PROGS = \
|
|
|
|
resolver \
|
|
|
|
socket-server \
|
|
|
|
socket-client \
|
|
|
|
echo-server \
|
|
|
|
httpd \
|
|
|
|
send-data \
|
|
|
|
filter-cat \
|
2010-05-13 06:39:26 +02:00
|
|
|
gdbus-example-export \
|
2010-05-06 20:13:59 +02:00
|
|
|
gdbus-example-own-name \
|
|
|
|
gdbus-example-watch-name \
|
|
|
|
gdbus-example-watch-proxy \
|
|
|
|
gdbus-example-server \
|
|
|
|
gdbus-example-subtree \
|
|
|
|
gdbus-example-peer \
|
2010-05-12 21:49:48 +02:00
|
|
|
gdbus-example-proxy-subclass \
|
2010-07-07 21:00:23 +02:00
|
|
|
gdbus-connection-flush-helper \
|
2010-06-07 19:25:39 +02:00
|
|
|
appinfo-test \
|
2010-05-07 22:23:45 +02:00
|
|
|
proxy \
|
2010-10-23 02:27:39 +02:00
|
|
|
gapplication-example-open \
|
|
|
|
gapplication-example-cmdline \
|
2010-10-23 11:54:50 +02:00
|
|
|
gapplication-example-cmdline2 \
|
2011-03-04 04:40:48 +01:00
|
|
|
gapplication-example-cmdline3 \
|
2010-10-31 03:19:02 +01:00
|
|
|
gapplication-example-actions \
|
2010-05-06 20:13:59 +02:00
|
|
|
$(NULL)
|
2008-02-07 10:56:25 +01:00
|
|
|
|
2008-12-29 18:53:47 +01:00
|
|
|
|
2008-02-07 10:56:25 +01:00
|
|
|
if OS_UNIX
|
2011-07-26 16:05:57 +02:00
|
|
|
TEST_PROGS += \
|
|
|
|
live-g-file \
|
|
|
|
desktop-app-info \
|
|
|
|
unix-fd \
|
|
|
|
unix-streams \
|
|
|
|
gapplication \
|
2011-09-14 17:06:02 +02:00
|
|
|
basic-application \
|
2011-07-26 16:05:57 +02:00
|
|
|
gdbus-test-codegen \
|
|
|
|
$(NULL)
|
|
|
|
SAMPLE_PROGS += \
|
|
|
|
gdbus-example-unix-fd-client \
|
|
|
|
gdbus-example-objectmanager-server \
|
|
|
|
gdbus-example-objectmanager-client \
|
|
|
|
$(NULL)
|
2008-02-07 10:56:25 +01:00
|
|
|
endif
|
2008-01-22 10:13:28 +01:00
|
|
|
|
2010-04-19 10:32:05 +02:00
|
|
|
if OS_WIN32
|
|
|
|
TEST_PROGS += win32-streams
|
|
|
|
endif
|
|
|
|
|
2010-08-13 10:10:48 +02:00
|
|
|
io_stream_SOURCES = io-stream.c
|
|
|
|
io_stream_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-08-18 07:55:48 +02:00
|
|
|
actions_LDADD = $(progs_ldadd)
|
|
|
|
|
2008-01-07 07:14:40 +01:00
|
|
|
memory_input_stream_SOURCES = memory-input-stream.c
|
|
|
|
memory_input_stream_LDADD = $(progs_ldadd)
|
|
|
|
|
2008-06-30 05:47:27 +02:00
|
|
|
memory_output_stream_SOURCES = memory-output-stream.c
|
|
|
|
memory_output_stream_LDADD = $(progs_ldadd)
|
|
|
|
|
2008-01-22 10:13:28 +01:00
|
|
|
g_file_SOURCES = g-file.c
|
|
|
|
g_file_LDADD = $(progs_ldadd)
|
|
|
|
|
2009-05-13 13:06:58 +02:00
|
|
|
readwrite_SOURCES = readwrite.c
|
|
|
|
readwrite_LDADD = $(progs_ldadd)
|
|
|
|
|
2008-01-22 10:13:28 +01:00
|
|
|
g_file_info_SOURCES = g-file-info.c
|
|
|
|
g_file_info_LDADD = $(progs_ldadd)
|
|
|
|
|
2009-10-23 19:59:03 +02:00
|
|
|
converter_stream_SOURCES = converter-stream.c
|
|
|
|
converter_stream_LDADD = $(progs_ldadd)
|
|
|
|
|
2008-01-22 10:13:28 +01:00
|
|
|
data_input_stream_SOURCES = data-input-stream.c
|
|
|
|
data_input_stream_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
data_output_stream_SOURCES = data-output-stream.c
|
|
|
|
data_output_stream_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-05-07 11:55:40 +02:00
|
|
|
async_close_output_stream_SOURCES = async-close-output-stream.c
|
|
|
|
async_close_output_stream_LDADD = $(progs_ldadd)
|
|
|
|
|
2009-11-18 16:07:16 +01:00
|
|
|
filter_cat_SOURCES = filter-cat.c
|
|
|
|
filter_cat_LDADD = $(progs_ldadd)
|
|
|
|
|
2008-10-21 13:51:48 +02:00
|
|
|
g_icon_SOURCES = g-icon.c
|
|
|
|
g_icon_LDADD = $(progs_ldadd)
|
|
|
|
|
2008-11-28 06:57:07 +01:00
|
|
|
buffered_input_stream_SOURCES = buffered-input-stream.c
|
|
|
|
buffered_input_stream_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-07-05 17:12:49 +02:00
|
|
|
buffered_output_stream_SOURCES = buffered-output-stream.c
|
|
|
|
buffered_output_stream_LDADD = $(progs_ldadd)
|
|
|
|
|
2008-02-06 14:52:07 +01:00
|
|
|
live_g_file_SOURCES = live-g-file.c
|
|
|
|
live_g_file_LDADD = $(progs_ldadd)
|
2008-09-26 18:19:35 +02:00
|
|
|
|
2008-09-26 21:57:36 +02:00
|
|
|
desktop_app_info_SOURCES = desktop-app-info.c
|
|
|
|
desktop_app_info_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-07-29 06:53:30 +02:00
|
|
|
unix_streams_SOURCES = unix-streams.c
|
|
|
|
unix_streams_LDADD = $(progs_ldadd) \
|
|
|
|
$(top_builddir)/gthread/libgthread-2.0.la
|
2008-12-15 21:01:49 +01:00
|
|
|
|
2010-04-19 10:32:05 +02:00
|
|
|
win32_streams_SOURCES = win32-streams.c
|
|
|
|
win32_streams_LDADD = $(progs_ldadd) \
|
|
|
|
$(top_builddir)/gthread/libgthread-2.0.la
|
|
|
|
|
2009-11-12 04:40:28 +01:00
|
|
|
unix_fd_SOURCES = unix-fd.c
|
|
|
|
unix_fd_LDADD = $(progs_ldadd)
|
|
|
|
|
2009-01-05 07:58:22 +01:00
|
|
|
simple_async_result_SOURCES = simple-async-result.c
|
|
|
|
simple_async_result_LDADD = $(progs_ldadd)
|
2008-12-15 21:01:49 +01:00
|
|
|
|
2009-01-28 17:39:39 +01:00
|
|
|
sleepy_stream_SOURCES = sleepy-stream.c
|
|
|
|
sleepy_stream_LDADD = $(progs_ldadd)
|
|
|
|
|
2009-01-21 15:09:56 +01:00
|
|
|
filter_streams_SOURCES = filter-streams.c
|
|
|
|
filter_streams_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-07-26 23:59:18 +02:00
|
|
|
volumemonitor_SOURCES = volumemonitor.c
|
|
|
|
volumemonitor_LDADD = $(progs_ldadd)
|
|
|
|
|
2008-12-29 18:53:47 +01:00
|
|
|
resolver_SOURCES = resolver.c
|
|
|
|
resolver_LDADD = $(progs_ldadd) \
|
|
|
|
$(top_builddir)/gthread/libgthread-2.0.la
|
|
|
|
|
2009-05-15 10:08:18 +02:00
|
|
|
socket_server_SOURCES = socket-server.c
|
|
|
|
socket_server_LDADD = $(progs_ldadd) \
|
|
|
|
$(top_builddir)/gthread/libgthread-2.0.la
|
|
|
|
|
2011-08-04 08:54:55 +02:00
|
|
|
socket_client_SOURCES = socket-client.c \
|
|
|
|
gtlsconsoleinteraction.c \
|
|
|
|
gtlsconsoleinteraction.h
|
2009-05-15 10:08:18 +02:00
|
|
|
socket_client_LDADD = $(progs_ldadd) \
|
|
|
|
$(top_builddir)/gthread/libgthread-2.0.la
|
|
|
|
|
2009-05-15 21:34:14 +02:00
|
|
|
echo_server_SOURCES = echo-server.c
|
|
|
|
echo_server_LDADD = $(progs_ldadd) \
|
|
|
|
$(top_builddir)/gthread/libgthread-2.0.la
|
|
|
|
|
|
|
|
httpd_SOURCES = httpd.c
|
|
|
|
httpd_LDADD = $(progs_ldadd) \
|
|
|
|
$(top_builddir)/gthread/libgthread-2.0.la
|
|
|
|
|
2009-05-19 13:44:11 +02:00
|
|
|
send_data_SOURCES = send-data.c
|
|
|
|
send_data_LDADD = $(progs_ldadd) \
|
|
|
|
$(top_builddir)/gthread/libgthread-2.0.la
|
|
|
|
|
Fix multiple bugs in g_srv_target_list_sort()
In particular, targets with weight 0 should be very UNlikely to be
selected, not very likely, as they were before. However, even ignoring
that bug in the logic, there was an additional bug (swapping list
items would cause the 0-weight items to get re-ordered incorrectly
anyway), and the code contained several fencepost errors.
This patch also adds gio/tests/srvtarget.c, which confirms that for a
sample list of targets, we now generate all possible correct random
sortings and no incorrect sortings, and the correct sortings occur in
roughly the expected proportions (though if the current code is
still wrong, those proportions may be wrong as well).
http://bugzilla.gnome.org/show_bug.cgi?id=583398
2009-05-28 21:27:04 +02:00
|
|
|
srvtarget_SOURCES = srvtarget.c
|
|
|
|
srvtarget_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-07-27 01:07:16 +02:00
|
|
|
network_address_SOURCE = network-address.c
|
|
|
|
network_address_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-08-18 00:34:13 +02:00
|
|
|
socket_SOURCE = socket.c
|
|
|
|
socket_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-09-18 19:05:25 +02:00
|
|
|
pollable_SOURCE = pollable.c
|
|
|
|
pollable_LDADD = $(progs_ldadd)
|
|
|
|
|
2009-06-17 02:22:58 +02:00
|
|
|
contexts_SOURCES = contexts.c
|
|
|
|
contexts_LDADD = $(progs_ldadd) \
|
|
|
|
$(top_builddir)/gthread/libgthread-2.0.la
|
|
|
|
|
2010-04-18 02:54:53 +02:00
|
|
|
gsettings_SOURCES = gsettings.c
|
2010-04-17 07:43:58 +02:00
|
|
|
gsettings_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-04-19 17:31:21 +02:00
|
|
|
gschema_compile_SOURCES = gschema-compile.c
|
|
|
|
gschema_compile_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-05-06 20:13:59 +02:00
|
|
|
if HAVE_DBUS1
|
|
|
|
TEST_PROGS += gdbus-serialization
|
|
|
|
gdbus_serialization_SOURCES = gdbus-serialization.c gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_serialization_CFLAGS = $(DBUS1_CFLAGS)
|
|
|
|
gdbus_serialization_LDADD = $(progs_ldadd) $(DBUS1_LIBS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
gdbus_addresses_SOURCES = gdbus-addresses.c
|
|
|
|
gdbus_addresses_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-09-10 22:21:37 +02:00
|
|
|
gdbus_bz627724_SOURCES = gdbus-bz627724.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_bz627724_LDADD = $(progs_ldadd)
|
|
|
|
|
2011-09-12 19:24:24 +02:00
|
|
|
gdbus_close_pending_SOURCES = gdbus-close-pending.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_close_pending_LDADD = $(progs_ldadd)
|
|
|
|
|
2011-07-26 16:05:57 +02:00
|
|
|
if OS_UNIX
|
2011-10-05 18:33:55 +02:00
|
|
|
gdbus-test-codegen-generated.h gdbus-test-codegen-generated.c : test-codegen.xml Makefile $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen
|
2011-08-23 17:38:36 +02:00
|
|
|
$(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \
|
|
|
|
UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \
|
2011-08-23 17:37:35 +02:00
|
|
|
$(PYTHON) $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen \
|
|
|
|
--interface-prefix org.project. \
|
|
|
|
--generate-c-code gdbus-test-codegen-generated \
|
|
|
|
--c-generate-object-manager \
|
2011-09-16 22:01:13 +02:00
|
|
|
--c-namespace Foo_iGen \
|
2011-08-23 17:37:35 +02:00
|
|
|
--generate-docbook gdbus-test-codegen-generated-doc \
|
|
|
|
--annotate "org.project.Bar" Key1 Value1 \
|
|
|
|
--annotate "org.project.Bar" org.gtk.GDBus.Internal Value2 \
|
|
|
|
--annotate "org.project.Bar.HelloWorld()" Key3 Value3 \
|
|
|
|
--annotate "org.project.Bar::TestSignal" Key4 Value4 \
|
|
|
|
--annotate "org.project.Bar:ay" Key5 Value5 \
|
|
|
|
--annotate "org.project.Bar.TestPrimitiveTypes()[val_int32]" Key6 Value6 \
|
|
|
|
--annotate "org.project.Bar.TestPrimitiveTypes()[ret_uint32]" Key7 Value7 \
|
|
|
|
--annotate "org.project.Bar::TestSignal[array_of_strings]" Key8 Value8 \
|
|
|
|
$(srcdir)/test-codegen.xml \
|
2011-04-11 16:54:52 +02:00
|
|
|
$(NULL)
|
|
|
|
|
2011-04-11 22:35:14 +02:00
|
|
|
BUILT_SOURCES += gdbus-test-codegen-generated.c gdbus-test-codegen-generated.h
|
|
|
|
|
2011-04-11 16:54:52 +02:00
|
|
|
gdbus_test_codegen_SOURCES = gdbus-test-codegen.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_test_codegen_SOURCES += gdbus-test-codegen-generated.c gdbus-test-codegen-generated.h
|
|
|
|
gdbus_test_codegen_LDADD = $(progs_ldadd)
|
2011-07-26 16:05:57 +02:00
|
|
|
endif # OS_UNIX
|
2011-04-11 16:54:52 +02:00
|
|
|
|
2010-05-06 20:13:59 +02:00
|
|
|
gdbus_connection_SOURCES = gdbus-connection.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_connection_LDADD = $(progs_ldadd)
|
2010-09-23 21:47:46 +02:00
|
|
|
|
2011-10-07 20:20:03 +02:00
|
|
|
gdbus_connection_loss_SOURCES = gdbus-connection-loss.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_connection_loss_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-09-23 21:47:46 +02:00
|
|
|
gdbus_connection_slow_SOURCES = gdbus-connection-slow.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_connection_slow_LDADD = $(progs_ldadd)
|
2010-05-06 20:13:59 +02:00
|
|
|
|
2010-09-09 17:37:14 +02:00
|
|
|
gdbus_message_SOURCES = gdbus-message.c
|
|
|
|
gdbus_message_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-05-06 20:13:59 +02:00
|
|
|
gdbus_names_SOURCES = gdbus-names.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_names_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
gdbus_proxy_SOURCES = gdbus-proxy.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_proxy_LDADD = $(progs_ldadd)
|
|
|
|
|
2011-08-15 17:00:51 +02:00
|
|
|
gdbus_proxy_threads_SOURCES = gdbus-proxy-threads.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_proxy_threads_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-06-11 21:45:18 +02:00
|
|
|
gdbus_proxy_well_known_name_SOURCES = gdbus-proxy-well-known-name.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_proxy_well_known_name_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-05-06 20:13:59 +02:00
|
|
|
gdbus_introspection_SOURCES = gdbus-introspection.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_introspection_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
gdbus_threading_SOURCES = gdbus-threading.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_threading_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
gdbus_export_SOURCES = gdbus-export.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_export_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
gdbus_error_SOURCES = gdbus-error.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_error_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-08-13 19:58:27 +02:00
|
|
|
gdbus_peer_SOURCES = gdbus-peer.c gdbus-tests.h gdbus-tests.c
|
2010-05-06 20:13:59 +02:00
|
|
|
gdbus_peer_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-08-13 19:58:27 +02:00
|
|
|
gdbus_non_socket_SOURCES = gdbus-non-socket.c gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_non_socket_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-05-06 20:13:59 +02:00
|
|
|
gdbus_exit_on_close_SOURCES = gdbus-exit-on-close.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
|
|
|
|
gdbus_exit_on_close_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
gdbus_example_watch_name_SOURCES = gdbus-example-watch-name.c
|
|
|
|
gdbus_example_watch_name_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
gdbus_example_watch_proxy_SOURCES = gdbus-example-watch-proxy.c
|
|
|
|
gdbus_example_watch_proxy_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
gdbus_example_own_name_SOURCES = gdbus-example-own-name.c
|
|
|
|
gdbus_example_own_name_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
gdbus_example_server_SOURCES = gdbus-example-server.c
|
|
|
|
gdbus_example_server_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
gdbus_example_unix_fd_client_SOURCES = gdbus-example-unix-fd-client.c
|
|
|
|
gdbus_example_unix_fd_client_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
gdbus_example_subtree_SOURCES = gdbus-example-subtree.c
|
|
|
|
gdbus_example_subtree_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
gdbus_example_peer_SOURCES = gdbus-example-peer.c
|
|
|
|
gdbus_example_peer_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-05-12 21:49:48 +02:00
|
|
|
gdbus_example_proxy_subclass_SOURCES = gdbus-example-proxy-subclass.c
|
|
|
|
gdbus_example_proxy_subclass_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-05-13 06:39:26 +02:00
|
|
|
gdbus_example_export_SOURCES = gdbus-example-export.c
|
|
|
|
gdbus_example_export_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-07-07 21:00:23 +02:00
|
|
|
gdbus_connection_flush_helper_SOURCES = gdbus-connection-flush-helper.c
|
|
|
|
gdbus_connection_flush_helper_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-06-07 19:25:39 +02:00
|
|
|
appinfo_SOURCES = appinfo.c
|
|
|
|
appinfo_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
appinfo_test_SOURCES = appinfo-test.c
|
|
|
|
appinfo_test_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-07-05 04:27:01 +02:00
|
|
|
contenttype_SOURCES = contenttype.c
|
|
|
|
contenttype_LDADD = $(progs_ldadd)
|
|
|
|
|
2011-09-10 05:43:02 +02:00
|
|
|
mimeapps_SOURCES = mimeapps.c
|
|
|
|
mimeapps_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-07-05 09:09:36 +02:00
|
|
|
file_SOURCES = file.c
|
|
|
|
file_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-10-06 20:06:26 +02:00
|
|
|
gapplication_SOURCES = gapplication.c gdbus-sessionbus.c
|
|
|
|
gapplication_LDADD = $(progs_ldadd)
|
|
|
|
|
2011-09-14 17:06:02 +02:00
|
|
|
basic_application_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-10-23 02:27:39 +02:00
|
|
|
gapplication_example_open_SOURCES = gapplication-example-open.c
|
|
|
|
gapplication_example_open_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
gapplication_example_cmdline_SOURCES = gapplication-example-cmdline.c
|
|
|
|
gapplication_example_cmdline_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-10-23 11:54:50 +02:00
|
|
|
gapplication_example_cmdline2_SOURCES = gapplication-example-cmdline2.c
|
|
|
|
gapplication_example_cmdline2_LDADD = $(progs_ldadd)
|
|
|
|
|
2011-03-04 04:40:48 +01:00
|
|
|
gapplication_example_cmdline3_SOURCES = gapplication-example-cmdline3.c
|
|
|
|
gapplication_example_cmdline3_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-10-31 03:19:02 +01:00
|
|
|
gapplication_example_actions_SOURCES = gapplication-example-actions.c
|
|
|
|
gapplication_example_actions_LDADD = $(progs_ldadd)
|
|
|
|
|
2010-06-17 16:50:47 +02:00
|
|
|
schema_tests = \
|
|
|
|
schema-tests/array-default-not-in-choices.gschema.xml \
|
|
|
|
schema-tests/bad-choice.gschema.xml \
|
|
|
|
schema-tests/bad-key.gschema.xml \
|
|
|
|
schema-tests/bad-key2.gschema.xml \
|
|
|
|
schema-tests/bad-key3.gschema.xml \
|
|
|
|
schema-tests/bad-key4.gschema.xml \
|
|
|
|
schema-tests/bad-type.gschema.xml \
|
|
|
|
schema-tests/bare-alias.gschema.xml \
|
|
|
|
schema-tests/choice-alias.gschema.xml \
|
|
|
|
schema-tests/choice-bad.gschema.xml \
|
|
|
|
schema-tests/choice-badtype.gschema.xml \
|
|
|
|
schema-tests/choice-invalid-alias.gschema.xml \
|
|
|
|
schema-tests/choice-missing-value.gschema.xml \
|
|
|
|
schema-tests/choice-shadowed-alias.gschema.xml \
|
|
|
|
schema-tests/choice-upside-down.gschema.xml \
|
|
|
|
schema-tests/choice.gschema.xml \
|
|
|
|
schema-tests/choices-wrong-type.gschema.xml \
|
|
|
|
schema-tests/default-in-aliases.gschema.xml \
|
|
|
|
schema-tests/default-not-in-choices.gschema.xml \
|
|
|
|
schema-tests/default-out-of-range.gschema.xml \
|
|
|
|
schema-tests/empty-key.gschema.xml \
|
|
|
|
schema-tests/enum-with-aliases.gschema.xml \
|
|
|
|
schema-tests/enum-with-bad-default.gschema.xml \
|
|
|
|
schema-tests/enum-with-chained-alias.gschema.xml \
|
|
|
|
schema-tests/enum-with-choice.gschema.xml \
|
|
|
|
schema-tests/enum-with-invalid-alias.gschema.xml \
|
|
|
|
schema-tests/enum-with-repeated-alias.gschema.xml \
|
2010-07-02 00:58:56 +02:00
|
|
|
schema-tests/enum-with-repeated-nick.gschema.xml \
|
|
|
|
schema-tests/enum-with-repeated-value.gschema.xml \
|
2010-06-17 16:50:47 +02:00
|
|
|
schema-tests/enum-with-shadow-alias.gschema.xml \
|
|
|
|
schema-tests/enum.gschema.xml \
|
2010-07-02 00:58:56 +02:00
|
|
|
schema-tests/flags-aliased-default.gschema.xml \
|
|
|
|
schema-tests/flags-bad-default.gschema.xml \
|
|
|
|
schema-tests/flags-more-than-one-bit.gschema.xml \
|
|
|
|
schema-tests/flags-with-enum-attr.gschema.xml \
|
|
|
|
schema-tests/flags-with-enum-tag.gschema.xml \
|
2010-06-30 02:24:39 +02:00
|
|
|
schema-tests/extend-and-shadow-indirect.gschema.xml \
|
|
|
|
schema-tests/extend-and-shadow.gschema.xml \
|
2010-06-29 20:41:04 +02:00
|
|
|
schema-tests/extend-missing.gschema.xml \
|
|
|
|
schema-tests/extend-nonlist.gschema.xml \
|
|
|
|
schema-tests/extend-self.gschema.xml \
|
|
|
|
schema-tests/extend-wrong-list-indirect.gschema.xml \
|
|
|
|
schema-tests/extend-wrong-list.gschema.xml \
|
|
|
|
schema-tests/extending.gschema.xml \
|
2010-06-21 19:25:51 +02:00
|
|
|
schema-tests/from-docs.gschema.xml \
|
2010-06-17 16:50:47 +02:00
|
|
|
schema-tests/incomplete-list.gschema.xml \
|
2010-11-26 21:05:20 +01:00
|
|
|
schema-tests/inherit-gettext-domain.gschema.xml \
|
2010-06-17 16:50:47 +02:00
|
|
|
schema-tests/invalid-path.gschema.xml \
|
2010-06-29 20:41:04 +02:00
|
|
|
schema-tests/key-in-list-indirect.gschema.xml \
|
|
|
|
schema-tests/key-in-list.gschema.xml \
|
|
|
|
schema-tests/list-of-missing.gschema.xml \
|
2010-06-17 16:50:47 +02:00
|
|
|
schema-tests/missing-quotes.gschema.xml \
|
|
|
|
schema-tests/no-default.gschema.xml \
|
|
|
|
schema-tests/overflow.gschema.xml \
|
2010-06-30 02:24:39 +02:00
|
|
|
schema-tests/override-missing.gschema.xml \
|
|
|
|
schema-tests/override-range-error.gschema.xml \
|
|
|
|
schema-tests/override-then-key.gschema.xml \
|
|
|
|
schema-tests/override-twice.gschema.xml \
|
|
|
|
schema-tests/override-type-error.gschema.xml \
|
|
|
|
schema-tests/override.gschema.xml \
|
2010-06-17 16:50:47 +02:00
|
|
|
schema-tests/range-badtype.gschema.xml \
|
|
|
|
schema-tests/range-default-high.gschema.xml \
|
|
|
|
schema-tests/range-default-low.gschema.xml \
|
|
|
|
schema-tests/range-high-default.gschema.xml \
|
|
|
|
schema-tests/range-low-default.gschema.xml \
|
|
|
|
schema-tests/range-missing-max.gschema.xml \
|
|
|
|
schema-tests/range-missing-min.gschema.xml \
|
|
|
|
schema-tests/range-parse-error.gschema.xml \
|
|
|
|
schema-tests/range-wrong-type.gschema.xml \
|
|
|
|
schema-tests/range.gschema.xml \
|
|
|
|
schema-tests/wrong-category.gschema.xml
|
|
|
|
|
2010-05-07 22:23:45 +02:00
|
|
|
proxy_SOURCES = proxy.c
|
|
|
|
proxy_LDADD = $(progs_ldadd) \
|
|
|
|
$(top_builddir)/gthread/libgthread-2.0.la
|
|
|
|
|
2011-07-25 21:59:58 +02:00
|
|
|
tls_certificate_SOURCES = tls-certificate.c gtesttlsbackend.c gtesttlsbackend.h
|
|
|
|
tls_certificate_LDADD = $(progs_ldadd)
|
|
|
|
|
2011-08-28 20:24:56 +02:00
|
|
|
tls_interaction_LDADD = $(progs_ldadd)
|
|
|
|
|
2011-08-12 11:49:31 +02:00
|
|
|
cancellable_LDADD = $(progs_ldadd)
|
|
|
|
|
2011-05-28 20:29:08 +02:00
|
|
|
# -----------------------------------------------------------------------------
|
2011-04-11 22:35:14 +02:00
|
|
|
|
2011-07-26 16:05:57 +02:00
|
|
|
if OS_UNIX
|
2011-04-11 22:35:14 +02:00
|
|
|
gdbus_example_objectmanager_server_SOURCES = gdbus-example-objectmanager-server.c
|
2011-06-03 19:22:31 +02:00
|
|
|
gdbus_example_objectmanager_server_CFLAGS = -I$(top_builddir)/gio/tests/gdbus-object-manager-example
|
|
|
|
gdbus_example_objectmanager_server_LDADD = $(top_builddir)/gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.la $(progs_ldadd)
|
2011-04-11 22:35:14 +02:00
|
|
|
|
|
|
|
gdbus_example_objectmanager_client_SOURCES = gdbus-example-objectmanager-client.c
|
2011-06-03 19:22:31 +02:00
|
|
|
gdbus_example_objectmanager_client_CFLAGS = -I$(top_builddir)/gio/tests/gdbus-object-manager-example
|
|
|
|
gdbus_example_objectmanager_client_LDADD = $(top_builddir)/gio/tests/gdbus-object-manager-example/libgdbus-example-objectmanager.la $(progs_ldadd)
|
2011-07-26 16:05:57 +02:00
|
|
|
endif OS_UNIX
|
2011-04-11 22:35:14 +02:00
|
|
|
|
2011-05-28 20:29:08 +02:00
|
|
|
# -----------------------------------------------------------------------------
|
2011-04-11 22:35:14 +02:00
|
|
|
|
2010-04-26 03:07:26 +02:00
|
|
|
EXTRA_DIST += \
|
2010-06-17 16:50:47 +02:00
|
|
|
socket-common.c \
|
|
|
|
org.gtk.test.gschema \
|
|
|
|
org.gtk.test.gschema.xml \
|
|
|
|
testenum.h \
|
|
|
|
enums.xml.template \
|
|
|
|
de.po \
|
|
|
|
$(schema_tests) \
|
|
|
|
appinfo-test.desktop \
|
2010-07-05 09:09:36 +02:00
|
|
|
appinfo-test2.desktop \
|
|
|
|
appinfo-test-gnome.desktop \
|
|
|
|
appinfo-test-notgnome.desktop \
|
2011-04-11 20:59:19 +02:00
|
|
|
gdbus-testserver.py \
|
|
|
|
test-codegen.xml \
|
2011-08-16 03:01:23 +02:00
|
|
|
cert1.pem \
|
|
|
|
cert2.pem \
|
|
|
|
cert3.pem \
|
|
|
|
key.pem \
|
|
|
|
key-cert.pem \
|
|
|
|
cert-key.pem \
|
|
|
|
cert-list.pem \
|
|
|
|
nothing.pem \
|
2011-04-11 20:59:19 +02:00
|
|
|
$(NULL)
|
2010-08-18 00:34:13 +02:00
|
|
|
|
2010-06-17 16:50:47 +02:00
|
|
|
MISC_STUFF = test.mo
|
2010-04-17 07:43:58 +02:00
|
|
|
|
|
|
|
test.mo: de.po
|
2010-04-18 02:54:53 +02:00
|
|
|
$(MSGFMT) -o test.mo $(srcdir)/de.po; \
|
2010-04-17 07:43:58 +02:00
|
|
|
$(MKDIR_P) de/LC_MESSAGES; \
|
|
|
|
cp -f test.mo de/LC_MESSAGES
|
|
|
|
|
2011-04-23 23:43:03 +02:00
|
|
|
CLEANFILES = gdbus-test-codegen-generated.[ch] gdbus-test-codegen-generated-doc-*.xml
|
2011-04-11 16:54:52 +02:00
|
|
|
|
2010-06-17 20:05:40 +02:00
|
|
|
DISTCLEANFILES = \
|
|
|
|
applications/mimeinfo.cache \
|
|
|
|
org.gtk.test.enums.xml \
|
|
|
|
de/LC_MESSAGES/test.mo \
|
|
|
|
test.mo \
|
|
|
|
gsettings.store \
|
2010-04-19 23:30:42 +02:00
|
|
|
gschemas.compiled
|
2011-09-10 05:43:02 +02:00
|
|
|
|
|
|
|
distclean-local:
|
2011-09-12 07:46:48 +02:00
|
|
|
rm -r xdgdatahome xdgdatadir
|