Add systemd unit file for ndns-daemon
Refs: #4594
Change-Id: If0f1c20f795c8695f522736e3f05e983c12738db
diff --git a/tools/wscript b/tools/wscript
index a7cb43f..0b109de 100644
--- a/tools/wscript
+++ b/tools/wscript
@@ -1,7 +1,5 @@
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
-import os.path
-
top = '..'
def build(bld):
@@ -30,18 +28,16 @@
srcFiles = subdir.ant_glob('**/*.cpp', excl=['main.cpp'])
srcObjects = ''
if srcFiles:
- srcObjects = 'tools-%s-objects' % name
+ srcObjects = 'tool-%s-objects' % name
bld.objects(target=srcObjects,
source=srcFiles,
- use='ndn-cxx',
- includes=name)
+ use='ndns-objects')
testableObjects.append(srcObjects)
bld.program(name=name,
target='../bin/%s' % name,
source=[mainFile],
- use='ndns-objects ' + srcObjects,
- includes=name)
+ use='ndns-objects ' + srcObjects)
bld.objects(target='tools-objects',
source=[],