Basic command-line tools to export KEK and KDKs

Change-Id: I0975871b6639653e60a2f7ccefaf435147828f33
diff --git a/wscript b/wscript
index 8931c7a..f1bfbb3 100644
--- a/wscript
+++ b/wscript
@@ -52,6 +52,20 @@
 def build(bld):
     version(bld)
 
+    bld(features='subst',
+        name='version.hpp',
+        source='src/version.hpp.in',
+        target='src/version.hpp',
+        install_path=None,
+        VERSION_STRING=VERSION_BASE,
+        VERSION_BUILD=VERSION,
+        VERSION=int(VERSION_SPLIT[0]) * 1000000 +
+                int(VERSION_SPLIT[1]) * 1000 +
+                int(VERSION_SPLIT[2]),
+        VERSION_MAJOR=VERSION_SPLIT[0],
+        VERSION_MINOR=VERSION_SPLIT[1],
+        VERSION_PATCH=VERSION_SPLIT[2])
+
     bld.shlib(
         target="ndn-nac",
         name="libndn-nac",
@@ -66,6 +80,8 @@
     if bld.env['WITH_TESTS']:
         bld.recurse('tests')
 
+    bld.recurse('tools')
+
     bld.install_files(
         dest = "%s/ndn-nac" % bld.env['INCLUDEDIR'],
         files = bld.path.ant_glob(['src/**/*.hpp', 'src/**/*.h', 'common.hpp']),