summaryrefslogtreecommitdiff
path: root/lib/util/charset/wscript_build
blob: 3b29ace6d32abafbbe743e6e59b5e91b3ac5e15c (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/env python

bld.SAMBA_SUBSYSTEM('ICONV_WRAPPER',
                    source='iconv.c',
                    public_deps='iconv replace talloc')

bld.SAMBA_SUBSYSTEM('CHARSET',
                    public_headers='charset.h',
                    source='codepoints.c convert_string.c util_str.c util_unistr_w.c charcnv.c pull_push.c util_unistr.c',
                    deps='DYNCONFIG ICONV_WRAPPER'
                    )

bld.SAMBA_MODULE('charset_weird',
                 subsystem='CHARSET',
                 source='weird.c',
                 init_function='',
                 deps='samba-util',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('charset_weird'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('charset_weird'))

bld.SAMBA_MODULE('charset_CP850',
                 subsystem='CHARSET',
                 source='CP850.c',
                 init_function='',
                 deps='samba-util',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('charset_CP850'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('charset_CP850'))

bld.SAMBA_MODULE('charset_CP437',
                 subsystem='CHARSET',
                 source='CP437.c',
                 init_function='',
                 deps='samba-util',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('charset_CP437'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('charset_CP437'))

bld.SAMBA_MODULE('charset_macosxfs',
                 subsystem='CHARSET',
                 source='charset_macosxfs.c',
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('charset_macosxfs'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('charset_macosxfs'))