390a1448fb5533ac34d268dbd07e4ea1ec3e5f05
[samba.git] / lib / util / charset / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_SUBSYSTEM('ICONV_WRAPPER',
4                     source='iconv.c',
5                     public_deps='iconv replace talloc')
6
7 bld.SAMBA_SUBSYSTEM('charset',
8                     public_headers='charset.h',
9                     source='codepoints.c convert_string.c util_str.c util_unistr_w.c charcnv.c pull_push.c util_unistr.c',
10                     deps='DYNCONFIG ICONV_WRAPPER',
11                     public_deps='talloc')
12
13 # In the WAF builds, all charset modules are linked in at compile
14 # time, as we have shared libs.  Using run-time loading as well will
15 # cause dependency loops
16
17 bld.SAMBA_MODULE('charset_weird',
18                  subsystem='charset',
19                  source='weird.c',
20                  init_function='charset_weird_init',
21                  deps='samba-util',
22                  internal_module=True,
23                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('charset_weird'))
24
25 bld.SAMBA_MODULE('charset_macosxfs',
26                  subsystem='charset',
27                  source='charset_macosxfs.c',
28                  init_function='charset_macosxfs_init',
29                  internal_module=True,
30                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('charset_macosxfs'))
31
32