diff options
author | Günther Deschner <gd@samba.org> | 2010-09-26 20:30:36 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-09-27 00:39:38 +0200 |
commit | 9f0b88de1a17cb22349ddbaf8d62ef40dc27c6c1 (patch) | |
tree | 63a74eb5e0cd62d987e9efdc1b84bda177ce3d1f /source3 | |
parent | a742e0065aee09499b60f3762af50f180c42c855 (diff) | |
download | samba-9f0b88de1a17cb22349ddbaf8d62ef40dc27c6c1.tar.gz samba-9f0b88de1a17cb22349ddbaf8d62ef40dc27c6c1.tar.bz2 samba-9f0b88de1a17cb22349ddbaf8d62ef40dc27c6c1.zip |
s3-waf: move gpext subsystem to libgpo/gpext/wscript_build.
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libgpo/gpext/wscript_build | 33 | ||||
-rw-r--r-- | source3/wscript_build | 38 |
2 files changed, 36 insertions, 35 deletions
diff --git a/source3/libgpo/gpext/wscript_build b/source3/libgpo/gpext/wscript_build new file mode 100644 index 0000000000..35d35461cc --- /dev/null +++ b/source3/libgpo/gpext/wscript_build @@ -0,0 +1,33 @@ +#!/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, + 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')) diff --git a/source3/wscript_build b/source3/wscript_build index 6b81247e13..0434361d33 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -248,17 +248,9 @@ LIBADDNS_SRC0 = '''libaddns/dnsrecord.c libaddns/dnsutils.c libaddns/dnssock.c libaddns/dnsgss.c libaddns/dnsmarshall.c''' LIBADDNS_SRC = '''${LIBADDNS_SRC0} ${SOCKET_WRAPPER_SRC}''' -GPEXT_STATIC = '' -GPEXT_REGISTRY_SRC = 'libgpo/gpext/registry.c' -GPEXT_SCRIPTS_SRC = 'libgpo/gpext/scripts.c' -GPEXT_SECURITY_SRC = 'libgpo/gpext/security.c' - -GPEXT_SRC = '''../libgpo/gpext/gpext.c ${GPEXT_STATIC}''' - LIBGPO_SRC0 = '''../libgpo/gpo_ldap.c ../libgpo/gpo_ini.c ../libgpo/gpo_util.c ../libgpo/gpo_fetch.c libgpo/gpo_filesync.c ../libgpo/gpo_sec.c - libgpo/gpo_reg.c - ${GPEXT_SRC}''' + libgpo/gpo_reg.c''' LIBGPO_SRC = '''${LIBGPO_SRC0}''' LIBADS_SRC = '''libads/ldap.c @@ -1118,6 +1110,7 @@ bld.SAMBA_SUBSYSTEM('LIBMSRPC_GEN', bld.SAMBA_SUBSYSTEM('LIBGPO', source='${LIBGPO_SRC}', + deps='GPEXT', vars=locals()) bld.SAMBA_SUBSYSTEM('ASN1_UTIL', @@ -1125,32 +1118,6 @@ bld.SAMBA_SUBSYSTEM('ASN1_UTIL', deps='talloc', local_include=False) -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, - init_function='', - internal_module=True, - enabled=True) - -bld.SAMBA_MODULE('GPEXT_SCRIPTS', - subsystem='GPEXT', - source=GPEXT_SCRIPTS_SRC, - init_function='', - internal_module=True, - enabled=True) - -bld.SAMBA_MODULE('GPEXT_SECURITY', - subsystem='GPEXT', - source=GPEXT_SECURITY_SRC, - init_function='', - internal_module=True, - enabled=True) - bld.SAMBA_SUBSYSTEM('AVAHI', source=AVAHI_SRC, deps='avahi-common avahi-client', @@ -1637,6 +1604,7 @@ bld.RECURSE('modules') bld.RECURSE('auth') bld.RECURSE('passdb') bld.RECURSE('winbindd') +bld.RECURSE('libgpo/gpext') bld.ENFORCE_GROUP_ORDERING() bld.CHECK_PROJECT_RULES() |