From 4ba56550dadc87e939769ee74671efb98d535073 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 22 Oct 2012 10:19:31 +0000 Subject: [PATCH] Fix make failure when invoking with -j option on some platforms --- src/SALOME_PYQT/SalomePyQt/Makefile.am | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 -- 2.39.2