summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-11-02 17:26:12 +0100
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2012-11-23 13:45:10 +0100
commitdb2a311c9f4c77fec8f7baca6cd075ebf4806832 (patch)
tree6d909e45f9e29ee18d98ce4362e749affcf187d2 /Makefile.am
parentb49360d9485fc5d003e167f18333ac2e59b8573b (diff)
downloadconnman-db2a311c9f4c77fec8f7baca6cd075ebf4806832.tar.gz
connman-db2a311c9f4c77fec8f7baca6cd075ebf4806832.tar.bz2
connman-db2a311c9f4c77fec8f7baca6cd075ebf4806832.zip
inotify: Move inotify code into its own file
The inotify code will be used by the core (config.c) and the session policy plugin. We introduce a new API for file modifcation notifcation. We move the factored out code part from the last patch into a new file and also change the inotify code so that it allows to monitor not only STORAGEDIR. When registering a new observer, the callee has to tell which directory should be watched. inotify.c will group the observers together.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 21d820e7..bd130c3e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,7 +8,8 @@ include_HEADERS = include/types.h include/log.h include/plugin.h \
include/resolver.h include/ipconfig.h \
include/device.h include/network.h include/inet.h \
include/storage.h include/provision.h \
- include/session.h include/ipaddress.h include/agent.h
+ include/session.h include/ipaddress.h include/agent.h \
+ include/inotify.h
nodist_include_HEADERS = include/version.h
@@ -95,7 +96,8 @@ src_connmand_SOURCES = $(gdbus_sources) $(gdhcp_sources) $(gweb_sources) \
src/technology.c src/counter.c src/ntp.c \
src/session.c src/tethering.c src/wpad.c src/wispr.c \
src/stats.c src/iptables.c src/dnsproxy.c src/6to4.c \
- src/ippool.c src/bridge.c src/nat.c src/ipaddress.c
+ src/ippool.c src/bridge.c src/nat.c src/ipaddress.c \
+ src/inotify.c
src_connmand_LDADD = $(builtin_libadd) @GLIB_LIBS@ @DBUS_LIBS@ \
@XTABLES_LIBS@ @GNUTLS_LIBS@ -lresolv -ldl -lrt