summaryrefslogtreecommitdiff
path: root/source3/libgpo/gpext/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-26 20:30:36 +0200
committerGünther Deschner <gd@samba.org>2010-09-27 00:39:38 +0200
commit9f0b88de1a17cb22349ddbaf8d62ef40dc27c6c1 (patch)
tree63a74eb5e0cd62d987e9efdc1b84bda177ce3d1f /source3/libgpo/gpext/wscript_build
parenta742e0065aee09499b60f3762af50f180c42c855 (diff)
downloadsamba-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/libgpo/gpext/wscript_build')
-rw-r--r--source3/libgpo/gpext/wscript_build33
1 files changed, 33 insertions, 0 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'))