summaryrefslogtreecommitdiff
path: root/source3/modules/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-26 20:07:03 +0200
committerGünther Deschner <gd@samba.org>2010-09-27 00:39:38 +0200
commit3e35cc42b55844d52d53639a49832dcb29ee140e (patch)
tree0d7febd93b3d6eaa0397572abb43d9da8bc1b016 /source3/modules/wscript_build
parent6465dbce6d03705271ccea1dbc179973b44e87f9 (diff)
downloadsamba-3e35cc42b55844d52d53639a49832dcb29ee140e.tar.gz
samba-3e35cc42b55844d52d53639a49832dcb29ee140e.tar.bz2
samba-3e35cc42b55844d52d53639a49832dcb29ee140e.zip
s3-waf: move charset subsystem to modules/wscript_build.
Guenther
Diffstat (limited to 'source3/modules/wscript_build')
-rw-r--r--source3/modules/wscript_build41
1 files changed, 41 insertions, 0 deletions
diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build
index 48edd0c168..076992de10 100644
--- a/source3/modules/wscript_build
+++ b/source3/modules/wscript_build
@@ -401,3 +401,44 @@ bld.SAMBA_MODULE('VFS_LINUX_XFS_SGID',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('VFS_LINUX_XFS_SGID'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('VFS_LINUX_XFS_SGID'))
+
+
+
+CHARSET_WEIRD_SRC = 'weird.c'
+CHARSET_CP850_SRC = 'CP850.c'
+CHARSET_CP437_SRC = 'CP437.c'
+CHARSET_MACOSXFS_SRC = 'charset_macosxfs.c'
+
+
+bld.SAMBA_SUBSYSTEM('CHARSET',
+ source='',
+ deps='''CHARSET_WEIRD CHARSET_CP850 CHARSET_CP437 CHARSET_MACOSXFS''',
+ vars=locals())
+
+bld.SAMBA_MODULE('CHARSET_WEIRD',
+ subsystem='CHARSET',
+ source=CHARSET_WEIRD_SRC,
+ init_function='',
+ 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=CHARSET_CP850_SRC,
+ init_function='',
+ 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=CHARSET_CP437_SRC,
+ init_function='',
+ 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_SRC,
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('CHARSET_MACOSXFS'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('CHARSET_MACOSXFS'))