Salome HOME
Porting functionality on Win32 Platform
[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                         BatchTest.hxx \
40                         SALOME_Launcher.hxx \
41                         SALOME_Launcher_defs.hxx \
42                         Launcher.hxx
43
44 # Scripts to be installed
45 dist_salomescript_DATA =
46
47 # These files are executable scripts
48 dist_salomescript_SCRIPTS=
49
50 #
51 # ===============================================================
52 # Local definitions
53 # ===============================================================
54 #
55
56 # This local variable defines the list of CPPFLAGS common to all target in this package.
57 COMMON_CPPFLAGS=\
58         @PYTHON_INCLUDES@ \
59         @MPI_INCLUDES@ \
60         @LIBXML_INCLUDES@ \
61         -I$(srcdir)/../Batch \
62         -I$(srcdir)/../Basics \
63         -I$(srcdir)/../SALOMELocalTrace \
64         -I$(srcdir)/../NamingService \
65         -I$(srcdir)/../Utils \
66         -I$(srcdir)/../Registry \
67         -I$(srcdir)/../Notification \
68         -I$(srcdir)/../ResourcesManager \
69         -I$(srcdir)/../Container \
70         -I$(top_builddir)/salome_adm/unix \
71         -I$(top_builddir)/idl \
72         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
73
74 # This local variable defines the list of dependant libraries common to all target in this package.
75 COMMON_LIBS =\
76         ../Registry/libRegistry.la \
77         ../Notification/libSalomeNotification.la \
78         ../Container/libSalomeContainer.la \
79         ../ResourcesManager/libSalomeResourcesManager.la \
80         ../NamingService/libSalomeNS.la \
81         ../Utils/libOpUtil.la \
82         ../SALOMELocalTrace/libSALOMELocalTrace.la \
83         ../Basics/libSALOMEBasics.la \
84         ../Batch/libSalomeBatch.la \
85         $(top_builddir)/idl/libSalomeIDLKernel.la \
86         @MPI_LIBS@ \
87         @CORBA_LIBS@ \
88         @LIBXML_LIBS@ \
89         @PYTHON_LIBS@
90
91 #
92 # ===============================================================
93 # Libraries targets
94 # ===============================================================
95 #
96 lib_LTLIBRARIES = libLauncher.la libSalomeLauncher.la
97 libSalomeLauncher_la_SOURCES=\
98                              BatchTest.cxx \
99                              SALOME_Launcher.cxx 
100
101 libSalomeLauncher_la_CPPFLAGS =\
102         $(COMMON_CPPFLAGS)
103
104 libSalomeLauncher_la_LDFLAGS  =\
105         -no-undefined -version-info=0:0:0 \
106         @LDEXPDYNFLAGS@
107
108 libSalomeLauncher_la_LIBADD =\
109         $(COMMON_LIBS) libLauncher.la
110
111 libLauncher_la_SOURCES=\
112         Launcher.cxx
113
114 libLauncher_la_CPPFLAGS =\
115         $(COMMON_CPPFLAGS) \
116         -I$(srcdir)/../ResourcesManager \
117         @MPI_INCLUDES@ \
118         @LIBXML_INCLUDES@
119
120 libLauncher_la_LDFLAGS  =\
121         -no-undefined -version-info=0:0:0 \
122         @LDEXPDYNFLAGS@
123
124 libLauncher_la_LIBADD =\
125         @MPI_LIBS@ \
126         @LIBXML_LIBS@
127
128 #
129 # ===============================================================
130 # Executables targets
131 # ===============================================================
132 #
133 bin_PROGRAMS = SALOME_LauncherServer
134
135 SALOME_LauncherServer_SOURCES =\
136         SALOME_LauncherServer.cxx
137
138 SALOME_LauncherServer_CPPFLAGS=\
139         $(COMMON_CPPFLAGS)
140
141 SALOME_LauncherServer_LDADD =\
142         libSalomeLauncher.la \
143         $(MPI_LIBS) \
144         $(CORBA_LIBS) \
145         $(LIBXML_LIBS) \
146         $(PYTHON_LIBS)
147
148