Salome HOME
problem on parallel make of idl files V7_1_0b1
authorvtn <vtn@opencascade.com>
Mon, 4 Mar 2013 12:31:16 +0000 (12:31 +0000)
committervtn <vtn@opencascade.com>
Mon, 4 Mar 2013 12:31:16 +0000 (12:31 +0000)
idl/Makefile.am

index 22ae8e15ce6c7aaa78eade5f9535d1740e8b7dd0..b2cc80f0cca485105359995bec80abffa42e1c40 100644 (file)
@@ -53,11 +53,8 @@ OMNIORB_IDLPYFLAGS  = @OMNIORB_IDLPYFLAGS@ -I$(top_builddir)/idl/salome -I$(KERN
 IDLCXXFLAGS = -bcxx @IDLCXXFLAGS@ -I$(top_builddir)/idl/salome -I$(KERNEL_ROOT_DIR)/idl/salome
 IDLPYFLAGS  = @IDLPYFLAGS@ -I$(KERNEL_ROOT_DIR)/idl/salome
 
-# potential problem on parallel make on the following - multiple outputs
 SUFFIXES = .idl .hh SK.cc
-.idlSK.cc:
-       $(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
-.idl.hh:
+%SK.cc %.hh :: %.idl
        $(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $<
 
 install-exec-local: $(BASEIDL_FILES:%=$(top_srcdir)/idl/%)