summaryrefslogtreecommitdiff
path: root/dbus-gmain/Makefile.am
blob: 63a1a2a48f01c0b563a8af8555c45e17d6b2ee6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# SPDX-License-Identifier: AFL-2.1 OR GPL-2.0-or-later

EXTRA_DIST = \
	AUTHORS \
	CONTRIBUTING.md \
	COPYING \
	README.md \
	$(NULL)

AM_CPPFLAGS = \
	-I$(top_srcdir) \
	-I$(top_builddir) \
	$(DBUS_CFLAGS) \
	$(GLIB_CFLAGS) \
	$(NULL)

noinst_LTLIBRARIES = \
	libdbus-gmain.la \
	tests/libtest.la \
	$(NULL)

libdbus_gmain_la_SOURCES = \
	dbus-gmain.c \
	dbus-gmain.h \
	$(NULL)

libdbus_gmain_la_LIBADD = $(DBUS_LIBS) $(GLIB_LIBS)
libdbus_gmain_la_LDFLAGS = -no-undefined

tests_libtest_la_SOURCES = \
	tests/util.c \
	tests/util.h \
	$(NULL)

tests_libtest_la_LIBADD = $(DBUS_LIBS) $(GLIB_LIBS)
tests_libtest_la_LDFLAGS = -no-undefined

TESTS = \
	tests/test-30574 \
	$(NULL)

noinst_PROGRAMS = \
	tests/test-30574 \
	tests/test-thread-server \
	tests/test-thread-client \
	$(NULL)

tests_test_thread_server_SOURCES = \
	tests/test-thread-server.c \
	tests/test-thread.h \
	$(NULL)
tests_test_thread_server_LDADD = \
	libdbus-gmain.la \
	tests/libtest.la \
	$(GLIB_THREADS_LIBS) \
	$(GLIB_LIBS) \
	$(DBUS_LIBS) \
	$(NULL)

tests_test_thread_client_SOURCES = \
	tests/test-thread-client.c \
	tests/test-thread.h \
	$(NULL)
tests_test_thread_client_LDADD = \
	libdbus-gmain.la \
	tests/libtest.la \
	$(GLIB_THREADS_LIBS) \
	$(GLIB_LIBS) \
	$(DBUS_LIBS) \
	$(NULL)

tests_test_30574_SOURCES = \
	tests/30574.c \
	$(NULL)
tests_test_30574_LDADD = \
	libdbus-gmain.la \
	tests/libtest.la \
	$(GLIB_LIBS) \
	$(DBUS_LIBS) \
	$(NULL)

LOG_COMPILER = $(DBUS_RUN_SESSION) --