]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix make failure when invoking with -j option on some platforms V6_6_0a1
authorvsr <vsr@opencascade.com>
Mon, 22 Oct 2012 10:19:31 +0000 (10:19 +0000)
committervsr <vsr@opencascade.com>
Mon, 22 Oct 2012 10:19:31 +0000 (10:19 +0000)
src/SALOME_PYQT/SalomePyQt/Makefile.am

index e08d354570c25f35d51d3a3615dd158b2e4bc742..7fdb22aa49fe1befc973432bc95782e1a5a8b5a7 100644 (file)
@@ -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