Davide Pesavento | 8ca9457 | 2025-04-20 14:52:00 -0400 | [diff] [blame^] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
2 | top = '../..' | ||||
3 | |||||
4 | def build(bld): | ||||
5 | bld.objects( | ||||
6 | target='serve-objects', | ||||
7 | source=bld.path.ant_glob('*.cpp', excl='main.cpp'), | ||||
8 | use='core-objects') | ||||
9 | |||||
10 | bld.program( | ||||
11 | target=f'{top}/bin/ndnserve', | ||||
12 | name='ndnserve', | ||||
13 | source='main.cpp', | ||||
14 | use='serve-objects') | ||||
15 | |||||
16 | # backward compatibility | ||||
17 | bld.symlink_as('${BINDIR}/ndnputchunks', 'ndnserve') |