Move pib service from ndn-cxx to ndn-tools
Code is copied from ndn-cxx:commit:e1c8c4cfffb33dca13c8ca7d7ef04c7401a7cbef,
(gerrit change-id Ieea485c0ebdce9fb9c876cad005cb95fd8e0c899)
with minor changes for changing include paths and building script.
Change-Id: I77b94fe69b20f04c338e7be7387125f709fa9e1a
Refs: #3018
diff --git a/tools/pib/wscript b/tools/pib/wscript
new file mode 100644
index 0000000..7a40d5a
--- /dev/null
+++ b/tools/pib/wscript
@@ -0,0 +1,19 @@
+# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
+top = '../..'
+
+def build(bld):
+
+ bld(features=['cxx'],
+ name="pib-objects",
+ target="pib-objects",
+ source=bld.path.ant_glob('**/*.cpp', excl=['ndn-pib.cpp']),
+ use='core-objects',
+ install_path=None,
+ )
+
+
+ bld(features=['cxx', 'cxxprogram'],
+ target='ndn-pib',
+ source='ndn-pib.cpp',
+ use='pib-objects',
+ )