aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2010-05-15 04:56:50 -0400
committerJohannes Berg <johannes@sipsolutions.net>2010-05-25 07:17:02 -0400
commitc5a437d6903abaacc37ee3193414983f0192a55d (patch)
tree7d6bf6c7409f67ed9e42aed8d1f39d0b719ab7dd
parente17252c0f125dcc14873412151950f9259021e13 (diff)
swig: make python module depend on swig file
Just so it's easier to modify the swig file, make it depend on it. Acked-by: Darren Hart <dvhltc@us.ibm.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 239c05a..726d28e 100644
--- a/Makefile
+++ b/Makefile
@@ -441,10 +441,10 @@ clean:
441PYTHON_INCLUDES = `python-config --includes` 441PYTHON_INCLUDES = `python-config --includes`
442PYGTK_CFLAGS = `pkg-config --cflags pygtk-2.0` 442PYGTK_CFLAGS = `pkg-config --cflags pygtk-2.0`
443 443
444ctracecmd.so: $(TCMD_LIB_OBJS) 444ctracecmd.so: $(TCMD_LIB_OBJS) ctracecmd.i
445 swig -Wall -python -noproxy ctracecmd.i 445 swig -Wall -python -noproxy ctracecmd.i
446 gcc -fpic -c $(PYTHON_INCLUDES) ctracecmd_wrap.c 446 gcc -fpic -c $(PYTHON_INCLUDES) ctracecmd_wrap.c
447 $(CC) --shared $^ ctracecmd_wrap.o -o ctracecmd.so 447 $(CC) --shared $(TCMD_LIB_OBJS) ctracecmd_wrap.o -o ctracecmd.so
448 448
449ctracecmdgui.so: $(TRACE_VIEW_OBJS) $(LIB_FILE) 449ctracecmdgui.so: $(TRACE_VIEW_OBJS) $(LIB_FILE)
450 swig -Wall -python -noproxy ctracecmdgui.i 450 swig -Wall -python -noproxy ctracecmdgui.i