Andrea Tosatto | 672b9a7 | 2016-01-05 16:18:20 +0100 | [diff] [blame] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| 2 | top = '../..' |
| 3 | |
| 4 | def build(bld): |
| 5 | |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame^] | 6 | bld.objects( |
| 7 | target='ndncatchunks-objects', |
Andrea Tosatto | 672b9a7 | 2016-01-05 16:18:20 +0100 | [diff] [blame] | 8 | source=bld.path.ant_glob('catchunks/*.cpp', excl='catchunks/ndncatchunks.cpp'), |
| 9 | use='core-objects') |
| 10 | |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame^] | 11 | bld.program( |
Andrea Tosatto | 672b9a7 | 2016-01-05 16:18:20 +0100 | [diff] [blame] | 12 | target='../../bin/ndncatchunks', |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame^] | 13 | name='ndncatchunks', |
Andrea Tosatto | 672b9a7 | 2016-01-05 16:18:20 +0100 | [diff] [blame] | 14 | source='catchunks/ndncatchunks.cpp', |
| 15 | use='ndncatchunks-objects') |
| 16 | |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame^] | 17 | bld.objects( |
| 18 | target='ndnputchunks-objects', |
Andrea Tosatto | 672b9a7 | 2016-01-05 16:18:20 +0100 | [diff] [blame] | 19 | source=bld.path.ant_glob('putchunks/*.cpp', excl='putchunks/ndnputchunks.cpp'), |
| 20 | use='core-objects') |
| 21 | |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame^] | 22 | bld.program( |
Andrea Tosatto | 672b9a7 | 2016-01-05 16:18:20 +0100 | [diff] [blame] | 23 | target='../../bin/ndnputchunks', |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame^] | 24 | name='ndnputchunks', |
Andrea Tosatto | 672b9a7 | 2016-01-05 16:18:20 +0100 | [diff] [blame] | 25 | source='putchunks/ndnputchunks.cpp', |
| 26 | use='ndnputchunks-objects') |
| 27 | |
| 28 | ## (for unit tests) |
| 29 | |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame^] | 30 | bld(target='chunks-objects', |
Andrea Tosatto | 672b9a7 | 2016-01-05 16:18:20 +0100 | [diff] [blame] | 31 | use='ndncatchunks-objects ndnputchunks-objects') |
| 32 | |