Salome HOME
merge from BR_For40_DSC 25oct07
authorprascle <prascle>
Wed, 24 Oct 2007 21:29:13 +0000 (21:29 +0000)
committerprascle <prascle>
Wed, 24 Oct 2007 21:29:13 +0000 (21:29 +0000)
21 files changed:
bin/setenv.py
bin/virtual_salome.py
salome_adm/unix/config_files/check_openmpi.m4
src/Container/SALOME_ContainerPy.py
src/DSC/DSC_User/Basic/basic_port_factory.hxx
src/DSC/DSC_User/Basic/data_short_port_uses.cxx
src/DSC/DSC_User/Basic/data_short_port_uses.hxx
src/DSC/DSC_User/Datastream/Calcium/calcium_port_factory.hxx
src/DSC/DSC_User/Datastream/GenericUsesPort.hxx
src/DSC/DSC_User/Datastream/Palm/palm_port_factory.hxx
src/DSC/DSC_User/Makefile.am
src/DSC/DSC_User/Superv_Component_i.cxx
src/DSC/DSC_User/Superv_Component_i.hxx
src/DSC/DSC_User/port_factory.hxx [new file with mode: 0644]
src/DSC/DSC_User/uses_port.hxx
src/KERNEL_PY/Help.py
src/KERNEL_PY/salome.py
src/KERNEL_PY/salome_iapp.py
src/KERNEL_PY/salome_study.py
src/NamingService/SALOME_NamingServicePy.py
src/TestContainer/Makefile.am

index f6e81c437137b55f0d22a2d473f91d456a53e896..a01918144ec52e71086a3e668267c99f99b04ecd 100755 (executable)
@@ -77,7 +77,7 @@ def get_lib_dir():
             __lib__dir__ = "lib64"
     else:
         __lib__dir__ = "lib"
-    return get_lib_dir()
+    return __lib__dir__
 
 # -----------------------------------------------------------------------------
 
index 4f6a4724a2bc754b9fca6f8443b0080c0e2359df..4efd5979fe08750c929b4000af7a620aae6be53c 100644 (file)
@@ -87,7 +87,7 @@ def get_lib_dir():
             __lib__dir__ = "lib64"
     else:
         __lib__dir__ = "lib"
-    return get_lib_dir()
+    return __lib__dir__
 
 # -----------------------------------------------------------------------------
 
