Makefile.am 16.6 KB
Newer Older
1
NULL =
2
BUILT_SOURCES =
3

Matthias Clasen's avatar
Matthias Clasen committed
4 5
include $(top_srcdir)/Makefile.decl

6 7
SUBDIRS = gdbus-object-manager-example

Matthias Clasen's avatar
Matthias Clasen committed
8 9
INCLUDES = 			\
	-g 			\
10
	$(gio_INCLUDES)		\
11
	$(GLIB_DEBUG_FLAGS)	\
12
	-I$(top_builddir)/gio	\
Matthias Clasen's avatar
Matthias Clasen committed
13
	-I$(top_srcdir)/gio	\
14
	$(DBUS1_CFLAGS)		\
15
	-DSRCDIR=\""$(srcdir)"\"
Matthias Clasen's avatar
Matthias Clasen committed
16

Tor Lillqvist's avatar
Tor Lillqvist committed
17 18 19
noinst_PROGRAMS = $(TEST_PROGS) $(SAMPLE_PROGS)
noinst_DATA = $(MISC_STUFF)

Matthias Clasen's avatar
Matthias Clasen committed
20 21
progs_ldadd     = 					\
	$(top_builddir)/glib/libglib-2.0.la 		\
22
	$(top_builddir)/gthread/libgthread-2.0.la	\
Matthias Clasen's avatar
Matthias Clasen committed
23 24 25
	$(top_builddir)/gobject/libgobject-2.0.la	\
	$(top_builddir)/gio/libgio-2.0.la

26
TEST_PROGS +=	 		\
27
	io-stream		\
28
	actions 		\
29 30
	memory-input-stream 	\
	memory-output-stream 	\
31
	readwrite		\
32 33
	g-file 			\
	g-file-info 		\
34
	converter-stream	\
35
	data-input-stream 	\
36
	data-output-stream 	\
37
	g-icon			\
38
	buffered-input-stream	\
39
	buffered-output-stream	\
40
	sleepy-stream		\
41
	filter-streams		\
42
	volumemonitor		\
43
	simple-async-result	\
44
	srvtarget		\
Matthias Clasen's avatar
Matthias Clasen committed
45
	contexts		\
46
	gsettings		\
47
	gschema-compile		\
Matthias Clasen's avatar
Matthias Clasen committed
48
	async-close-output-stream \
49
	gdbus-addresses		\
50
	network-address		\
51
	gdbus-message		\
52
	socket			\
53
	pollable		\
54
	tls-certificate         \
55
	cancellable		\
56 57 58 59
	$(NULL)

if OS_UNIX
TEST_PROGS +=			\
60
	gdbus-connection	\
61
	gdbus-connection-slow	\
62 63
	gdbus-names		\
	gdbus-proxy		\
64
	gdbus-proxy-threads	\
65
	gdbus-proxy-well-known-name \
66 67 68 69 70 71
	gdbus-introspection	\
	gdbus-threading		\
	gdbus-export		\
	gdbus-error		\
	gdbus-peer		\
	gdbus-exit-on-close	\
72
	gdbus-non-socket	\
73
	gdbus-bz627724		\
74
	appinfo			\
75
	contenttype		\
Matthias Clasen's avatar
Matthias Clasen committed
76
	file			\
77
	$(NULL)
78
endif
79 80 81 82 83 84 85 86 87

SAMPLE_PROGS = 				\
	resolver			\
	socket-server			\
	socket-client			\
	echo-server			\
	httpd				\
	send-data			\
	filter-cat			\
88
	gdbus-example-export		\
89 90 91 92 93 94
	gdbus-example-own-name		\
	gdbus-example-watch-name	\
	gdbus-example-watch-proxy	\
	gdbus-example-server		\
	gdbus-example-subtree		\
	gdbus-example-peer		\
95
	gdbus-example-proxy-subclass	\
96
	gdbus-connection-flush-helper	\
97
	appinfo-test			\
98
	proxy				\
99 100
	gapplication-example-open	\
	gapplication-example-cmdline	\
101
	gapplication-example-cmdline2	\
102
	gapplication-example-cmdline3	\
103
	gapplication-example-actions	\
104
	$(NULL)
105

106

107
if OS_UNIX
108 109 110 111 112 113 114 115 116 117 118 119 120
TEST_PROGS += 			\
	live-g-file		\
	desktop-app-info	\
	unix-fd 		\
	unix-streams 		\
	gapplication 		\
	gdbus-test-codegen 	\
	$(NULL)
