Salome HOME
update flags for TestLauncher
[modules/kernel.git] / src / ResourcesManager / Makefile.am
1 #  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22
23 #  SALOME ResourcesManager
24 #  File   : Makefile.am
25 #  Author : Guillaume Boulant (CSSI)
26 #  Module : SALOME
27 #  $Header$
28 #
29 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
30
31 #
32 # ===============================================================
33 # Header to be installed
34 # ===============================================================
35 #
36 # header files  
37 salomeinclude_HEADERS = \
38                 SALOME_ResourcesCatalog_Parser.hxx \
39                 SALOME_ResourcesManager.hxx \
40                 SALOME_ResourcesCatalog_Handler.hxx \
41                 SALOME_LoadRateManager.hxx \
42                 ResourcesManager.hxx \
43                 ResourcesManager_Defs.hxx
44
45 #
46 # ===============================================================
47 # Local definitions
48 # ===============================================================
49 #
50
51 # This local variable defines the list of CPPFLAGS common to all target in this package.
52 COMMON_CPPFLAGS=\
53         -I$(srcdir)/../Batch \
54         -I$(srcdir)/../Basics \
55         -I$(srcdir)/../SALOMELocalTrace \
56         -I$(srcdir)/../NamingService \
57         -I$(srcdir)/../Utils \
58         -I$(top_builddir)/idl \
59         @LIBXML_INCLUDES@ \
60         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
61
62 # This local variable defines the list of dependant libraries common to all target in this package.
63 COMMON_LIBS =\
64         ../NamingService/libSalomeNS.la \
65         ../Utils/libOpUtil.la \
66         ../Basics/libSALOMEBasics.la \
67         $(top_builddir)/idl/libSalomeIDLKernel.la \
68         @LIBXML_LIBS@
69
70 #
71 # ===============================================================
72 # Libraries targets
73 # ===============================================================
74 #
75 if WITHONLYLAUNCHER
76   lib_LTLIBRARIES = libResourcesManager.la
77 else
78   lib_LTLIBRARIES = libResourcesManager.la libSalomeResourcesManager.la
79 endif
80 libSalomeResourcesManager_la_SOURCES =\
81         SALOME_ResourcesManager.cxx
82
83 libSalomeResourcesManager_la_CPPFLAGS =\
84         $(COMMON_CPPFLAGS)
85
86 libSalomeResourcesManager_la_LDFLAGS = -no-undefined -version-info=0:0:0
87 libSalomeResourcesManager_la_LIBADD  =\
88         $(COMMON_LIBS) libResourcesManager.la
89
90 libResourcesManager_la_SOURCES =\
91         SALOME_ResourcesCatalog_Parser.cxx \
92         SALOME_ResourcesCatalog_Handler.cxx  \
93         SALOME_LoadRateManager.cxx \
94         ResourcesManager.cxx
95
96 libResourcesManager_la_CPPFLAGS =\
97         -I$(srcdir)/../Basics \
98         -I$(srcdir)/../SALOMELocalTrace \
99         -I$(srcdir)/../Utils \
100         @LIBXML_INCLUDES@
101
102 libResourcesManager_la_LDFLAGS = -no-undefined -version-info=0:0:0
103 libResourcesManager_la_LIBADD  =\
104         ../Basics/libSALOMEBasics.la \
105         @LIBXML_LIBS@