index 24673dde65e7a4860cb80e25c8b2ee8f5436b476..03f3378fdd1730f4ac2be3e2953b0228a836f381 100644 (file)
@@ -22,7 +22,7 @@ dnl
 
 AC_DEFUN([CHECK_OPENMPI],[
 AC_ARG_WITH(openmpi,
-           AC_HELP_STRING([--with-openmpi],[root directory path of openmpi installation]),
+           AC_HELP_STRING([--with-openmpi=DIR],[root directory path of openmpi installation]),
            WITHOPENMPI="yes",WITHOPENMPI="no")
 
 MPI_INCLUDES=""
index cc59382ebe3702e6a490ecf1f3c85ed672d6bb87..843fa794f49f7ff1e5584af6b6d4ac9bdf0ef9c0 100755 (executable)
@@ -32,8 +32,6 @@ import os
 import sys
 import string
 
-import omnipatch                     # PAL10310
-    
 from omniORB import CORBA, PortableServer
 import SALOMEDS 
 import Engines, Engines__POA
index 7550ffaee9812e68969f6c783e7177ae3de81dbf..8407c217b0f01f857ab8d335453130df2b92679a 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef _BASIC_PORT_FACTORY_HXX_
 #define _BASIC_PORT_FACTORY_HXX_
 
+#include "port_factory.hxx"
 #include "data_short_port_provides.hxx"
 #include "data_short_port_uses.hxx"
 
@@ -38,7 +39,8 @@ using namespace std;
  *  to be used by Superv_Component_i.
  *  It builds basic ports.
  */
-class basic_port_factory
+class basic_port_factory :
+  public port_factory
 {
   public:
     basic_port_factory();
index 70216b465d724753e3b3558a021ab4401bf649b3..e67b38dffd5b4ed070dc82295b5fd5f3534fbf64 100644 (file)
@@ -28,7 +28,6 @@
 using namespace std;
 
 data_short_port_uses::data_short_port_uses() {
-  _my_port = Ports::Data_Short_Port::_nil();
   _my_ports = NULL;
 }
 
@@ -39,11 +38,6 @@ data_short_port_uses::get_repository_id() {
   return "IDL:Ports/Data_Short_Port:1.0";
 }
 
-bool
-data_short_port_uses::set_port(Ports::Port_ptr port) {
-  _my_port = Ports::Data_Short_Port::_narrow(port);
-}
-
 void
 data_short_port_uses::put(CORBA::Short data) {
 //  if (!CORBA::is_nil(_my_port))
index 7a28693b69c6b47b39cde679509d9c450ad7c3aa..abe8f8e7c04f0f53b6124e3c93c2e1ec17dfe1c2 100644 (file)
@@ -48,11 +48,6 @@ class data_short_port_uses :
      */
     virtual const char * get_repository_id();
 
-    /*!
-     * \warning deprecated
-     */
-    virtual bool set_port(Ports::Port_ptr port);
-
     /*!
      * This method is used by the component to send
      * a short value to all the provides ports connected.
@@ -72,7 +67,6 @@ class data_short_port_uses :
                                   const Engines::DSC::Message message);
 
   private :
-    Ports::Data_Short_Port_ptr _my_port;
     Engines::DSC::uses_port * _my_ports;
 };
 
index a722cd966f25e21a6fff23da49055792266d797a..6cb0504117eff1ac982a9cdc045a7f8f9246422f 100644 (file)
@@ -30,6 +30,7 @@
 #ifndef _CALCIUM_PORT_FACTORY_HXX_
 #define _CALCIUM_PORT_FACTORY_HXX_
 
+#include "port_factory.hxx"
 #include "uses_port.hxx"
 #include "provides_port.hxx"
 #include <string>
@@ -45,7 +46,8 @@
 
 using namespace std;
 
-class calcium_port_factory
+class calcium_port_factory :
+  public port_factory
 {
   public:
     calcium_port_factory();
index 8d186c50914730b934175cfbd0a74f2d23570d98..f6f0ce9128cf8bc981aa7d87c4e2cc638c72fbb2 100644 (file)
@@ -55,7 +55,6 @@ public :
   virtual ~GenericUsesPort();
 
   virtual const char * get_repository_id();
-  virtual bool  set_port(Ports::Port_ptr port);
   template <typename TimeType,typename TagType>
   void  put(CorbaInDataType data,  TimeType time, TagType tag); 
 
@@ -82,24 +81,6 @@ GenericUsesPort< DataManipulator,CorbaPortType, repositoryName, UsesPort  >::get
 }
 
 
-template <typename DataManipulator,typename CorbaPortType, char * repositoryName, typename UsesPort > 
-bool
-GenericUsesPort< DataManipulator,CorbaPortType, repositoryName, UsesPort  >::set_port(Ports::Port_ptr port) {
-  if (_my_ports) {
-    size_t n = _my_ports->length()+1;
-    _my_ports->length(n);
-    (*_my_ports)[n]=CorbaPortType::_narrow(port);
-    return true;
-  }  else {
-    // Vérifier si port is_nil
-    _my_ports = new Engines::DSC::uses_port();
-    _my_ports->length(1);
-    (*_my_ports)[0]=CorbaPortType::_narrow(port);
-    return true;
-  }
-  return false;
-}
-
 template <typename DataManipulator,typename CorbaPortType, char * repositoryName, typename UsesPort > 
 template <typename TimeType,typename TagType>
 void
index df030c2af8a03650f07100ba321b22455b45b9ba..544a9c1eb8c67985ff7cccc0457f32a0fe89cd3f 100644 (file)
@@ -30,6 +30,7 @@
 #ifndef _PALM_PORT_FACTORY_HXX_
 #define _PALM_PORT_FACTORY_HXX_
 
+#include "port_factory.hxx"
 #include "uses_port.hxx"
 #include "provides_port.hxx"
 #include <string>
@@ -39,7 +40,8 @@
 
 using namespace std;
 
-class palm_port_factory
+class palm_port_factory :
+  public port_factory
 {
   public:
     palm_port_factory();
index 37d753254fd695055a22e0866bc871592032a205..42c20a9c3b7e67290d1d52b1a552009355d060b9 100644 (file)
@@ -36,7 +36,8 @@ salomeinclude_HEADERS = base_port.hxx \
                        uses_port.hxx \
                        provides_port.hxx \
                        Superv_Component_i.hxx \
-                       DSC_Exception.hxx
+                       DSC_Exception.hxx \
+                       port_factory.hxx
 
 #
 # ===============================================================
index 187657c2c5e13c4b9ec07642bd01abd95b386ce4..e94cad7c828c3cb29208b263b498fe8d4a4d6c57 100644 (file)
@@ -46,40 +46,64 @@ Superv_Component_i::Superv_Component_i(CORBA::ORB_ptr orb,
 #ifdef _DEBUG_
   std::cout << "--Superv_Component_i : MARK 1 ----  " << instanceName << "----" << std::endl;
 #endif
-  _my_basic_factory = new basic_port_factory();
-  _my_palm_factory = new palm_port_factory();
-  _my_calcium_factory = new calcium_port_factory();
+  register_factory("BASIC", new basic_port_factory());
+  register_factory("PALM", new palm_port_factory());
+  register_factory("CALCIUM", new calcium_port_factory());
 }
 
   
-Superv_Component_i::~Superv_Component_i() {
-  delete _my_basic_factory;
+Superv_Component_i::~Superv_Component_i() 
+{
+  factory_map_t::iterator begin = _factory_map.begin();
+  factory_map_t::iterator end = _factory_map.end();
+  for(;begin!=end;begin++) 
+  {
+    delete begin->second;
+  }
+}
+
+void 
+Superv_Component_i::register_factory(const std::string & factory_name,
+                                    port_factory * factory_ptr) 
+{
+  factory_map_t::iterator it = _factory_map.find(factory_name);
+
+  if (it == _factory_map.end() )
+  {
+    _factory_map[factory_name] = factory_ptr;
+  }
+}
+
+port_factory *
+Superv_Component_i::get_factory(const std::string & factory_name) 
+{
+  port_factory * rtn_factory = NULL;
+  factory_map_t::iterator it = _factory_map.find(factory_name);
+
+  if (it != _factory_map.end() )
+  {
+    rtn_factory = _factory_map[factory_name];
+  }
+
+  return rtn_factory;
 }
 
 provides_port *
-Superv_Component_i::create_provides_data_port(const char* port_fab_type)
+Superv_Component_i::create_provides_data_port(const std::string& port_fab_type)
   throw (BadFabType)
 { 
-  assert(port_fab_type);
-
   provides_port * rtn_port = NULL;
-  string the_type(port_fab_type);
+  std::string factory_name;
+  std::string type_name;
   int search_result;
 
-  search_result = the_type.find("BASIC_");
-  if (search_result == 0) {
-    rtn_port = _my_basic_factory->create_data_servant(the_type.substr(search_result+6, 
-                                                                     the_type.length()));
-  }
-  search_result = the_type.find("PALM_");
-  if (search_result == 0) {
-    rtn_port = _my_palm_factory->create_data_servant(the_type.substr(search_result+5, 
-                                                                    the_type.length()));
-  }
+  search_result = port_fab_type.find("_");
+  factory_name = port_fab_type.substr(0,search_result);
+  type_name = port_fab_type.substr(search_result+1, port_fab_type.length());
 
-  search_result = the_type.find("CALCIUM_");
-  if (search_result == 0) {
-    rtn_port = _my_calcium_factory->create_data_servant(the_type.substr(search_result+8, the_type.length()));
+  port_factory * factory = get_factory(factory_name);
+  if (factory) {
+    rtn_port = factory->create_data_servant(type_name);
   }
 
   if (rtn_port == NULL)
@@ -90,27 +114,21 @@ Superv_Component_i::create_provides_data_port(const char* port_fab_type)
 }
 
 uses_port *
-Superv_Component_i::create_uses_data_port(const char* port_fab_type) 
+Superv_Component_i::create_uses_data_port(const std::string& port_fab_type) 
 throw (BadFabType)
 {
-  assert(port_fab_type);
-
   uses_port * rtn_proxy = NULL;
-  string the_type(port_fab_type);
+  std::string factory_name;
+  std::string type_name;
   int search_result;
 
-  search_result = the_type.find("BASIC_");
-  if (search_result == 0) {
-    rtn_proxy = _my_basic_factory->create_data_proxy(the_type.substr(search_result+6, 
-                                                                    the_type.length()));
-  }
-  
-  search_result = the_type.find("CALCIUM_");
-  if (search_result == 0) {
-#ifdef _DEBUG_
-    std::cout << "---- Superv_Component_i::create_uses_data_port : MARK 1 ----  " << the_type.substr(search_result+8, the_type.length()) << "----" << std::endl;
-#endif
-    rtn_proxy = _my_calcium_factory->create_data_proxy(the_type.substr(search_result+8, the_type.length()));
+  search_result = port_fab_type.find("_");
+  factory_name = port_fab_type.substr(0,search_result);
+  type_name = port_fab_type.substr(search_result+1, port_fab_type.length());
+
+  port_factory * factory = get_factory(factory_name);
+  if (factory) {
+    rtn_proxy = factory->create_data_proxy(type_name);
   }
   
   if (rtn_proxy == NULL)
index 8b46949ba236d2fb8f6170ae0a14cbabcc90b547..4bac01fc3f8c942e7e0a639008a70dab7a3c6c72 100644 (file)
@@ -30,8 +30,9 @@
 #include "base_port.hxx"
 #include "uses_port.hxx"
 #include "provides_port.hxx"
+#include "port_factory.hxx"
 
-// Les différentes fabriques de ports
+// default ports factories on the Kernel
 #include "basic_port_factory.hxx"
 #include "palm_port_factory.hxx"
 #include "calcium_port_factory.hxx"
@@ -104,7 +105,7 @@ public:
   {return NULL;}
 
   /*!
-   * This methode permits to create a provides port provided by the platform.
+   * This method permits to create a provides port provided by the platform.
    * (See documentation of DSC for knoing these ports).
    *   
    *
@@ -113,12 +114,12 @@ public:
    *
    * \note It's user repsonsability to destroy the provides port.
    */
-  virtual provides_port * create_provides_data_port(const char* port_fab_type)
+  virtual provides_port * create_provides_data_port(const std::string& port_fab_type)
     throw (BadFabType);
 
 
   /*!
-   * This methode permits to create a uses port provided by the platform.
+   * This method permits to create a uses port provided by the platform.
    * (See documentation of DSC for knoing these ports).
    *   
    *
@@ -127,7 +128,7 @@ public:
    *
    * \note It's user repsonsability to destroy the uses port.
    */
-  virtual uses_port * create_uses_data_port(const char* port_fab_type)
+  virtual uses_port * create_uses_data_port(const std::string& port_fab_type)
     throw (BadFabType); 
 
   /*!
@@ -234,12 +235,29 @@ public:
                                 const Engines::DSC::Message message);
 
 
-private:    
+  /*!
+   * Add a factory the component. If the factory_name is already
+   * used, the new library is not added.
+   *
+   * \param factory_name name of the factory (used by Superv_Component_i::create_provides_data_port
+   * and Superv_Component_i::create_uses_data_port)
+   * \param factory_ptr factory pointer (destroyed by the component)
+   */
+  virtual void register_factory(const std::string & factory_name,
+                               port_factory * factory_ptr);
+
+  /*!
+   * Get a factory from the component. 
+   *
+   * \param factory_name name of the factory.
+   * \return factory pointer, NULL if the factory doesn't exist.
+   */
+  virtual port_factory * get_factory(const std::string & factory_name);
 
-  // Fabrics
-  basic_port_factory * _my_basic_factory;
-  palm_port_factory * _my_palm_factory;
-  calcium_port_factory *   _my_calcium_factory;
+private:   
+  // Factory map
+  typedef std::map<std::string, port_factory*> factory_map_t;
+  factory_map_t _factory_map;
 
   /*-------------------------------------------------*/
   // A Superv_Component port.
diff --git a/src/DSC/DSC_User/port_factory.hxx b/src/DSC/DSC_User/port_factory.hxx
new file mode 100644 (file)
index 0000000..e2920ce
--- /dev/null
@@ -0,0 +1,61 @@
+//  Copyright (C) 2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
+// 
+//  This library is free software; you can redistribute it and/or 
+//  modify it under the terms of the GNU Lesser General Public 
+//  License as published by the Free Software Foundation; either 
+//  version 2.1 of the License. 
+// 
+//  This library is distributed in the hope that it will be useful, 
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+//  Lesser General Public License for more details. 
+// 
+//  You should have received a copy of the GNU Lesser General Public 
+//  License along with this library; if not, write to the Free Software 
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+//
+//
+//  File   : port_factory.hxx
+//  Author : André RIBES (EDF)
+//  Module : KERNEL
+
+#ifndef _PORT_FACTORY_HXX
+#define _PORT_FACTORY_HXX
+
+#include "base_port.hxx"
+#include "uses_port.hxx"
+#include "provides_port.hxx"
+
+#include <string>
+
+/*! \class port_factory
+ *  \brief This class is an abstract for all the DSC ports factories that have to be 
+ *  registered into the component.
+ */
+class port_factory {
+ public:
+   virtual ~port_factory() {}
+
+    /*!
+     * This method creates a provides port.
+     *
+     * \param type port's type.
+     * \return a pointer of the provides port.
+     */
+   virtual provides_port * create_data_servant(std::string type) = 0;
+
+    /*!
+     * This method creates a uses port.
+     *
+     * \param type port's type.
+     * \return a pointer of the uses port.
+     */
+   virtual uses_port * create_data_proxy(std::string type) = 0;
+};
+
+#endif
+
index 9409219892ead1d193a5b59c2292e24e5ce731fc..5c33f094f666fa16aa38a5d3c363d9f9e9bc8ac7 100644 (file)
@@ -53,14 +53,6 @@ class uses_port : public base_port
      */
     virtual const char * get_repository_id() = 0;
 
-    /*!
-     * DEPRECATED --- WILL BE REMOVED
-     * It was used when uses port where not multiple.
-     * It's an abstract method.
-     *
-     */
-    virtual bool set_port(Ports::Port_ptr port) = 0;
-
     /*!
      * This method is the uses port's callback to be aware of
      * connections states.
index fcc1e84b26c4c243c8319cc3ebc8589c8c729692..c8ddfe0e01b632536077a7110de9cded3eeb634b 100755 (executable)
@@ -37,7 +37,7 @@ MODULE : salome
 module salome gives access to Salome ressources:
 variables:
 
-  salome:orb             : CORBA
+  salome.orb             : CORBA
   salome.naming_service  : instance of naming Service class
       methods:
           Resolve(name)  : find a CORBA object (ior) by its pathname
@@ -130,12 +130,12 @@ A new python example avoids references to LifeCycleCORBA
         
     
 
-help = SalomeDoc('''
+Help = SalomeDoc('''
 Availables modules:
   salome      : gives access to Salome ressources
   geompy      : encapsulation of GEOM Engine methods
   supervision : gives access to SuperVision Engine
-To obtain specific help on a module "truc", type: help.truc()
+To obtain specific help on a module "truc", type: Help.truc()
 To run an example, type: import example3
 ''')
   
index 956a767bd71cb85c1f4176cca3d8a4dd4d5c8f80..7b44adbd6240e98a76224d95d5a9f23bb6748634 100755 (executable)
 #  Author : Paul RASCLE, EDF
 #  Module : SALOME
 #  $Header$
+"""
+Module salome gives access to Salome ressources.
+
+variables:
+
+  salome.orb             : CORBA
+  salome.naming_service  : instance of naming Service class
+      methods:
+          Resolve(name)  : find a CORBA object (ior) by its pathname
+          Register(name) : register a CORBA object under a pathname
+  salome.lcc             : instance of lifeCycleCORBA class
+      methods:
+          FindOrLoadComponent(server,name) :
+                           obtain an Engine (CORBA object)
+                           or launch the Engine if not found,
+                           with a Server name and an Engine name
+  salome.sg
+      methods:
+         updateObjBrowser(bool):
+         getActiveStudyId():
+         getActiveStudyName():
+
+         SelectedCount():      returns number of selected objects
+         getSelected(i):       returns entry of selected object number i
+         getAllSelected():     returns list of entry of selected objects
+         AddIObject(Entry):    select an existing Interactive object
+         RemoveIObject(Entry): remove object from selection
+         ClearIObjects():      clear selection
+
+         Display(*Entry):
+         DisplayOnly(Entry):
+         Erase(Entry):
+         DisplayAll():
+         EraseAll():
+
+         IDToObject(Entry):    returns CORBA reference from entry
+
+  salome.myStudyName     : active Study Name
+  salome.myStudyId       : active Study Id
+  salome.myStudy         : the active Study itself (CORBA ior)
+                           methods : defined in SALOMEDS.idl
+
+"""
 
 from salome_kernel import *
 from salome_study import *
 from salome_iapp import *
 
+orb, lcc, naming_service, cm,sg=None,None,None,None,None
+myStudyManager, myStudyId, myStudy, myStudyName=None,None,None,None
+
 salome_initial=1
 def salome_init(theStudyId=0,embedded=0):
     """
@@ -77,3 +123,6 @@ def salome_init(theStudyId=0,embedded=0):
         ============================================
         """
         raise
+
+#to expose all objects to pydoc
+__all__=dir()
index 8265ab631defeff9ce133c3702351b0fedfb24b0..4cd5d7ceea02d103e926cb42462ad4dd25656307 100644 (file)
@@ -62,7 +62,7 @@ def hasDesktop():
 
 salome_iapp_initial = 1
 
-class SalomeOutsideGUI:
+class SalomeOutsideGUI(object):
     """
     Provides a replacement for class SalomeGUI outside GUI process.
     Do almost nothing
index 468c93258336591b3d98902e2514a409cb62fd40..22b460dd651ec9f008d7f5f9e3c4ea71c31f888d 100644 (file)
@@ -61,6 +61,9 @@ def DumpComponent(Study, SO, offset):
     #--------------------------------------------------------------------------
 
 def DumpStudy(Study):
+    """
+    Dump a study, given the ior
+    """
     itcomp = Study.NewComponentIterator()
     while itcomp.More():
         SC = itcomp.Value()
index c6aa57d955f85e11cc72c098ed920ede28a77b50..e4a44d309227ab9827f859aef0b8523b486193d2 100644 (file)
@@ -37,7 +37,7 @@ from string import *
 from SALOME_utilities import *
 #=============================================================================
 
-class SALOME_NamingServicePy_i:
+class SALOME_NamingServicePy_i(object):
     _orb = None
     _root_context=None
     _current_context=None
@@ -71,8 +71,15 @@ class SALOME_NamingServicePy_i:
         if steps == 0 and self._root_context is None: 
           MESSAGE ( "Name Service Reference is invalid" )
           sys.exit(1)
+
     #-------------------------------------------------------------------------
+
     def Register(self,ObjRef, Path):
+        """ ns.Register(object,pathname )  
+        
+        register a CORBA object under a pathname
+        """
+
         MESSAGE ( "SALOME_NamingServicePy_i::Register" )
         _not_exist = 0
         path_list = list(Path)
@@ -135,9 +142,13 @@ class SALOME_NamingServicePy_i:
         except (CORBA.TRANSIENT,CORBA.OBJECT_NOT_EXIST,CORBA.COMM_FAILURE):
             MESSAGE ( "Register : CORBA.TRANSIENT,CORBA.OBJECT_NOT_EXIST,CORBA.COMM_FAILURE" )
 
-            
     #-------------------------------------------------------------------------
+
     def Resolve(self, Path):
+        """ ns.Resolve(pathname) -> object
+
+        find a CORBA object (ior) by its pathname
+        """
         #MESSAGE ( "SALOME_NamingServicePy_i::Resolve" )
         path_list = list(Path)
         if path_list[0]=='/':
@@ -167,8 +178,8 @@ class SALOME_NamingServicePy_i:
         return self._obj
 
 
-
     #-------------------------------------------------------------------------
+
     def Create_Directory(self,ObjRef, Path):
         MESSAGE ( "SALOME_NamingServicePy_i::Create_Directory" )
         _not_exist = 0
index aca3e40c470654da79db65f32e9e8c4134094e3c..bca9222559a1c9e66438d922d9042255578235da 100644 (file)
@@ -97,8 +97,8 @@ libSalomeTestComponentEngine_la_LIBADD   = $(COMMON_LIBS)
 bin_PROGRAMS = TestContainer TestLogger
 TestContainer_SOURCES  = TestContainer.cxx
 TestContainer_CPPFLAGS = $(COMMON_CPPFLAGS)
-TestContainer_LDADD    = $(COMMON_LIBS) libSalomeTestComponentEngine.la
+TestContainer_LDADD    = libSalomeTestComponentEngine.la
 
 TestLogger_SOURCES     = TestLogger.cxx
 TestLogger_CPPFLAGS    = $(COMMON_CPPFLAGS)
-TestLogger_LDADD       = $(COMMON_LIBS) libSalomeTestComponentEngine.la
+TestLogger_LDADD       = libSalomeTestComponentEngine.la