e_connman0_7x: phase-2 - remove the old library and create the new one.
[framework/uifw/edbus.git] / src / bin / Makefile.am
1 MAINTAINERCLEANFILES = Makefile.in
2
3 EDBUS_CPPFLAGS = \
4 -I$(top_srcdir)/src/lib/dbus \
5 -I$(top_srcdir)/src/lib/notification \
6 -I$(top_srcdir)/src/lib/bluez \
7 -I$(top_srcdir)/src/lib/ofono \
8 -I$(top_srcdir)/src/lib/ukit \
9 @EDBUS_CFLAGS@
10
11 bin_PROGRAMS =
12
13 if BUILD_EDBUS_TEST
14 bin_PROGRAMS += e_dbus_test
15 endif
16
17 if BUILD_EDBUS_TEST_CLIENT
18 bin_PROGRAMS += e_dbus_test_client
19 endif
20
21 if BUILD_EDBUS_BLUEZ_TEST
22 bin_PROGRAMS += e_dbus_bluez_test
23 endif
24
25 if BUILD_EDBUS_CONNMAN0_7X_TEST
26 bin_PROGRAMS += e_dbus_connman0_7x_test
27 endif
28
29 if BUILD_EDBUS_NOTIFICATION_DAEMON_TEST
30 bin_PROGRAMS += e_dbus_notification_daemon
31 endif
32
33 if BUILD_EDBUS_NOTIFY_SEND
34 bin_PROGRAMS += e-notify-send
35 endif
36
37 if BUILD_EDBUS_NOTIFY_TEST
38 bin_PROGRAMS += e_dbus_notify
39 endif
40
41 if BUILD_EDBUS_OFONO_TEST
42 bin_PROGRAMS += e_dbus_ofono_test
43 endif
44
45 if BUILD_EDBUS_UKIT_TEST
46 bin_PROGRAMS += e_dbus_ukit_test
47 endif
48
49 noinst_PROGRAMS =
50
51 if BUILD_EDBUS_CONNMAN0_7X_TEST
52 noinst_PROGRAMS += e_dbus_connman0_7x_test_api
53 endif
54
55 if BUILD_EDBUS_TEST
56 e_dbus_test_SOURCES = test.c
57 e_dbus_test_CPPFLAGS = \
58 -I$(top_srcdir)/src/lib/dbus \
59 @EDBUS_TEST_CFLAGS@
60 e_dbus_test_LDADD = \
61 $(top_builddir)/src/lib/dbus/libedbus.la \
62 @EDBUS_TEST_LIBS@
63 endif
64
65 if BUILD_EDBUS_TEST_CLIENT
66 e_dbus_test_client_SOURCES = test_client.c
67 e_dbus_test_client_CPPFLAGS = \
68 -I$(top_srcdir)/src/lib/dbus \
69 @EDBUS_TEST_CLIENT_CFLAGS@
70 e_dbus_test_client_LDADD = \
71 $(top_builddir)/src/lib/dbus/libedbus.la \
72 @EDBUS_TEST_CLIENT_LIBS@
73 endif
74
75 if BUILD_EDBUS_BLUEZ_TEST
76 e_dbus_bluez_test_SOURCES = e_dbus_bluez_test.c
77 e_dbus_bluez_test_CPPFLAGS = \
78 -I$(top_srcdir)/src/lib/dbus \
79 -I$(top_srcdir)/src/lib/bluez \
80 @EDBUS_BLUEZ_TEST_CFLAGS@
81 e_dbus_bluez_test_LDADD = \
82 $(top_builddir)/src/lib/dbus/libedbus.la \
83 $(top_builddir)/src/lib/bluez/libebluez.la \
84 @EDBUS_BLUEZ_TEST_LIBS@
85 endif
86
87 if BUILD_EDBUS_CONNMAN0_7X_TEST
88 e_dbus_connman0_7x_test_SOURCES = e_dbus_connman0_7x_test.c
89 e_dbus_connman0_7x_test_CPPFLAGS = \
90 -I$(top_srcdir)/src/lib/dbus \
91 -I$(top_srcdir)/src/lib/connman0_7x \
92 @EDBUS_CONNMAN0_7X_TEST_CFLAGS@
93 e_dbus_connman0_7x_test_LDADD = \
94 $(top_builddir)/src/lib/dbus/libedbus.la \
95 $(top_builddir)/src/lib/connman0_7x/libeconnman0_7x.la \
96 @EDBUS_CONNMAN0_7X_TEST_LIBS@
97
98 e_dbus_connman0_7x_test_api_SOURCES = e_dbus_connman0_7x_test_api.c
99 e_dbus_connman0_7x_test_api_CPPFLAGS = \
100 -I$(top_srcdir)/src/lib/dbus \
101 -I$(top_srcdir)/src/lib/connman0_7x \
102 @EDBUS_CONNMAN0_7X_TEST_CFLAGS@
103 e_dbus_connman0_7x_test_api_LDADD = \
104 $(top_builddir)/src/lib/dbus/libedbus.la \
105 $(top_builddir)/src/lib/connman0_7x/libeconnman0_7x.la \
106 @EDBUS_CONNMAN0_7X_TEST_LIBS@
107 endif
108
109 ENOTIFY_LIBS = $(top_builddir)/src/lib/notification/libenotify.la
110
111 if BUILD_EDBUS_NOTIFICATION_DAEMON_TEST
112 e_dbus_notification_daemon_SOURCES = notification_daemon.c
113 e_dbus_notification_daemon_CPPFLAGS = \
114 -I$(top_srcdir)/src/lib/dbus \
115 -I$(top_srcdir)/src/lib/notification \
116 @EDBUS_NOTIFICATION_DAEMON_TEST_CFLAGS@
117 e_dbus_notification_daemon_LDADD = \
118 $(ENOTIFY_LIBS) \
119 $(top_builddir)/src/lib/dbus/libedbus.la \
120 @EDBUS_NOTIFICATION_DAEMON_TEST_LIBS@
121 endif
122
123 if BUILD_EDBUS_NOTIFY_SEND
124 e_notify_send_SOURCES = notify-send.c
125 e_notify_send_CPPFLAGS = \
126 -I$(top_srcdir)/src/lib/dbus \
127 -I$(top_srcdir)/src/lib/notification \
128 @EDBUS_NOTIFY_SEND_CFLAGS@
129 e_notify_send_LDADD = \
130 $(ENOTIFY_LIBS) \
131 $(top_builddir)/src/lib/dbus/libedbus.la \
132 @EDBUS_NOTIFY_SEND_LIBS@
133 endif
134
135 if BUILD_EDBUS_NOTIFY_TEST
136 e_dbus_notify_SOURCES = notify.c
137 e_dbus_notify_CPPFLAGS = \
138 -I$(top_srcdir)/src/lib/dbus \
139 -I$(top_srcdir)/src/lib/notification \
140 @EDBUS_NOTIFY_TEST_CFLAGS@
141 e_dbus_notify_LDADD = \
142 $(ENOTIFY_LIBS) \
143 $(top_builddir)/src/lib/dbus/libedbus.la \
144 @EDBUS_NOTIFY_TEST_LIBS@
145 endif
146
147 if BUILD_EDBUS_OFONO_TEST
148 e_dbus_ofono_test_SOURCES = e_dbus_ofono_test.c
149 e_dbus_ofono_test_CPPFLAGS = \
150 -I$(top_srcdir)/src/lib/dbus \
151 -I$(top_srcdir)/src/lib/ofono \
152 @EDBUS_OFONO_TEST_CFLAGS@
153 e_dbus_ofono_test_LDADD = \
154 $(top_builddir)/src/lib/dbus/libedbus.la \
155 $(top_builddir)/src/lib/ofono/libeofono.la \
156 @EDBUS_OFONO_TEST_LIBS@
157 endif
158
159 if BUILD_EDBUS_UKIT_TEST
160 e_dbus_ukit_test_SOURCES = e_dbus_ukit_test.c
161 e_dbus_ukit_test_CPPFLAGS = \
162 -I$(top_srcdir)/src/lib/dbus \
163 -I$(top_srcdir)/src/lib/ukit \
164 @EDBUS_UKIT_TEST_CFLAGS@
165 e_dbus_ukit_test_LDADD = \
166 $(top_builddir)/src/lib/dbus/libedbus.la \
167 $(top_builddir)/src/lib/ukit/libeukit.la \
168 @EDBUS_UKIT_TEST_LIBS@
169 endif