1 # Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
3 # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 ####################################### library
23 # SALOME Container : implementation of container and engine for Kernel
29 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
33 Batch_APIInternalFailureException.hxx \
34 Batch_BatchManager.hxx \
35 Batch_BatchManagerCatalog.hxx \
38 Batch_ConnexionFailureException.hxx \
40 Batch_CoupleType.hxx \
43 Batch_Environnement.hxx \
44 Batch_FactBatchManager.hxx \
45 Batch_GenericException.hxx \
46 Batch_GenericType.hxx \
48 Batch_InvalidArgumentException.hxx \
49 Batch_InvalidKeyException.hxx \
53 Batch_ListIsFullException.hxx \
56 Batch_NotYetImplementedException.hxx \
58 Batch_PyVersatile.hxx \
59 Batch_RunTimeException.hxx \
60 Batch_StringType.hxx \
61 Batch_TypeMismatchException.hxx \
62 Batch_BatchManager_eClient.hxx \
63 Batch_FactBatchManager_eClient.hxx \
64 Batch_BatchManager_eLSF.hxx \
65 Batch_FactBatchManager_eLSF.hxx \
66 Batch_JobInfo_eLSF.hxx \
67 Batch_BatchManager_ePBS.hxx \
68 Batch_FactBatchManager_ePBS.hxx \
69 Batch_JobInfo_ePBS.hxx \
72 Batch_BatchManager_eSGE.hxx \
73 Batch_FactBatchManager_eSGE.hxx \
74 Batch_JobInfo_eSGE.hxx \
79 Batch_APIInternalFailureException.cxx \
80 Batch_BatchManager.cxx \
81 Batch_BatchManagerCatalog.cxx \
84 Batch_ConnexionFailureException.cxx \
86 Batch_CoupleType.cxx \
89 Batch_Environnement.cxx \
90 Batch_FactBatchManager.cxx \
91 Batch_GenericException.cxx \
92 Batch_GenericType.cxx \
94 Batch_InvalidArgumentException.cxx \
95 Batch_InvalidKeyException.cxx \
99 Batch_ListIsFullException.cxx \
102 Batch_NotYetImplementedException.cxx \
103 Batch_Parametre.cxx \
104 Batch_PyVersatile.cxx \
105 Batch_RunTimeException.cxx \
106 Batch_StringType.cxx \
107 Batch_TypeMismatchException.cxx \
108 Batch_BatchManager_eClient.cxx \
109 Batch_FactBatchManager_eClient.cxx \
110 Batch_BatchManager_eLSF.cxx \
111 Batch_FactBatchManager_eLSF.cxx \
112 Batch_JobInfo_eLSF.cxx \
113 Batch_BatchManager_ePBS.cxx \
114 Batch_FactBatchManager_ePBS.cxx \
115 Batch_JobInfo_ePBS.cxx \
116 Batch_BatchManager_eSGE.cxx \
117 Batch_FactBatchManager_eSGE.cxx \
118 Batch_JobInfo_eSGE.cxx \
126 -I$(srcdir)/../Basics \
127 -I$(top_builddir)/salome_adm/unix
133 ../Basics/libSALOMEBasics.la
136 LIB_LIBADD += $(PYTHON_LIBS)
139 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
140 # Special add for local batch system
141 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145 Batch_Versatile.hxx \
146 Batch_BatchManager_Local.hxx \
147 Batch_BatchManager_Local_RSH.hxx \
148 Batch_BatchManager_Local_SH.hxx \
149 Batch_BatchManager_Local_SSH.hxx \
150 Batch_FactBatchManager_Local.hxx \
151 Batch_FactBatchManager_Local_RSH.hxx \
152 Batch_FactBatchManager_Local_SH.hxx \
153 Batch_FactBatchManager_Local_SSH.hxx \
154 Batch_JobInfo_Local.hxx \
155 Batch_Job_Local.hxx \
159 Batch_Versatile.cxx \
160 Batch_BatchManager_Local.cxx \
161 Batch_BatchManager_Local_RSH.cxx \
162 Batch_BatchManager_Local_SH.cxx \
163 Batch_BatchManager_Local_SSH.cxx \
164 Batch_FactBatchManager_Local.cxx \
165 Batch_FactBatchManager_Local_RSH.cxx \
166 Batch_FactBatchManager_Local_SH.cxx \
167 Batch_FactBatchManager_Local_SSH.cxx \
168 Batch_JobInfo_Local.cxx \
169 Batch_Job_Local.cxx \
173 LIB_CPPFLAGS += -DHAVE_CONFIG_H
179 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
180 # Special add for openpbs batch system
181 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
185 Batch_BatchManager_PBS.hxx \
186 Batch_FactBatchManager_PBS.hxx \
187 Batch_JobInfo_PBS.hxx \
191 Batch_BatchManager_PBS.cxx \
192 Batch_FactBatchManager_PBS.cxx \
193 Batch_JobInfo_PBS.cxx \
196 LIB_CPPFLAGS += @OPENPBS_INCLUDES@
197 LIB_LIBADD += @OPENPBS_LIBDIR@ @OPENPBS_LIBS@
202 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203 # Special add for lsf batch system
204 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
208 Batch_BatchManager_LSF.hxx \
209 Batch_FactBatchManager_LSF.hxx \
210 Batch_JobInfo_LSF.hxx \
214 Batch_BatchManager_LSF.cxx \
215 Batch_FactBatchManager_LSF.cxx \
216 Batch_JobInfo_LSF.cxx \
219 LIB_CPPFLAGS += ${LSF_INCLUDES}
220 LIB_LIBADD += ${LSF_LDFLAGS} ${LSF_LIBS}
226 salomeinclude_HEADERS = $(LIB_INCLUDES)
229 # ===============================================================
231 # ===============================================================
233 lib_LTLIBRARIES = libSalomeBatch.la
234 libSalomeBatch_la_SOURCES = $(LIB_SRC)
235 libSalomeBatch_la_CPPFLAGS = ${LIB_CPPFLAGS}
236 libSalomeBatch_la_LDFLAGS = -no-undefined -version-info=0:0:0
237 libSalomeBatch_la_LIBADD = $(LIB_LIBADD)