Salome HOME
CCAR: import_hook.py was too strict in ensure_list (ImportError raised)
[modules/kernel.git] / src / ResourcesManager / Makefile.am
index dbb5bb380262e2f54c1a41a15f4b4c93958824aa..4d456df25a9ce78203f288ba5bbe312be22e63d0 100755 (executable)
@@ -1,31 +1,31 @@
-#  SALOME ResourcesManager
+#  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
+#
+#  Copyright (C) 2003-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.
 #
-#  Copyright (C) 2003  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
+#  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
 #
+
+#  SALOME ResourcesManager
 #  File   : Makefile.am
 #  Author : Guillaume Boulant (CSSI)
 #  Module : SALOME
 #  $Header$
-
+#
 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
 
 #
@@ -38,7 +38,9 @@ salomeinclude_HEADERS = \
                SALOME_ResourcesCatalog_Parser.hxx \
                SALOME_ResourcesManager.hxx \
                 SALOME_ResourcesCatalog_Handler.hxx \
-               SALOME_LoadRateManager.hxx
+               SALOME_LoadRateManager.hxx \
+               ResourcesManager.hxx \
+               ResourcesManager_Defs.hxx
 
 #
 # ===============================================================
@@ -53,7 +55,6 @@ COMMON_CPPFLAGS=\
        -I$(srcdir)/../SALOMELocalTrace \
        -I$(srcdir)/../NamingService \
        -I$(srcdir)/../Utils \
-       -I$(top_builddir)/salome_adm/unix \
        -I$(top_builddir)/idl \
        @LIBXML_INCLUDES@ \
        @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
@@ -62,6 +63,7 @@ COMMON_CPPFLAGS=\
 COMMON_LIBS =\
        ../NamingService/libSalomeNS.la \
        ../Utils/libOpUtil.la \
+       ../Basics/libSALOMEBasics.la \
        $(top_builddir)/idl/libSalomeIDLKernel.la \
        @LIBXML_LIBS@
 
@@ -70,17 +72,34 @@ COMMON_LIBS =\
 # Libraries targets
 # ===============================================================
 #
-lib_LTLIBRARIES = libSalomeResourcesManager.la
+if WITHONLYLAUNCHER
+  lib_LTLIBRARIES = libResourcesManager.la
+else
+  lib_LTLIBRARIES = libResourcesManager.la libSalomeResourcesManager.la
+endif
 libSalomeResourcesManager_la_SOURCES =\
-       SALOME_ResourcesCatalog_Parser.cxx \
-       SALOME_ResourcesCatalog_Handler.cxx  \
-       SALOME_LoadRateManager.cxx \
        SALOME_ResourcesManager.cxx
 
 libSalomeResourcesManager_la_CPPFLAGS =\
        $(COMMON_CPPFLAGS)
 
-
 libSalomeResourcesManager_la_LDFLAGS = -no-undefined -version-info=0:0:0
 libSalomeResourcesManager_la_LIBADD  =\
-       $(COMMON_LIBS)
+       $(COMMON_LIBS) libResourcesManager.la
+
+libResourcesManager_la_SOURCES =\
+       SALOME_ResourcesCatalog_Parser.cxx \
+       SALOME_ResourcesCatalog_Handler.cxx  \
+       SALOME_LoadRateManager.cxx \
+       ResourcesManager.cxx
+
+libResourcesManager_la_CPPFLAGS =\
+       -I$(srcdir)/../Basics \
+       -I$(srcdir)/../SALOMELocalTrace \
+       -I$(srcdir)/../Utils \
+       @LIBXML_INCLUDES@
+
+libResourcesManager_la_LDFLAGS = -no-undefined -version-info=0:0:0
+libResourcesManager_la_LIBADD  =\
+       ../Basics/libSALOMEBasics.la \
+       @LIBXML_LIBS@