[ntpsec commit] A get-more sleep commit - actually add ntptime/wscript.

Eric S. Raymond esr at ntpsec.org
Mon Oct 19 23:47:17 UTC 2015


Module:    ntpsec
Branch:    master
Commit:    705d365732bd3f43a3d6965d73af644596fd9dd3
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=705d365732bd3f43a3d6965d73af644596fd9dd3

Author:    Eric S. Raymond <esr at thyrsus.com>
Date:      Mon Oct 19 19:46:28 2015 -0400

A get-more sleep commit - actually add ntptime/wscript.

---

 ntptime/wscript | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/ntptime/wscript b/ntptime/wscript
new file mode 100644
index 0000000..5ee1260
--- /dev/null
+++ b/ntptime/wscript
@@ -0,0 +1,22 @@
+from waflib import Utils
+
+def build(ctx):
+	srcnode = ctx.srcnode.abspath()
+	bldnode = ctx.bldnode.abspath()
+
+	ctx(
+		target		= "ntptime",
+		features	= "c cprogram bld_include src_include libisc_include",
+		source		= ["ntptime.c"],
+		includes	= [
+					"%s/ntptime/" % bldnode,
+					"%s/ntptime/" % srcnode,
+				],
+		use		= "ntp opts isc M RT PTHREAD",
+		install_path = "${PREFIX}/bin/"
+	)
+
+# end
+
+
+



More information about the vc mailing list