diff --git a/Makefile.in b/Makefile.in index dfa4dbfc..ec4b8a8e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -58,12 +58,6 @@ E=@\# C= endif -ifeq "@PYTHON@" "" -JOBHACK= -else -JOBHACK=-j1 -endif - .PHONY: all man modules clean distclean install version_extra_recompile .SECONDARY: @@ -92,7 +86,7 @@ man: @$(MAKE) -C man $(C) modules: $(LIBZNC) - @$(MAKE) -C modules $(C) $(JOBHACK) + @$(MAKE) -C modules $(C) clean: rm -rf $(CLEAN) @@ -131,7 +125,7 @@ install: znc $(LIBZNC) $(INSTALL_DATA) $(srcdir)/include/znc/*.h $(DESTDIR)$(includedir)/znc $(INSTALL_DATA) include/znc/zncconfig.h $(DESTDIR)$(includedir)/znc $(INSTALL_DATA) znc.pc $(DESTDIR)$(PKGCONFIGDIR) - @$(MAKE) -C modules $(JOBHACK) install DESTDIR=$(DESTDIR); + @$(MAKE) -C modules install DESTDIR=$(DESTDIR); if test -n "$(LIBZNC)"; then \ test -d $(DESTDIR)$(LIBZNCDIR) || $(INSTALL) -d $(DESTDIR)$(LIBZNCDIR) || exit 1 ; \ $(INSTALL_PROGRAM) $(LIBZNC) $(DESTDIR)$(LIBZNCDIR) || exit 1 ; \ diff --git a/modules/modpython/Makefile.inc b/modules/modpython/Makefile.inc index 1e4bde2d..c8fdb11c 100644 --- a/modules/modpython/Makefile.inc +++ b/modules/modpython/Makefile.inc @@ -57,9 +57,7 @@ modpython/_znc_core.$(PYCEXT_EXT): modpython/_znc_core.o Makefile modpython.so $(Q)$(CXX) $(MODFLAGS) $(LDFLAGS) $(MODLINK) -o $@ $< $(PY_LDFLAGS) $(PYDEPONMOD) ifneq "$(SWIG)" "" -modpython/znc_core.py modpython/_znc_core.cpp modpython/functions.cpp modpython/swigpyrun.h: modpython/codegen.pl modpython/functions.in Makefile - @mkdir -p modpython .depend - $(Q)$(MAKE) -f $(srcdir)/modpython/Makefile.gen $(C) SWIG="$(SWIG)" srcdir="$(srcdir)" PERL="$(PERL)" VERBOSE="$(VERBOSE)" SED="$(SED)" +include $(srcdir)/modpython/Makefile.gen endif modpython.o: modpython/functions.cpp