97c550b83fd9bb08b6e46631865de48af6febb4c
[sfrench/samba-autobuild/.git] / source4 / web_server / wscript_build
1 #!/usr/bin/env python
2
3 libpython = bld.pyembed_libname('LIBPYTHON')
4
5 bld.SAMBA_SUBSYSTEM('WEB_WSGI',
6                 source='wsgi.c',
7                 pyext=True,
8                 deps='talloc LIBTSOCKET',
9                 enabled=bld.AD_DC_BUILD_IS_ENABLED()
10                 )
11
12
13 bld.SAMBA_MODULE('service_web',
14                 source='web_server.c',
15                 subsystem='service',
16                 init_function='server_service_web_init',
17                 deps='LIBTLS process_model %s WEB_WSGI' % libpython,
18                 pyembed=True,
19                 internal_module=False,
20                 enabled=bld.AD_DC_BUILD_IS_ENABLED()
21                 )