diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-05-15 04:56:50 -0400 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2010-05-25 07:17:02 -0400 |
commit | c5a437d6903abaacc37ee3193414983f0192a55d (patch) | |
tree | 7d6bf6c7409f67ed9e42aed8d1f39d0b719ab7dd | |
parent | e17252c0f125dcc14873412151950f9259021e13 (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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -441,10 +441,10 @@ clean: | |||
441 | PYTHON_INCLUDES = `python-config --includes` | 441 | PYTHON_INCLUDES = `python-config --includes` |
442 | PYGTK_CFLAGS = `pkg-config --cflags pygtk-2.0` | 442 | PYGTK_CFLAGS = `pkg-config --cflags pygtk-2.0` |
443 | 443 | ||
444 | ctracecmd.so: $(TCMD_LIB_OBJS) | 444 | ctracecmd.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 | ||
449 | ctracecmdgui.so: $(TRACE_VIEW_OBJS) $(LIB_FILE) | 449 | ctracecmdgui.so: $(TRACE_VIEW_OBJS) $(LIB_FILE) |
450 | swig -Wall -python -noproxy ctracecmdgui.i | 450 | swig -Wall -python -noproxy ctracecmdgui.i |