From: vsr Date: Mon, 22 Oct 2012 10:19:31 +0000 (+0000) Subject: Fix make failure when invoking with -j option on some platforms X-Git-Tag: V6_6_0a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4ba56550dadc87e939769ee74671efb98d535073;p=modules%2Fgui.git Fix make failure when invoking with -j option on some platforms --- diff --git a/src/SALOME_PYQT/SalomePyQt/Makefile.am b/src/SALOME_PYQT/SalomePyQt/Makefile.am index e08d35457..7fdb22aa4 100644 --- a/src/SALOME_PYQT/SalomePyQt/Makefile.am +++ b/src/SALOME_PYQT/SalomePyQt/Makefile.am @@ -27,8 +27,8 @@ include $(top_srcdir)/adm_local/unix/make_common_starter.am # extra source files (generated by sip) -SIP_SRC = sipAPISalomePyQt.h \ - sipSalomePyQtSalomePyQt.cc \ +SIP_API = sipAPISalomePyQt.h +SIP_SRC = sipSalomePyQtSalomePyQt.cc \ sipSalomePyQtSALOME_Selection.cc \ sipSalomePyQtQtxAction.cc \ sipSalomePyQtQtxActionGroup.cc \ @@ -42,7 +42,7 @@ SIP_FILES = SalomePyQt.sip EXTRA_DIST += $(SIP_FILES) # extra clean files -CLEANFILES = $(SIP_SRC) +CLEANFILES = $(SIP_SRC) $(SIP_API) # moc files (generated my moc) MOC_FILES = SalomePyQt_moc.cxx @@ -80,7 +80,9 @@ libSalomePyQt_la_CPPFLAGS = $(COMMON_CPP_FLAGS) libSalomePyQt_la_LIBADD = $(COMMON_LIBS) # custom build step: generate C++ wrapping according to $(SIP_FILES) -$(SIP_SRC): $(SIP_FILES) +$(SIP_SRC): $(SIP_API) + +$(SIP_API): $(SIP_FILES) $(SIP) $(PYQT_SIPFLAGS) $< # custom install step: create symbolic link