git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af61219
)
Use gnu make syntax for SWIG implicit rule since it allows multiple output files.
author
Jelmer Vernooij
<jelmer@samba.org>
Wed, 21 May 2008 12:28:10 +0000
(14:28 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Wed, 21 May 2008 12:28:10 +0000
(14:28 +0200)
(This used to be commit
ce440887316d3ae379551c136f6b640c573fd702
)
source4/build/make/python.mk
patch
|
blob
|
history
diff --git
a/source4/build/make/python.mk
b/source4/build/make/python.mk
index 7d957fb108a99b87229ea715dbb77d7b6bc9a031..66e5def8f0c846e224334a19d9e0febbf5881fab 100644
(file)
--- 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::