blob: f959379fd5df3d1c0659f7d2188abd7b5f5b36ec (
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
|
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 plugin.c profile.c element.c \
storage.c manager.c agent.c rtnl.c
connmand_LDADD = @SQLITE_LIBS@ @GDBUS_LIBS@ @GMODULE_LIBS@ @GTHREAD_LIBS@
connmand_LDFLAGS = -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 = @GTHREAD_CFLAGS@ @GMODULE_CFLAGS@ @GDBUS_CFLAGS@ @SQLITE_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: *; };" >> $@
|