SAMPLE_PROGS +=					\
	gdbus-example-unix-fd-client 		\
	gdbus-example-objectmanager-server 	\
	gdbus-example-objectmanager-client 	\
	$(NULL)
121
endif
122

123 124 125 126
if OS_WIN32
TEST_PROGS += win32-streams
endif

127 128 129
io_stream_SOURCES = io-stream.c
io_stream_LDADD   = $(progs_ldadd)

130 131
actions_LDADD	  = $(progs_ldadd)

Matthias Clasen's avatar
Matthias Clasen committed
132 133 134
memory_input_stream_SOURCES	  = memory-input-stream.c
memory_input_stream_LDADD	  = $(progs_ldadd)

135 136 137
memory_output_stream_SOURCES	  = memory-output-stream.c
memory_output_stream_LDADD	  = $(progs_ldadd)

138 139 140
g_file_SOURCES	  = g-file.c
g_file_LDADD	  = $(progs_ldadd)

141 142 143
readwrite_SOURCES	  = readwrite.c
readwrite_LDADD	  = $(progs_ldadd)

144 145 146
g_file_info_SOURCES	= g-file-info.c
g_file_info_LDADD	= $(progs_ldadd)

147 148 149
converter_stream_SOURCES	= converter-stream.c
converter_stream_LDADD		= $(progs_ldadd)

150 151 152 153 154 155
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)

156 157 158
async_close_output_stream_SOURCES	= async-close-output-stream.c
async_close_output_stream_LDADD		= $(progs_ldadd)

159 160 161
filter_cat_SOURCES	= filter-cat.c
filter_cat_LDADD	= $(progs_ldadd)

162 163 164
g_icon_SOURCES	= g-icon.c
g_icon_LDADD	= $(progs_ldadd)

165 166 167
buffered_input_stream_SOURCES	= buffered-input-stream.c
buffered_input_stream_LDADD	= $(progs_ldadd)

168 169 170
buffered_output_stream_SOURCES	= buffered-output-stream.c
buffered_output_stream_LDADD	= $(progs_ldadd)

171 172
live_g_file_SOURCES	  = live-g-file.c
live_g_file_LDADD	  = $(progs_ldadd)
173

174 175 176
desktop_app_info_SOURCES  = desktop-app-info.c
desktop_app_info_LDADD	  = $(progs_ldadd)

Matthias Clasen's avatar
Matthias Clasen committed
177 178 179
unix_streams_SOURCES	  = unix-streams.c
unix_streams_LDADD	  = $(progs_ldadd) \
	$(top_builddir)/gthread/libgthread-2.0.la
Matthias Clasen's avatar
Matthias Clasen committed
180

181 182 183 184
win32_streams_SOURCES	  = win32-streams.c
win32_streams_LDADD	  = $(progs_ldadd) \
	$(top_builddir)/gthread/libgthread-2.0.la

185 186 187
unix_fd_SOURCES	  = unix-fd.c
unix_fd_LDADD	  = $(progs_ldadd)

188 189
simple_async_result_SOURCES	= simple-async-result.c
simple_async_result_LDADD	= $(progs_ldadd)
Matthias Clasen's avatar
Matthias Clasen committed
190

191 192 193
sleepy_stream_SOURCES		= sleepy-stream.c
sleepy_stream_LDADD		= $(progs_ldadd)

194 195 196
filter_streams_SOURCES		= filter-streams.c
filter_streams_LDADD		= $(progs_ldadd)

197 198 199
volumemonitor_SOURCES		= volumemonitor.c
volumemonitor_LDADD		= $(progs_ldadd)

200 201 202 203
resolver_SOURCES	  = resolver.c
resolver_LDADD		  = $(progs_ldadd) \
	$(top_builddir)/gthread/libgthread-2.0.la

204 205 206 207
socket_server_SOURCES	  = socket-server.c
socket_server_LDADD	  = $(progs_ldadd) \
	$(top_builddir)/gthread/libgthread-2.0.la

208 209 210
socket_client_SOURCES	  = socket-client.c \
                            gtlsconsoleinteraction.c \
                            gtlsconsoleinteraction.h
211 212 213
socket_client_LDADD	  = $(progs_ldadd) \
	$(top_builddir)/gthread/libgthread-2.0.la

214 215 216 217 218 219 220 221
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

