summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: a65244ac334fafaf16d158f1b3d8f48d1c0f4d47 (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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# Copyright © 2002-2003 CodeFactory AB
# Copyright © 2002-2010 Red Hat, Inc.
# Copyright © 2003 James Willcox
# Copyright © 2006 Marc-Andre Lureau
# Copyright © 2006-2018 Collabora Ltd.
# Copyright © 2010-2012 Mike Gorse
#
# SPDX-License-Identifier: AFL-2.1 OR GPL-2.0-or-later

EXTRA_DIST = \
	AUTHORS \
	CONTRIBUTING.md \
	COPYING \
	LICENSES/AFL-2.1.txt \
	LICENSES/GPL-2.0-or-later.txt \
	LICENSES/MIT.txt \
	README.md \
	meson.build \
	meson_options.txt \
	tests/meson.build \
	tests/use-as-subproject.py \
	tests/use-as-subproject/README \
	tests/use-as-subproject/meson.build \
	tests/use-as-subproject/use-dbus-gmain.c \
	$(NULL)

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

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

libdbus_gmain_la_SOURCES = \
	dbus-gmain.c \
	dbus-gmain/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) --