Skip to content

Commit

Permalink
Fix dependencies between modpython parts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Sokolov authored and kylef committed Aug 21, 2011
1 parent 289cfa5 commit 9e33e4b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/modpython/Makefile.inc
Expand Up @@ -35,7 +35,7 @@ modpython_all: modpython/_znc_core.so modpython/swigpyrun.h modpython/znc.pyc mo
modpython_all: $(addsuffix c, $(notdir $(wildcard $(srcdir)/*.py)))

modpython/znc_core.py: modpython/_znc_core.so
modpython/_znc_core.so: modpython/_znc_core.cpp Makefile modpython/functions.cpp
modpython/_znc_core.so: modpython/_znc_core.cpp Makefile
@mkdir -p modpython
@mkdir -p .depend
$(E) Building ZNC python bindings library...
Expand All @@ -50,7 +50,8 @@ modpython/_znc_core.cpp: modpython/modpython.i Makefile
@mkdir -p .depend
$(Q)$(SWIG) -python -py3 -c++ -shadow -outdir modpython -I$(srcdir) -MMD -MF .depend/modpython.swig.dep -w362,315,401 -o $@ $<
endif
modpython/functions.cpp: modpython/functions.in
modpython.so: modpython/functions.cpp
modpython/functions.cpp: modpython/functions.in modpython/codegen.pl
@mkdir -p modpython
$(Q)$(PERL) $(srcdir)/modpython/codegen.pl $< $@

Expand Down

0 comments on commit 9e33e4b

Please sign in to comment.