222 223 224 225
send_data_SOURCES	  = send-data.c
send_data_LDADD		  = $(progs_ldadd) \
	$(top_builddir)/gthread/libgthread-2.0.la

226 227 228
srvtarget_SOURCES	  = srvtarget.c
srvtarget_LDADD		  = $(progs_ldadd)

229 230 231
network_address_SOURCE	  = network-address.c
network_address_LDADD	  = $(progs_ldadd)

232 233 234
socket_SOURCE		  = socket.c
socket_LDADD		  = $(progs_ldadd)

235 236 237
pollable_SOURCE		  = pollable.c
pollable_LDADD		  = $(progs_ldadd)

238 239 240 241
contexts_SOURCES	  = contexts.c
contexts_LDADD		  = $(progs_ldadd) \
	$(top_builddir)/gthread/libgthread-2.0.la

242
gsettings_SOURCES	  = gsettings.c
Matthias Clasen's avatar
Matthias Clasen committed
243 244
gsettings_LDADD		  = $(progs_ldadd)

245 246 247
gschema_compile_SOURCES	  = gschema-compile.c
gschema_compile_LDADD	  = $(progs_ldadd)

248 249 250 251 252 253 254 255 256 257
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)

258 259 260
gdbus_bz627724_SOURCES = gdbus-bz627724.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
gdbus_bz627724_LDADD = $(progs_ldadd)

261
if OS_UNIX
262
gdbus-test-codegen-generated.h gdbus-test-codegen-generated.c : test-codegen.xml
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
	$(AM_V_GEN) UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \
		PYTHONPATH=$(top_srcdir)/gio/gdbus-2.0 \
		$(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 \
		--c-namespace Foo \
		--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 \
280 281
		$(NULL)

282 283
BUILT_SOURCES += gdbus-test-codegen-generated.c gdbus-test-codegen-generated.h

284 285 286
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)
287
endif # OS_UNIX
288

289 290
gdbus_connection_SOURCES = gdbus-connection.c gdbus-sessionbus.c gdbus-sessionbus.h gdbus-tests.h gdbus-tests.c
gdbus_connection_LDADD = $(progs_ldadd)
291 292 293

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)
294

295 296 297
gdbus_message_SOURCES = gdbus-message.c
gdbus_message_LDADD = $(progs_ldadd)

298 299 300 301 302 303
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)

304 305 306
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)

307 308 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
gdbus_proxy_well_known_name_LDADD = $(progs_ldadd)

310 311 312 313 314 315 316 317 318 319 320 321
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)

322
gdbus_peer_SOURCES = gdbus-peer.c gdbus-tests.h gdbus-tests.c
323 324
gdbus_peer_LDADD = $(progs_ldadd)

325 326 327
gdbus_non_socket_SOURCES = gdbus-non-socket.c gdbus-tests.h gdbus-tests.c
gdbus_non_socket_LDADD = $(progs_ldadd)

328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351
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)

352 353 354
gdbus_example_proxy_subclass_SOURCES = gdbus-example-proxy-subclass.c
gdbus_example_proxy_subclass_LDADD   = $(progs_ldadd)

355 356 357
gdbus_example_export_SOURCES = gdbus-example-export.c
gdbus_example_export_LDADD   = $(progs_ldadd)

358 359 360
gdbus_connection_flush_helper_SOURCES = gdbus-connection-flush-helper.c
gdbus_connection_flush_helper_LDADD = $(progs_ldadd)

361 362 363 364 365 366
appinfo_SOURCES = appinfo.c
appinfo_LDADD   = $(progs_ldadd)

appinfo_test_SOURCES = appinfo-test.c
appinfo_test_LDADD   = $(progs_ldadd)

Matthias Clasen's avatar
Matthias Clasen committed
367 368 369
contenttype_SOURCES = contenttype.c
contenttype_LDADD   = $(progs_ldadd)

Matthias Clasen's avatar
Matthias Clasen committed
370 371 372
file_SOURCES = file.c
file_LDADD   = $(progs_ldadd)

Allison Karlitskaya's avatar
Allison Karlitskaya committed
373 374 375
gapplication_SOURCES = gapplication.c gdbus-sessionbus.c
gapplication_LDADD = $(progs_ldadd)

376 377 378 379 380 381
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)

382 383 384
gapplication_example_cmdline2_SOURCES = gapplication-example-cmdline2.c
gapplication_example_cmdline2_LDADD   = $(progs_ldadd)

385 386 387
gapplication_example_cmdline3_SOURCES = gapplication-example-cmdline3.c
gapplication_example_cmdline3_LDADD   = $(progs_ldadd)

