2 dbusdir = $(sysconfdir)/dbus-1/system.d
4 dbus_DATA = connman.conf
6 servicedir = $(datarootdir)/dbus-1/system-services
8 service_DATA = connman.service
10 DISTCLEANFILES = $(service_DATA)
12 sbin_PROGRAMS = connmand
14 connmand_SOURCES = main.c connman.h log.c error.c plugin.c profile.c \
15 element.c device.c security.c storage.c \
16 manager.c agent.c rtnl.c
18 connmand_LDADD = @GDBUS_LIBS@ @GLIB_LIBS@ @GTHREAD_LIBS@ -ldl
20 connmand_LDFLAGS = -Wl,--export-dynamic -Wl,--version-script=connman.ver
22 connmand_DEPENDENCIES = connman.ver
24 CLEANFILES = connman.ver connman.exp
26 statedir = $(localstatedir)/run/connman
28 storagedir = $(localstatedir)/lib/connman
31 plugindir = $(abs_top_srcdir)/plugins/.libs
33 plugindir = $(libdir)/connman/plugins
36 AM_CFLAGS = @GTHREAD_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ \
37 -DSTATEDIR=\""$(statedir)"\" \
38 -DSTORAGEDIR=\""$(storagedir)\"" \
39 -DPLUGINDIR=\""$(plugindir)"\"
41 INCLUDES = -I$(top_builddir)/include
43 EXTRA_DIST = $(dbus_DATA)
45 MAINTAINERCLEANFILES = Makefile.in
48 nm -B *.o | awk '{ print $$3 }' | sort -u | grep -E -e '^connman_' > $@
50 connman.ver: connman.exp
52 cat $< | sed -e "s/\(.*\)/\1;/" >> $@
53 echo "local: *; };" >> $@