Remove unneeded re-definition of EAPI
[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/connman \
7 -I$(top_srcdir)/src/lib/bluez \
8 -I$(top_srcdir)/src/lib/ofono \
9 -I$(top_srcdir)/src/lib/ukit \
10 @EDBUS_CFLAGS@
11
12 EDBUS_PROG = e_dbus_test e_dbus_test_client
13 if BUILD_ENOTIFY
14 ENOTIFY_PROG = e_dbus_notify e_dbus_notification_daemon e-notify-send
15 endif
16 if BUILD_ECONNMAN
17 ECONNMAN_PROG = e_dbus_connman_test
18 ECONNMAN_PROG_NOINST = e_dbus_connman_test_api
19 endif
20 if BUILD_EBLUEZ
21 EBLUEZ_PROG = e_dbus_bluez_test
22 endif
23 if BUILD_EOFONO
24 EOFONO_PROG = e_dbus_ofono_test
25 endif
26 if BUILD_EUKIT
27 EUKIT_PROG = e_dbus_ukit_test
28 endif
29
30 bin_PROGRAMS = \
31 $(EDBUS_PROG) \
32 $(ENOTIFY_PROG) \
33 $(ECONNMAN_PROG) \
34 $(EBLUEZ_PROG) \
35 $(EOFONO_PROG) \
36 $(EUKIT_PROG)
37
38 noinst_PROGRAMS = \
39 $(ECONNMAN_PROG_NOINST)
40
41 e_dbus_test_SOURCES = \
42 test.c
43
44 e_dbus_test_CPPFLAGS = $(EDBUS_CPPFLAGS)
45 e_dbus_test_LDADD = $(top_builddir)/src/lib/dbus/libedbus.la
46
47 e_dbus_test_client_SOURCES = \
48 test_client.c
49
50 e_dbus_test_client_CPPFLAGS = $(EDBUS_CPPFLAGS)
51 e_dbus_test_client_LDADD = $(top_builddir)/src/lib/dbus/libedbus.la
52
53 if BUILD_EBLUEZ
54 e_dbus_bluez_test_SOURCES = e_dbus_bluez_test.c
55 e_dbus_bluez_test_CPPFLAGS = $(EDBUS_CPPFLAGS)
56 e_dbus_bluez_test_LDADD = $(top_builddir)/src/lib/bluez/libebluez.la
57 endif
58
59 if BUILD_ECONNMAN
60 e_dbus_connman_test_SOURCES = e_dbus_connman_test.c
61 e_dbus_connman_test_CPPFLAGS = $(EDBUS_CPPFLAGS)
62 e_dbus_connman_test_LDADD = $(top_builddir)/src/lib/connman/libeconnman.la
63
64 e_dbus_connman_test_api_SOURCES = e_dbus_connman_test_api.c
65 e_dbus_connman_test_api_CPPFLAGS = $(EDBUS_CPPFLAGS)
66 e_dbus_connman_test_api_LDADD = $(top_builddir)/src/lib/connman/libeconnman.la
67 endif
68
69 if BUILD_ENOTIFY
70
71 ENOTIFY_CPPFLAGS = $(EDBUS_CPPFLAGS) $(EVAS_CFLAGS)
72 ENOTIFY_LIBS = $(top_builddir)/src/lib/notification/libenotify.la
73
74 e_dbus_notify_SOURCES = notify.c
75 e_dbus_notify_CPPFLAGS = $(ENOTIFY_CPPFLAGS)
76 e_dbus_notify_LDADD = $(ENOTIFY_LIBS)
77
78 e_dbus_notification_daemon_SOURCES = notification_daemon.c
79 e_dbus_notification_daemon_CPPFLAGS = $(ENOTIFY_CPPFLAGS)
80 e_dbus_notification_daemon_LDADD = $(ENOTIFY_LIBS)
81
82 e_notify_send_SOURCES = notify-send.c
83 e_notify_send_CPPFLAGS = $(ENOTIFY_CPPFLAGS)
84 e_notify_send_LDADD =  $(ENOTIFY_LIBS)
85 endif
86
87 if BUILD_EOFONO
88 e_dbus_ofono_test_SOURCES = e_dbus_ofono_test.c
89 e_dbus_ofono_test_CPPFLAGS = $(EDBUS_CPPFLAGS)
90 e_dbus_ofono_test_LDADD = $(top_builddir)/src/lib/ofono/libeofono.la
91 endif
92
93 if BUILD_EUKIT
94 e_dbus_ukit_test_SOURCES = e_dbus_ukit_test.c
95 e_dbus_ukit_test_CPPFLAGS = $(EDBUS_CPPFLAGS)
96 e_dbus_ukit_test_LDADD = $(top_builddir)/src/lib/ukit/libeukit.la
97 endif