summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile.am12
-rw-r--r--configure.ac3
-rw-r--r--src/connman.ver8
4 files changed, 9 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
index fb4f50bb..5a173f7d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,8 +29,6 @@ include/connman
include/version.h
src/builtin.h
src/connmand
-src/connman.exp
-src/connman.ver
src/connman.conf
src/connman.service
src/*-connman.rules
diff --git a/Makefile.am b/Makefile.am
index 97d41d0a..6627e2f4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -86,8 +86,7 @@ src_connmand_LDFLAGS = -Wl,--export-dynamic -Wl,--version-script=src/connman.ver
src_connmand_DEPENDENCIES = src/connman.ver
-CLEANFILES = src/connman.ver src/connman.exp src/connman.conf \
- src/builtin.h $(local_headers)
+CLEANFILES = src/connman.conf src/builtin.h $(local_headers)
statedir = $(localstatedir)/run/connman
@@ -241,15 +240,6 @@ src/plugin.$(OBJEXT): src/builtin.h
src/builtin.h: src/genbuiltin $(builtin_sources)
$(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
-src/connman.exp: $(src_connmand_OBJECTS)
- $(AM_V_GEN)$(NM) $^ | $(AWK) '{ print $$3 }' | sort -u | \
- $(EGREP) -e '^connman_' -e '^g_dbus_' -e '^g_dhcp_' > $@
-
-src/connman.ver: src/connman.exp
- $(AM_V_at)echo "{ global:" > $@
- $(AM_V_GEN)$(SED) -e "s/\(.*\)/\1;/" $< >> $@
- $(AM_V_at)echo "local: *; };" >> $@
-
src/connman.conf: src/connman-dbus.conf src/connman-polkit.conf
if POLKIT
$(AM_V_GEN)cp $(srcdir)/src/connman-polkit.conf $@
diff --git a/configure.ac b/configure.ac
index 6d960666..24c61ff4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,8 +23,6 @@ AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CC_PIE
AC_PROG_INSTALL
-AC_PROG_SED
-AC_PROG_AWK
AM_PROG_MKDIR_P
m4_define([_LT_AC_TAGCONFIG], [])
@@ -32,7 +30,6 @@ m4_ifdef([AC_LIBTOOL_TAGS], [AC_LIBTOOL_TAGS([])])
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
-AC_PROG_NM
AC_ARG_ENABLE(optimization, AC_HELP_STRING([--disable-optimization],
[disable code optimization through compiler]), [
diff --git a/src/connman.ver b/src/connman.ver
new file mode 100644
index 00000000..9a178a2a
--- /dev/null
+++ b/src/connman.ver
@@ -0,0 +1,8 @@
+{
+ global:
+ connman_*;
+ g_dbus_*;
+ g_dhcp_*;
+ local:
+ *;
+};