summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-14 14:51:57 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-14 14:51:57 +0200
commitf800cf250f079ab1e1bc1051c34d1d1061187447 (patch)
treec25a11f5162d27471a89ddd94ce89eb749450f00 /source4/scripting
parent7cf29ac84e2f45dfc56d5e46678a96527a38a1c1 (diff)
downloadsamba-f800cf250f079ab1e1bc1051c34d1d1061187447.tar.gz
samba-f800cf250f079ab1e1bc1051c34d1d1061187447.tar.bz2
samba-f800cf250f079ab1e1bc1051c34d1d1061187447.zip
Move standard make compilation rules to build/make.
(This used to be commit ceda3312a98b069d0711f3cb33de3ae71e91ebaa)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/config.mk17
1 files changed, 1 insertions, 16 deletions
diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk
index 09c77813ca..22e9a2ff7b 100644
--- a/source4/scripting/python/config.mk
+++ b/source4/scripting/python/config.mk
@@ -15,24 +15,9 @@ OBJ_FILES = uuidmodule.o
PRIVATE_DEPENDENCIES = LIBNDR LIBLDB SAMDB CREDENTIALS
SWIG_FILE = misc.i
-# Swig extensions
-swig:: pythonmods
-
-.SUFFIXES: _wrap.c .i
-
-.i_wrap.c:
- [ "$(SWIG)" = "no" ] || $(SWIG) -O -Wall -I$(srcdir)/scripting/swig -python -keyword $<
-
-realdistclean::
- @echo "Removing SWIG output files"
- # FIXME: Remove _wrap.c files
-
-pythonmods:: $(PYTHON_DSOS) $(PYTHON_PYS)
-
PYDOCTOR_MODULES=bin/python/ldb.py bin/python/auth.py bin/python/credentials.py bin/python/registry.py bin/python/tdb.py bin/python/security.py bin/python/events.py bin/python/net.py
-pydoctor:: pythonmods
- LD_LIBRARY_PATH=bin/shared PYTHONPATH=bin/python pydoctor --project-name=Samba --make-html --docformat=restructuredtext --add-package scripting/python/samba/ $(addprefix --add-module , $(PYDOCTOR_MODULES))
+pythonmods:: $(PYTHON_PYS) $(PYTHON_MODS)
bin/python/%.py:
mkdir -p $(@D)