]> SALOME platform Git repositories - modules/kernel.git/blob - src/Launcher/Makefile.am
Salome HOME
Issue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined
[modules/kernel.git] / src / Launcher / 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 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
23
24 #
25 # ===============================================================
26 # Header to be installed
27 # ===============================================================
28 #
29 # header files  
30 salomeinclude_HEADERS = \
31   SALOME_Launcher_Parser.hxx \
32   SALOME_Launcher_Handler.hxx \
33   BatchTest.hxx \
34   SALOME_Launcher_defs.hxx \
35   SALOME_Launcher.hxx \
36   Launcher.hxx
37
38 # Scripts to be installed
39 dist_salomescript_DATA =
40
41 # These files are executable scripts
42 dist_salomescript_SCRIPTS=
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         @PYTHON_INCLUDES@ \
53         @MPI_INCLUDES@ \
54         @LIBXML_INCLUDES@ \
55         -I$(srcdir)/../Batch \
56         -I$(srcdir)/../Basics \
57         -I$(srcdir)/../SALOMELocalTrace \
58         -I$(srcdir)/../NamingService \
59         -I$(srcdir)/../Utils \
60         -I$(srcdir)/../Registry \
61         -I$(srcdir)/../Notification \
62         -I$(srcdir)/../ResourcesManager \
63         -I$(srcdir)/../Container \
64         -I$(top_builddir)/idl \
65         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
66
67 # This local variable defines the list of dependant libraries common to all target in this package.
68 COMMON_LIBS =\
69         ../Registry/libRegistry.la \
70         ../Notification/libSalomeNotification.la \
71         ../Container/libSalomeContainer.la \
72         ../ResourcesManager/libSalomeResourcesManager.la \
73         ../NamingService/libSalomeNS.la \
74         ../Utils/libOpUtil.la \
75         ../SALOMELocalTrace/libSALOMELocalTrace.la \
76         ../Basics/libSALOMEBasics.la \
77         ../Batch/libSalomeBatch.la \
78         $(top_builddir)/idl/libSalomeIDLKernel.la \
79         @MPI_LIBS@ \
80         @CORBA_LIBS@ \
81         @LIBXML_LIBS@ \
82         @PYTHON_LIBS@
83
84 #
85 # ===============================================================
86 # Libraries targets
87 # ===============================================================
88 #
89 if WITHONLYLAUNCHER
90   lib_LTLIBRARIES = libLauncher.la
91 else
92   lib_LTLIBRARIES = libLauncher.la libSalomeLauncher.la
93 endif
94 libSalomeLauncher_la_SOURCES=\
95         BatchTest.cxx \
96         SALOME_Launcher.cxx 
97
98 libSalomeLauncher_la_CPPFLAGS =\
99         $(COMMON_CPPFLAGS)
100
101 libSalomeLauncher_la_LDFLAGS  =\
102         -no-undefined -version-info=0:0:0 \
103         @LDEXPDYNFLAGS@
104
105 libSalomeLauncher_la_LIBADD =\
106         $(COMMON_LIBS) libLauncher.la
107
108 libLauncher_la_SOURCES=\
109         SALOME_Launcher_Parser.cxx \
110         SALOME_Launcher_Handler.cxx  \
111         Launcher.cxx
112
113 libLauncher_la_CPPFLAGS =\
114         -I$(srcdir)/../Batch \
115         -I$(srcdir)/../ResourcesManager \
116         @MPI_INCLUDES@ \
117         @LIBXML_INCLUDES@
118
119 libLauncher_la_LDFLAGS  =\
120         -no-undefined -version-info=0:0:0 \
121         @LDEXPDYNFLAGS@
122
123 libLauncher_la_LIBADD =\
124         ../Batch/libSalomeBatch.la \
125         ../ResourcesManager/libResourcesManager.la \
126         @MPI_LIBS@ \
127         @LIBXML_LIBS@
128
129 #
130 # ===============================================================
131 # Executables targets
132 # ===============================================================
133 #
134 if !WITHONLYLAUNCHER
135   bin_PROGRAMS = SALOME_LauncherServer
136 endif
137
138 SALOME_LauncherServer_SOURCES =\
139         SALOME_LauncherServer.cxx
140
141 SALOME_LauncherServer_CPPFLAGS=\
142         $(COMMON_CPPFLAGS)
143
144 SALOME_LauncherServer_LDADD =\
145         libSalomeLauncher.la \
146         ../Basics/libSALOMEBasics.la \
147         $(MPI_LIBS) \
148         $(CORBA_LIBS) \
149         $(LIBXML_LIBS) \
150         $(PYTHON_LIBS)
151
152