summaryrefslogtreecommitdiff
path: root/source3/libgpo/gpext/wscript_build
blob: c2cca3d410109d331dbc42f3634dec785d2c05cd (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
#!/usr/bin/env python

GPEXT_REGISTRY_SRC = 'registry.c'
GPEXT_SCRIPTS_SRC = 'scripts.c'
GPEXT_SECURITY_SRC = 'security.c'

GPEXT_SRC = '''../../../libgpo/gpext/gpext.c'''

bld.SAMBA_SUBSYSTEM('GPEXT',
                    source=GPEXT_SRC,
                    deps='''GPEXT_REGISTRY GPEXT_SCRIPTS GPEXT_SECURITY''',
                    vars=locals())

bld.SAMBA_MODULE('GPEXT_REGISTRY',
                 subsystem='GPEXT',
                 source=GPEXT_REGISTRY_SRC,
                 deps='NDR_PREG',
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('GPEXT_REGISTRY'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('GPEXT_REGISTRY'))

bld.SAMBA_MODULE('GPEXT_SCRIPTS',
                 subsystem='GPEXT',
                 source=GPEXT_SCRIPTS_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('GPEXT_SCRIPTS'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('GPEXT_SCRIPTS'))

bld.SAMBA_MODULE('GPEXT_SECURITY',
                 subsystem='GPEXT',
                 source=GPEXT_SECURITY_SRC,
                 init_function='',
                 internal_module=bld.SAMBA3_IS_STATIC_MODULE('GPEXT_SECURITY'),
                 enabled=bld.SAMBA3_IS_ENABLED_MODULE('GPEXT_SECURITY'))