File: wscript

package info (click to toggle)
ntpsec 1.2.3%2Bdfsg1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,960 kB
  • sloc: ansic: 62,004; python: 32,017; sh: 1,553; yacc: 1,293; makefile: 190; javascript: 138
file content (20 lines) | stat: -rw-r--r-- 562 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
def build(ctx):
    util = [    'sht',
                'digest-find', 'cipher-find',
		'clocks', "random",
                'digest-timing', 'cmac-timing',
                'backwards']

    if not ctx.env.DISABLE_NTS:
        util.append('aes-siv-timing')

    for name in util:
        ctx(
            target=name,
            features="c cprogram",
            includes=[ctx.bldnode.parent.abspath(), "../include", "../libaes_siv"],
            source=[name + ".c"],
            use="ntp M CRYPTO RT PTHREAD aes_siv",
            install_path=None,
        )