summaryrefslogtreecommitdiff
path: root/source4/auth/config.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-21 03:37:31 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-21 03:37:31 +0100
commitbfb29e94b1e9cbbbca4dcfbbad171ba10e09ce07 (patch)
tree2727d3ff8933035a1890b4936264884c9196586d /source4/auth/config.mk
parent2e7a6cb6bf32a49682ccadc07244d3a6ae4058d3 (diff)
downloadsamba-bfb29e94b1e9cbbbca4dcfbbad171ba10e09ce07.tar.gz
samba-bfb29e94b1e9cbbbca4dcfbbad171ba10e09ce07.tar.bz2
samba-bfb29e94b1e9cbbbca4dcfbbad171ba10e09ce07.zip
Convert auth python module to "plain" C rather than using SWIG.
Diffstat (limited to 'source4/auth/config.mk')
-rw-r--r--source4/auth/config.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/source4/auth/config.mk b/source4/auth/config.mk
index f13c2e5758..b238caa2e5 100644
--- a/source4/auth/config.mk
+++ b/source4/auth/config.mk
@@ -37,12 +37,10 @@ auth_sam_reply_OBJ_FILES = $(addprefix $(authsrcdir)/, auth_sam_reply.o)
$(eval $(call proto_header_template,$(authsrcdir)/auth_sam_reply.h,$(auth_sam_reply_OBJ_FILES:.o=.c)))
[PYTHON::swig_auth]
-LIBRARY_REALNAME = samba/_auth.$(SHLIBEXT)
+LIBRARY_REALNAME = samba/auth.$(SHLIBEXT)
PUBLIC_DEPENDENCIES = auth_system_session
-PRIVATE_DEPENDENCIES = SAMDB
+PRIVATE_DEPENDENCIES = SAMDB PYTALLOC param
-$(eval $(call python_py_module_template,samba/auth.py,$(authsrcdir)/auth.py))
+swig_auth_OBJ_FILES = $(authsrcdir)/pyauth.o
-swig_auth_OBJ_FILES = $(authsrcdir)/auth_wrap.o
-
-$(swig_auth_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)
+$(swig_auth_OBJ_FILES): CFLAGS+=$(CFLAG_NO_CAST_QUAL)