summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-08-23 15:14:30 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-08-23 15:14:30 -0700
commit36b3db39a22f49b44659938d77fd8f53f1d67987 (patch)
tree08daaa3b041b631a403d6612fa48f3a4917579ff /src/Makefile.am
parente425c22615000881b6be9037b895e65a2e096063 (diff)
downloadconnman-36b3db39a22f49b44659938d77fd8f53f1d67987.tar.gz
connman-36b3db39a22f49b44659938d77fd8f53f1d67987.tar.bz2
connman-36b3db39a22f49b44659938d77fd8f53f1d67987.zip
Convert to fully non-recursive build system
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index 4b997977..00000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,65 +0,0 @@
-
-if DATAFILES
-dbusdir = @DBUS_DATADIR@
-
-dbus_DATA = connman.conf
-endif
-
-sbin_PROGRAMS = connmand
-
-connmand_SOURCES = main.c connman.h log.c selftest.c error.c plugin.c \
- task.c element.c device.c network.c connection.c \
- manager.c profile.c service.c agent.c notifier.c \
- provider.c security.c resolver.c ipconfig.c ipv4.c \
- storage.c rfkill.c rtnl.c inet.c wifi.c dbus.c
-
-if UDEV
-connmand_SOURCES += udev.c
-else
-connmand_SOURCES += udev-compat.c
-endif
-
-connmand_LDADD = $(top_builddir)/plugins/libbuiltin.la \
- @GDBUS_LIBS@ @GLIB_LIBS@ @GTHREAD_LIBS@ @UDEV_LIBS@ -ldl
-
-connmand_LDFLAGS = -Wl,--export-dynamic -Wl,--version-script=connman.ver
-
-connmand_DEPENDENCIES = connman.ver $(top_builddir)/plugins/libbuiltin.la
-
-CLEANFILES = connman.ver connman.exp connman.conf
-
-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@ @GTHREAD_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ \
- -DSTATEDIR=\""$(statedir)"\" \
- -DPLUGINDIR=\""$(plugindir)"\" \
- -DSTORAGEDIR=\""$(storagedir)\""
-
-INCLUDES = -I$(top_builddir)/include -I$(top_builddir)/plugins
-
-EXTRA_DIST = connman-dbus.conf connman-polkit.conf
-
-MAINTAINERCLEANFILES = Makefile.in
-
-connman.exp: $(connmand_OBJECTS)
- $(AM_V_GEN)nm -B *.o | awk '{ print $$3 }' | sort -u | grep -E -e '^connman_' > $@
-
-connman.ver: connman.exp
- $(AM_V_at)echo "{ global:" > $@
- $(AM_V_GEN)cat $< | sed -e "s/\(.*\)/\1;/" >> $@
- $(AM_V_at)echo "local: *; };" >> $@
-
-connman.conf: connman-dbus.conf connman-polkit.conf
-if POLKIT
- $(AM_V_GEN)cp $(top_srcdir)/src/connman-polkit.conf $@
-else
- $(AM_V_GEN)cp $(top_srcdir)/src/connman-dbus.conf $@
-endif