1 ####################################### library
2 # SALOME Container : implementation of container and engine for Kernel
4 # Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
5 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
7 # This library is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU Lesser General Public
9 # License as published by the Free Software Foundation; either
10 # version 2.1 of the License.
12 # This library is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # Lesser General Public License for more details.
17 # You should have received a copy of the GNU Lesser General Public
18 # License along with this library; if not, write to the Free Software
19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
30 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
34 Batch_APIInternalFailureException.hxx \
35 Batch_BatchManager.hxx \
36 Batch_BatchManagerCatalog.hxx \
39 Batch_ConnexionFailureException.hxx \
41 Batch_CoupleType.hxx \
44 Batch_Environnement.hxx \
45 Batch_FactBatchManager.hxx \
46 Batch_GenericException.hxx \
47 Batch_GenericType.hxx \
49 Batch_InvalidArgumentException.hxx \
50 Batch_InvalidKeyException.hxx \
54 Batch_ListIsFullException.hxx \
57 Batch_NotYetImplementedException.hxx \
59 Batch_PyVersatile.hxx \
60 Batch_RunTimeException.hxx \
61 Batch_StringType.hxx \
62 Batch_TypeMismatchException.hxx \
63 BatchLight_BatchManager.hxx \
64 BatchLight_BatchManager_PBS.hxx \
65 BatchLight_BatchManager_SLURM.hxx \
71 Batch_APIInternalFailureException.cxx \
72 Batch_BatchManager.cxx \
73 Batch_BatchManagerCatalog.cxx \
76 Batch_ConnexionFailureException.cxx \
78 Batch_CoupleType.cxx \
81 Batch_Environnement.cxx \
82 Batch_FactBatchManager.cxx \
83 Batch_GenericException.cxx \
84 Batch_GenericType.cxx \
86 Batch_InvalidArgumentException.cxx \
87 Batch_InvalidKeyException.cxx \
91 Batch_ListIsFullException.cxx \
94 Batch_NotYetImplementedException.cxx \
96 Batch_PyVersatile.cxx \
97 Batch_RunTimeException.cxx \
98 Batch_StringType.cxx \
99 Batch_TypeMismatchException.cxx \
100 BatchLight_BatchManager.cxx \
101 BatchLight_BatchManager_SLURM.cxx \
102 BatchLight_BatchManager_PBS.cxx \
109 -I$(srcdir)/../Basics \
110 -I$(srcdir)/../SALOMELocalTrace
113 ../SALOMELocalTrace/libSALOMELocalTrace.la \
114 ../Basics/libSALOMEBasics.la
118 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
119 # Special add for local batch system
120 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124 Batch_Versatile.hxx \
125 Batch_BatchManager_Local.hxx \
126 Batch_BatchManager_Local_RSH.hxx \
127 Batch_BatchManager_Local_SH.hxx \
128 Batch_BatchManager_Local_SSH.hxx \
129 Batch_FactBatchManager_Local.hxx \
130 Batch_FactBatchManager_Local_RSH.hxx \
131 Batch_FactBatchManager_Local_SH.hxx \
132 Batch_FactBatchManager_Local_SSH.hxx \
133 Batch_JobInfo_Local.hxx \
134 Batch_Job_Local.hxx \
138 Batch_Versatile.cxx \
139 Batch_BatchManager_Local.cxx \
140 Batch_BatchManager_Local_RSH.cxx \
141 Batch_BatchManager_Local_SH.cxx \
142 Batch_BatchManager_Local_SSH.cxx \
143 Batch_FactBatchManager_Local.cxx \
144 Batch_FactBatchManager_Local_RSH.cxx \
145 Batch_FactBatchManager_Local_SH.cxx \
146 Batch_FactBatchManager_Local_SSH.cxx \
147 Batch_JobInfo_Local.cxx \
148 Batch_Job_Local.cxx \
151 LIB_CPPFLAGS += -DHAVE_CONFIG_H
156 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157 # Special add for openpbs batch system
158 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 Batch_BatchManager_PBS.hxx \
163 Batch_FactBatchManager_PBS.hxx \
164 Batch_JobInfo_PBS.hxx \
168 Batch_BatchManager_PBS.cxx \
169 Batch_FactBatchManager_PBS.cxx \
170 Batch_JobInfo_PBS.cxx \
173 LIB_CPPFLAGS += @OPENPBS_INCLUDES@
174 LIB_LIBADD += @OPENPBS_LIBDIR@ @OPENPBS_LIBS@
179 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
180 # Special add for lsf batch system
181 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
185 Batch_BatchManager_LSF.hxx \
186 Batch_FactBatchManager_LSF.hxx \
187 Batch_JobInfo_LSF.hxx \
191 Batch_BatchManager_LSF.cxx \
192 Batch_FactBatchManager_LSF.cxx \
193 Batch_JobInfo_LSF.cxx \
196 LIB_CPPFLAGS += @LSF_INCLUDES@
197 LIB_LIBADD += @LSF_LIBDIR@ @LSF_LIBS@
203 salomeinclude_HEADERS = $(LIB_INCLUDES)
206 # ===============================================================
208 # ===============================================================
210 lib_LTLIBRARIES = libSalomeBatch.la
211 libSalomeBatch_la_SOURCES = $(LIB_SRC)
212 libSalomeBatch_la_CPPFLAGS = \
214 -I$(srcdir)/../Basics \
215 -I$(srcdir)/../SALOMELocalTrace \
216 -I$(srcdir)/../Utils \
217 -I$(top_builddir)/salome_adm/unix \
218 -I$(top_builddir)/idl \
219 @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ $(LIB_CPPFLAGS)
221 libSalomeBatch_la_LDFLAGS = -no-undefined -version-info=0:0:0
222 libSalomeBatch_la_LIBADD = \
223 ../SALOMELocalTrace/libSALOMELocalTrace.la \
224 ../Basics/libSALOMEBasics.la \