summaryrefslogtreecommitdiffstats
path: root/source4/libcli/config.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-06-11 00:05:58 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-06-11 00:05:58 +0200
commit230503ad847f9514e95b57c48eeacbd619a1c9f5 (patch)
treef487b170347cc63fb3973eaeb91957b1a26b369a /source4/libcli/config.mk
parent01fc095d6e2fa1b883b3f429085b4aca4254f105 (diff)
downloadsamba-230503ad847f9514e95b57c48eeacbd619a1c9f5.tar.gz
samba-230503ad847f9514e95b57c48eeacbd619a1c9f5.tar.xz
samba-230503ad847f9514e95b57c48eeacbd619a1c9f5.zip
Add working Python bindings for NBT.
(This used to be commit 9c88f5e1de9db34751f16c2247fa91ae2445c5f7)
Diffstat (limited to 'source4/libcli/config.mk')
-rw-r--r--source4/libcli/config.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/source4/libcli/config.mk b/source4/libcli/config.mk
index 02711eedb32..affd8e277d1 100644
--- a/source4/libcli/config.mk
+++ b/source4/libcli/config.mk
@@ -73,13 +73,11 @@ LIBCLI_NETLOGON_OBJ_FILES = $(addprefix $(libclisrcdir)/, \
$(eval $(call proto_header_template,$(libclisrcdir)/netlogon_proto.h,$(LIBCLI_NETLOGON_OBJ_FILES:.o=.c)))
-[PYTHON::python_libcli_nbt]
-LIBRARY_REALNAME = samba/_libcli_nbt.$(SHLIBEXT)
+[PYTHON::python_netbios]
+LIBRARY_REALNAME = samba/netbios.$(SHLIBEXT)
PUBLIC_DEPENDENCIES = LIBCLI_NBT DYNCONFIG LIBSAMBA-HOSTCONFIG
-python_libcli_nbt_OBJ_FILES = $(libclisrcdir)/swig/libcli_nbt_wrap.o
-
-$(eval $(call python_py_module_template,samba/nbt.py,$(libclisrcdir)/swig/libcli_nbt.py))
+python_netbios_OBJ_FILES = $(libclisrcdir)/nbt/pynbt.o
$(python_libcli_nbt_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)