blob: 376f72cfaa30e31679e2f0dedee52ca4711be4c2 [file] [log] [blame]
Davide Pesavento8ca94572025-04-20 14:52:00 -04001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2top = '../..'
3
4def 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')