Salome HOME
Issue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined
[modules/kernel.git] / src / ResourcesManager / Makefile.am
1 #  Copyright (C) 2007-2008  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 #  SALOME ResourcesManager
23 #  File   : Makefile.am
24 #  Author : Guillaume Boulant (CSSI)
25 #  Module : SALOME
26 #  $Header$
27 #
28 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
29
30 #
31 # ===============================================================
32 # Header to be installed
33 # ===============================================================
34 #
35 # header files  
36 salomeinclude_HEADERS = \
37                 SALOME_ResourcesCatalog_Parser.hxx \
38                 SALOME_ResourcesManager.hxx \
39                 SALOME_ResourcesCatalog_Handler.hxx \
40                 SALOME_LoadRateManager.hxx \
41                 ResourcesManager.hxx \
42                 ResourcesManager_Defs.hxx
43
44 #
45 # ===============================================================
46 # Local definitions
47 # ===============================================================
48 #
49
50 # This local variable defines the list of CPPFLAGS common to all target in this package.
51 COMMON_CPPFLAGS=\
52         -I$(srcdir)/../Batch \
53         -I$(srcdir)/../Basics \
54         -I$(srcdir)/../SALOMELocalTrace \
55         -I$(srcdir)/../NamingService \
56         -I$(srcdir)/../Utils \
57         -I$(top_builddir)/idl \
58         @LIBXML_INCLUDES@ \
59         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
60
61 # This local variable defines the list of dependant libraries common to all target in this package.
62 COMMON_LIBS =\
63         ../NamingService/libSalomeNS.la \
64         ../Utils/libOpUtil.la \
65         ../Basics/libSALOMEBasics.la \
66         $(top_builddir)/idl/libSalomeIDLKernel.la \
67         @LIBXML_LIBS@
68
69 #
70 # ===============================================================
71 # Libraries targets
72 # ===============================================================
73 #
74 if WITHONLYLAUNCHER
75   lib_LTLIBRARIES = libResourcesManager.la
76 else
77   lib_LTLIBRARIES = libResourcesManager.la libSalomeResourcesManager.la
78 endif
79 libSalomeResourcesManager_la_SOURCES =\
80         SALOME_ResourcesManager.cxx
81
82 libSalomeResourcesManager_la_CPPFLAGS =\
83         $(COMMON_CPPFLAGS)
84
85 libSalomeResourcesManager_la_LDFLAGS = -no-undefined -version-info=0:0:0
86 libSalomeResourcesManager_la_LIBADD  =\
87         $(COMMON_LIBS) libResourcesManager.la
88
89 libResourcesManager_la_SOURCES =\
90         SALOME_ResourcesCatalog_Parser.cxx \
91         SALOME_ResourcesCatalog_Handler.cxx  \
92         SALOME_LoadRateManager.cxx \
93         ResourcesManager.cxx
94
95 libResourcesManager_la_CPPFLAGS =\
96         -I$(srcdir)/../Basics \
97         -I$(srcdir)/../SALOMELocalTrace \
98         -I$(srcdir)/../Utils \
99         @LIBXML_INCLUDES@
100
101 libResourcesManager_la_LDFLAGS = -no-undefined -version-info=0:0:0
102 libResourcesManager_la_LIBADD  =\
103         ../Basics/libSALOMEBasics.la \
104         @LIBXML_LIBS@