summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-14 23:37:10 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-15 17:40:31 +0200
commitf6c52fa51c24791c79bfd2ca4bb163d7f05d5e5d (patch)
tree8571155276d0e8f7f02085b4dfd556c0389977df /source4/lib
parent9cfe8395274ee0ba65cbdcb185b6fb9bdcdde83f (diff)
downloadsamba-f6c52fa51c24791c79bfd2ca4bb163d7f05d5e5d.tar.gz
samba-f6c52fa51c24791c79bfd2ca4bb163d7f05d5e5d.tar.bz2
samba-f6c52fa51c24791c79bfd2ca4bb163d7f05d5e5d.zip
No spurious warnings in SWIG file.
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/wmi/config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/wmi/config.mk b/source4/lib/wmi/config.mk
index 2c40e34d32..28f6c73dcd 100644
--- a/source4/lib/wmi/config.mk
+++ b/source4/lib/wmi/config.mk
@@ -45,7 +45,10 @@ librpc/gen_ndr/dcom_p.c: idl
[PYTHON::pywmi]
PUBLIC_DEPENDENCIES = LIBCLI_SMB NDR_MISC LIBSAMBA-UTIL LIBSAMBA-CONFIG WMI
+$(eval $(call python_py_module_template,wmi.py,$(wmisrcdir)/wmi.py))
+
pywmi_OBJ_FILES = $(wmisrcdir)/wmi_wrap.o
+$(pywmi_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)
# End LIBRARY swig_dcerpc
#######################