summaryrefslogtreecommitdiff
path: root/Makefile.plugins
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-05-31 15:09:28 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-05-31 17:39:56 +0200
commitec6dc19bbeb4c93e951ba5419ccf6768d5811ae6 (patch)
tree1673a4b201f6f6cdc1d5277a5c2821cb569f9d5a /Makefile.plugins
parentdba90159b8bf8f065fcbce48432ef5da36a0c5ce (diff)
downloadconnman-ec6dc19bbeb4c93e951ba5419ccf6768d5811ae6.tar.gz
connman-ec6dc19bbeb4c93e951ba5419ccf6768d5811ae6.tar.bz2
connman-ec6dc19bbeb4c93e951ba5419ccf6768d5811ae6.zip
ntpd plugin
The ntpd plugin triggers an ntpd -q task whenever a service goes online. It either uses the meego ntp service or the one it potentially fetches from a DHCP response.
Diffstat (limited to 'Makefile.plugins')
-rw-r--r--Makefile.plugins12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.plugins b/Makefile.plugins
index 0748c3ec..7df46a48 100644
--- a/Makefile.plugins
+++ b/Makefile.plugins
@@ -249,6 +249,18 @@ script_PROGRAMS += scripts/dhclient-script
scripts_dhclient_script_LDADD = @DBUS_LIBS@
endif
+if NTPD
+if NTPD_BUILTIN
+builtin_modules += ntpd
+builtin_sources += plugins/ntpd.c
+builtin_cflags += -DNTPD=\"@NTPD@\"
+else
+plugin_LTLIBRARIES += plugins/ntpd.la
+plugin_objects += $(plugins_ntpd_la_OBJECTS)
+plugins_ntpd_la_CFLAGS = $(plugin_cflags) -DNTPD=\"@NTPD@\"
+plugins_ntpd_la_LDFLAGS = $(plugin_ldflags)
+endif
+endif
EXTRA_DIST += plugins/polkit.policy scripts/dhclient.conf