388 389 390
gapplication_example_actions_SOURCES = gapplication-example-actions.c
gapplication_example_actions_LDADD   = $(progs_ldadd)

391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418
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		\
419 420
	schema-tests/enum-with-repeated-nick.gschema.xml		\
	schema-tests/enum-with-repeated-value.gschema.xml		\
421 422
	schema-tests/enum-with-shadow-alias.gschema.xml			\
	schema-tests/enum.gschema.xml					\
423 424 425 426 427
	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			\
428 429
	schema-tests/extend-and-shadow-indirect.gschema.xml		\
	schema-tests/extend-and-shadow.gschema.xml			\
430 431 432 433 434 435
	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				\
Allison Karlitskaya's avatar
Allison Karlitskaya committed
436
	schema-tests/from-docs.gschema.xml				\
437
	schema-tests/incomplete-list.gschema.xml			\
438
	schema-tests/inherit-gettext-domain.gschema.xml			\
439
	schema-tests/invalid-path.gschema.xml				\
440 441 442
	schema-tests/key-in-list-indirect.gschema.xml			\
	schema-tests/key-in-list.gschema.xml				\
	schema-tests/list-of-missing.gschema.xml			\
443 444 445
	schema-tests/missing-quotes.gschema.xml				\
	schema-tests/no-default.gschema.xml				\
	schema-tests/overflow.gschema.xml				\
446 447 448 449 450 451
	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				\
452 453 454 455 456 457 458 459 460 461 462 463
	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

464 465 466 467
proxy_SOURCES = proxy.c
proxy_LDADD   = $(progs_ldadd) \
	$(top_builddir)/gthread/libgthread-2.0.la

468 469 470
tls_certificate_SOURCES = tls-certificate.c gtesttlsbackend.c gtesttlsbackend.h
tls_certificate_LDADD   = $(progs_ldadd)

471 472
cancellable_LDADD = $(progs_ldadd)

Matthias Clasen's avatar
Matthias Clasen committed
473
# -----------------------------------------------------------------------------
474

475
if OS_UNIX
476
gdbus_example_objectmanager_server_SOURCES  = gdbus-example-objectmanager-server.c
477 478
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)
479 480

gdbus_example_objectmanager_client_SOURCES  = gdbus-example-objectmanager-client.c
481 482
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)
483
endif OS_UNIX
484

Matthias Clasen's avatar
Matthias Clasen committed
485
# -----------------------------------------------------------------------------
486

487
EXTRA_DIST += \
488 489 490 491 492 493 494 495
	socket-common.c			\
	org.gtk.test.gschema		\
	org.gtk.test.gschema.xml	\
	testenum.h			\
	enums.xml.template		\
	de.po				\
	$(schema_tests)			\
	appinfo-test.desktop		\
Matthias Clasen's avatar
Matthias Clasen committed
496 497 498
	appinfo-test2.desktop		\
	appinfo-test-gnome.desktop	\
	appinfo-test-notgnome.desktop	\
David Zeuthen's avatar
David Zeuthen committed
499 500
	gdbus-testserver.py		\
	test-codegen.xml		\
Allison Karlitskaya's avatar
Allison Karlitskaya committed
501 502 503 504 505 506 507 508
	cert1.pem			\
	cert2.pem			\
	cert3.pem			\
	key.pem				\
	key-cert.pem			\
	cert-key.pem			\
	cert-list.pem			\
	nothing.pem			\
David Zeuthen's avatar
David Zeuthen committed
509
	$(NULL)
510

511
MISC_STUFF = test.mo
Matthias Clasen's avatar
Matthias Clasen committed
512 513

test.mo: de.po
514
	$(MSGFMT) -o test.mo $(srcdir)/de.po; \
Matthias Clasen's avatar
Matthias Clasen committed
515 516 517
	$(MKDIR_P) de/LC_MESSAGES; \
	cp -f test.mo de/LC_MESSAGES

518
CLEANFILES = gdbus-test-codegen-generated.[ch] gdbus-test-codegen-generated-doc-*.xml
519

520 521 522 523 524 525
DISTCLEANFILES = \
	applications/mimeinfo.cache	\
	org.gtk.test.enums.xml		\
	de/LC_MESSAGES/test.mo		\
	test.mo				\
	gsettings.store			\
Matthias Clasen's avatar
Matthias Clasen committed
526
	gschemas.compiled