Salome HOME
BugID: IPAL19426 Fixed methods Save/Load
[modules/kernel.git] / src / Launcher / Makefile.am
1 #  SALOME Container : implementation of container and engine for Kernel
2 #
3 #  Copyright (C) 2003  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 #
24 #  File   : Makefile.am
25 #  Author : Guillaume Boulant (CSSI)
26 #  Module : KERNEL
27 #  $Header$
28
29
30 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
31
32 #
33 # ===============================================================
34 # Header to be installed
35 # ===============================================================
36 #
37 # header files  
38 salomeinclude_HEADERS = \
39   BatchLight_BatchManager.hxx \
40   BatchLight_BatchManager_PBS.hxx \
41   BatchLight_BatchManager_SLURM.hxx \
42   BatchLight_Job.hxx \
43         MpiImpl.hxx \
44         SALOME_Launcher.hxx
45
46 # Scripts to be installed
47 dist_salomescript_DATA =
48
49 # These files are executable scripts
50 dist_salomescript_SCRIPTS=
51
52 #
53 # ===============================================================
54 # Local definitions
55 # ===============================================================
56 #
57
58 # This local variable defines the list of CPPFLAGS common to all target in this package.
59 COMMON_CPPFLAGS=\
60         @PYTHON_INCLUDES@ \
61         @MPI_INCLUDES@ \
62         @LIBXML_INCLUDES@ \
63         -I$(srcdir)/../Batch \
64         -I$(srcdir)/../Basics \
65         -I$(srcdir)/../SALOMELocalTrace \
66         -I$(srcdir)/../NamingService \
67         -I$(srcdir)/../Utils \
68         -I$(srcdir)/../Registry \
69         -I$(srcdir)/../Notification \
70         -I$(srcdir)/../ResourcesManager \
71         -I$(srcdir)/../Container \
72         -I$(top_builddir)/salome_adm/unix \
73         -I$(top_builddir)/idl \
74         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
75
76 # This local variable defines the list of dependant libraries common to all target in this package.
77 COMMON_LIBS =\
78         ../Registry/libRegistry.la \
79         ../Notification/libSalomeNotification.la \
80         ../Container/libSalomeContainer.la \
81         ../ResourcesManager/libSalomeResourcesManager.la \
82         ../NamingService/libSalomeNS.la \
83         ../Utils/libOpUtil.la \
84         ../SALOMELocalTrace/libSALOMELocalTrace.la \
85         ../Basics/libSALOMEBasics.la \
86         ../Batch/libSalomeBatch.la \
87         $(top_builddir)/idl/libSalomeIDLKernel.la \
88         @MPI_LIBS@ \
89         @CORBA_LIBS@ \
90         @LIBXML_LIBS@ \
91         @PYTHON_LIBS@
92
93 #
94 # ===============================================================
95 # Libraries targets
96 # ===============================================================
97 #
98 lib_LTLIBRARIES = libSalomeLauncher.la
99 libSalomeLauncher_la_SOURCES=\
100         SALOME_Launcher.cxx \
101   BatchLight_BatchManager.cxx \
102   BatchLight_BatchManager_SLURM.cxx \
103   BatchLight_BatchManager_PBS.cxx \
104   BatchLight_Job.cxx \
105         MpiImpl.cxx
106
107 libSalomeLauncher_la_CPPFLAGS =\
108         $(COMMON_CPPFLAGS)
109
110 libSalomeLauncher_la_LDFLAGS  =\
111         -no-undefined -version-info=0:0:0 \
112         @LDEXPDYNFLAGS@
113
114 libSalomeLauncher_la_LIBADD =\
115         $(COMMON_LIBS)
116
117
118 #
119 # ===============================================================
120 # Executables targets
121 # ===============================================================
122 #
123 bin_PROGRAMS = SALOME_LauncherServer
124
125 SALOME_LauncherServer_SOURCES =\
126         SALOME_LauncherServer.cxx
127
128 SALOME_LauncherServer_CPPFLAGS=\
129         $(COMMON_CPPFLAGS)
130
131 SALOME_LauncherServer_LDADD =\
132         libSalomeLauncher.la \
133         $(MPI_LIBS) \
134         $(CORBA_LIBS) \
135         $(LIBXML_LIBS) \
136         $(PYTHON_LIBS)
137
138