blob: c3a811c1a9680cbbcafc9f3bf35b055b60663f03 (
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
|
dbusdir = $(sysconfdir)/dbus-1/system.d
dbus_DATA = connman.conf
servicedir = $(datarootdir)/dbus-1/system-services
service_DATA = connman.service
DISTCLEANFILES = $(service_DATA)
sbin_PROGRAMS = connmand
connmand_SOURCES = main.c connman.h log.c error.c plugin.c profile.c \
element.c device.c network.c security.c resolver.c \
storage.c manager.c agent.c rtnl.c dbus.c
if UDEV
connmand_SOURCES += udev.c
endif
connmand_LDADD = @GDBUS_LIBS@ @GLIB_LIBS@ @UDEV_LIBS@ -ldl
connmand_LDFLAGS = -Wl,--export-dynamic -Wl,--version-script=connman.ver
connmand_DEPENDENCIES = connman.ver
CLEANFILES = connman.ver connman.exp
statedir = $(localstatedir)/run/connman
storagedir = $(localstatedir)/lib/connman
if MAINTAINER_MODE
plugindir = $(abs_top_srcdir)/plugins/.libs
else
plugindir = $(libdir)/connman/plugins
endif
AM_CFLAGS = @UDEV_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ \
-DSTATEDIR=\""$(statedir)"\" \
-DSTORAGEDIR=\""$(storagedir)\"" \
-DPLUGINDIR=\""$(plugindir)"\"
INCLUDES = -I$(top_builddir)/include
EXTRA_DIST = $(dbus_DATA)
MAINTAINERCLEANFILES = Makefile.in
connman.exp:
nm -B *.o | awk '{ print $$3 }' | sort -u | grep -E -e '^connman_' > $@
connman.ver: connman.exp
echo "{ global:" > $@
cat $< | sed -e "s/\(.*\)/\1;/" >> $@
echo "local: *; };" >> $@
|