summaryrefslogtreecommitdiffstats
path: root/lib/compression/wscript_build
blob: 61fe4a9808e66fd38d050d363faa14c54f4e5583 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env python

bld.SAMBA_SUBSYSTEM('LZXPRESS',
                    deps='replace talloc stable_sort samba-debug',
                    source='lzxpress.c lzxpress_huffman.c'
                    )

bld.SAMBA_BINARY('test_lzx_huffman',
                 source='tests/test_lzx_huffman.c',
                 deps=('cmocka replace LZXPRESS'
                       ' samba-util'),
                 local_include=False,
                 for_selftest=True)

bld.SAMBA_BINARY('test_lzxpress_plain',
                 source='tests/test_lzxpress_plain.c',
                 deps=('cmocka replace LZXPRESS'
                       ' samba-util'),
                 local_include=False,
                 for_selftest=True)

bld.SAMBA_PYTHON('pycompression',
                 'pycompression.c',
                 deps='LZXPRESS',
                 realname='samba/compression.so')