summaryrefslogtreecommitdiff
path: root/source4/lib/registry/config.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-16 21:51:01 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-16 21:51:01 +0100
commit0c0b9c738f0fc1bf8aa64533a5e4e0635b84f58f (patch)
tree435813d0e10772501f170ac9ac21386d3d237d5e /source4/lib/registry/config.mk
parent54dc421f5820099531a77879f52a904c2fefcf49 (diff)
downloadsamba-0c0b9c738f0fc1bf8aa64533a5e4e0635b84f58f.tar.gz
samba-0c0b9c738f0fc1bf8aa64533a5e4e0635b84f58f.tar.bz2
samba-0c0b9c738f0fc1bf8aa64533a5e4e0635b84f58f.zip
Start converting registry python module to plain C rather than SWIG.
Diffstat (limited to 'source4/lib/registry/config.mk')
-rw-r--r--source4/lib/registry/config.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/source4/lib/registry/config.mk b/source4/lib/registry/config.mk
index 9af61f9632..a15e5b93df 100644
--- a/source4/lib/registry/config.mk
+++ b/source4/lib/registry/config.mk
@@ -103,12 +103,8 @@ torture_registry_OBJ_FILES = $(addprefix $(libregistrysrcdir)/tests/, generic.o
$(eval $(call proto_header_template,$(libregistrysrcdir)/tests/proto.h,$(torture_registry_OBJ_FILES:.o=.c)))
-[PYTHON::swig_registry]
-LIBRARY_REALNAME = samba/_registry.$(SHLIBEXT)
+[PYTHON::py_registry]
+LIBRARY_REALNAME = samba/registry.$(SHLIBEXT)
PUBLIC_DEPENDENCIES = registry
-swig_registry_OBJ_FILES = $(libregistrysrcdir)/registry_wrap.o
-
-$(eval $(call python_py_module_template,samba/registry.py,$(libregistrysrcdir)/registry.py))
-
-$(swig_registry_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)
+py_registry_OBJ_FILES = $(libregistrysrcdir)/pyregistry.o