summaryrefslogtreecommitdiff
path: root/source4/build/make
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-21 14:28:10 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-21 14:28:10 +0200
commit9d1fd37e7914c977a79e46b31b779db9b6033620 (patch)
tree6ecd40e8a5e6b4013726375fbfd7cd9bbbb36f86 /source4/build/make
parentaf61219f365ae94f3c797b7450d0ea0e00ad0b11 (diff)
downloadsamba-9d1fd37e7914c977a79e46b31b779db9b6033620.tar.gz
samba-9d1fd37e7914c977a79e46b31b779db9b6033620.tar.bz2
samba-9d1fd37e7914c977a79e46b31b779db9b6033620.zip
Use gnu make syntax for SWIG implicit rule since it allows multiple output files.
(This used to be commit ce440887316d3ae379551c136f6b640c573fd702)
Diffstat (limited to 'source4/build/make')
-rw-r--r--source4/build/make/python.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/make/python.mk b/source4/build/make/python.mk
index 7d957fb108..66e5def8f0 100644
--- a/source4/build/make/python.mk
+++ b/source4/build/make/python.mk
@@ -43,9 +43,9 @@ endef
# Swig extensions
swig:: pythonmods
-.SUFFIXES: _wrap.c .i
+.SUFFIXES: _wrap.c .i .py
-.i_wrap.c:
+%_wrap.c %.py: %.i
[ "$(SWIG)" == "no" ] || $(SWIG) -O -Wall -I$(srcdir)/scripting/swig -python -keyword $<
realdistclean::