summaryrefslogtreecommitdiffstats
path: root/source4/lib/wmi/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/wmi/wscript_build')
-rw-r--r--source4/lib/wmi/wscript_build26
1 files changed, 26 insertions, 0 deletions
diff --git a/source4/lib/wmi/wscript_build b/source4/lib/wmi/wscript_build
new file mode 100644
index 0000000..59e0ce5
--- /dev/null
+++ b/source4/lib/wmi/wscript_build
@@ -0,0 +1,26 @@
+#!/usr/bin/env python
+
+
+bld.SAMBA_SUBSYSTEM('WMI',
+ source='wmicore.c wbemdata.c ../../../librpc/gen_ndr/dcom_p.c',
+ public_deps='RPC_NDR_OXIDRESOLVER NDR_DCOM RPC_NDR_REMACT ndr_table DCOM_PROXY_DCOM DCOM'
+ )
+
+
+bld.SAMBA_BINARY('wmic',
+ source='tools/wmic.c',
+ deps='POPT_SAMBA POPT_CREDENTIALS popt WMI'
+ )
+
+
+bld.SAMBA_BINARY('wmis',
+ source='tools/wmis.c',
+ deps='POPT_SAMBA POPT_CREDENTIALS popt WMI'
+ )
+
+
+bld.SAMBA_PYTHON('pywmi',
+ source='wmi_wrap.c',
+ public_deps='LIBCLI_SMB ndr samba-util samba-config WMI'
+ )
+