Fix typo in sources list
[connman] / plugins / Makefile.am
1
2 plugindir = $(libdir)/connman/plugins
3
4 plugin_LTLIBRARIES = ethernet.la bluetooth.la \
5                                 ipv4.la udhcp.la dhclient.la \
6                                 dnsproxy.la resolvconf.la resolvfile.la
7
8 if LOOPBACK
9 plugin_LTLIBRARIES += loopback.la
10
11 loopback_la_SOURCES = loopback.c
12 endif
13
14 ethernet_la_SOURCES = ethernet.c inet.h inet.c
15
16 if WIFI
17 plugin_LTLIBRARIES += wifi.la
18
19 wifi_la_SOURCES = wifi.c inet.h inet.c supplicant.h supplicant.c
20 wifi_la_LIBADD = @GDBUS_LIBS@
21 endif
22
23 bluetooth_la_SOURCES = bluetooth.c inet.h inet.c
24 bluetooth_la_LIBADD = @GDBUS_LIBS@
25
26 if HUAWEI
27 plugin_LTLIBRARIES += huawei.la
28
29 huawei_la_SOURCES = huawei.c modem.h modem.c
30 endif
31
32 if HSO
33 plugin_LTLIBRARIES += hso.la
34
35 hso_la_SOURCES = hso.c modem.h modem.c
36 endif
37
38 ipv4_la_SOURCES = ipv4.c inet.h inet.c
39
40 udhcp_la_SOURCES = udhcp.c inet.h inet.c task.h task.c
41 udhcp_la_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@ -DUDHCPC=\"@UDHCPC@\" \
42                 -DSTATEDIR=\""$(statedir)"\" -DSCRIPTDIR=\""$(scriptdir)"\"
43
44 dhclient_la_SOURCES = dhclient.c inet.h inet.c
45 dhclient_la_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@ -DDHCLIENT=\"@DHCLIENT@\" \
46                 -DSTATEDIR=\""$(statedir)"\" -DSCRIPTDIR=\""$(scriptdir)"\"
47
48 if PPPD
49 plugin_LTLIBRARIES += pppd.la
50
51 pppd_la_SOURCES = pppd.c
52 endif
53
54 dnsproxy_la_SOURCES = dnsproxy.c
55
56 resolvconf_la_SOURCES = resolvconf.c
57 resolvconf_la_CFLAGS = @GLIB_CFLAGS@ -DRESOLVCONF=\"@RESOLVCONF@\"
58
59 resolvfile_la_SOURCES = resolvfile.c
60
61 if POLKIT
62 plugin_LTLIBRARIES += polkit.la
63
64 polkit_la_SOURCES = polkit.c
65 polkit_la_LIBADD = @POLKIT_LIBS@ @GLIB_LIBS@
66 polkit_la_CFLAGS = @GLIB_CFLAGS@ @POLKIT_CFLAGS@
67
68 policydir = $(datadir)/PolicyKit/policy
69
70 policy_DATA = connman.policy
71 endif
72
73 if FAKE
74 plugin_LTLIBRARIES += fake.la
75
76 fake_la_SOURCES = fake.c
77 endif
78
79 AM_LDFLAGS = -no-undefined -module -avoid-version \
80                                 -export-symbols-regex connman_plugin_desc
81
82 statedir = $(localstatedir)/run/connman
83
84 if MAINTAINER_MODE
85 scriptdir = $(abs_top_srcdir)/scripts
86 else
87 scriptdir = $(libdir)/connman/scripts
88 endif
89
90 AM_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@
91
92 INCLUDES = -I$(top_builddir)/include
93
94 EXTRA_DIST = connman.policy
95
96 MAINTAINERCLEANFILES = Makefile.in