summaryrefslogtreecommitdiff
path: root/source4/auth/credentials/config.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-21 05:29:23 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-21 05:29:23 +0100
commit263c6670fcae62c67a5284a385c674b94ef2112c (patch)
tree86ca30fd510fe63ad8899dd91183abbd34983004 /source4/auth/credentials/config.mk
parent33ebc95591f1a193c6420df055993e4310bebd7f (diff)
downloadsamba-263c6670fcae62c67a5284a385c674b94ef2112c.tar.gz
samba-263c6670fcae62c67a5284a385c674b94ef2112c.tar.bz2
samba-263c6670fcae62c67a5284a385c674b94ef2112c.zip
Convert credentials Python module to "manual" C - no SWIG used to generate
the C code.
Diffstat (limited to 'source4/auth/credentials/config.mk')
-rw-r--r--source4/auth/credentials/config.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/source4/auth/credentials/config.mk b/source4/auth/credentials/config.mk
index 2eeeec20ec..e4d14dde58 100644
--- a/source4/auth/credentials/config.mk
+++ b/source4/auth/credentials/config.mk
@@ -14,11 +14,9 @@ $(eval $(call proto_header_template,$(authsrcdir)/credentials/credentials_proto.
PUBLIC_HEADERS += $(authsrcdir)/credentials/credentials.h
[PYTHON::swig_credentials]
-LIBRARY_REALNAME = samba/_credentials.$(SHLIBEXT)
-PUBLIC_DEPENDENCIES = CREDENTIALS LIBCMDLINE_CREDENTIALS
+LIBRARY_REALNAME = samba/credentials.$(SHLIBEXT)
+PUBLIC_DEPENDENCIES = CREDENTIALS LIBCMDLINE_CREDENTIALS PYTALLOC param
-$(eval $(call python_py_module_template,samba/credentials.py,$(authsrcdir)/credentials/credentials.py))
+swig_credentials_OBJ_FILES = $(authsrcdir)/credentials/pycredentials.o
-swig_credentials_OBJ_FILES = $(authsrcdir)/credentials/credentials_wrap.o
-
-$(swig_credentials_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)
+$(swig_credentials_OBJ_FILES): CFLAGS+=$(CFLAG_NO_CAST_QUAL)