Salome HOME
To avoid compilation pb on RedHat 8.0.
[modules/kernel.git] / src / TestMPIContainer / Makefile.am
1 #  SALOME MPIContainer : implemenation of container based on MPI libraries
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 : SALOME
27 #  $Header$
28
29
30
31 #
32 # ===============================================================
33 # _CS_gbo Caution !! This package may not work. I didn't test it
34 # because no mpi soft is installed on my computer. To be checked.
35 # ===============================================================
36 #
37
38 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
39
40 #
41 # ===============================================================
42 # Header to be installed
43 # ===============================================================
44 #
45 # header files  
46 salomeinclude_HEADERS = TestMPIComponentEngine.hxx
47
48 #
49 # ===============================================================
50 # Local definitions
51 # ===============================================================
52 #
53
54 # This local variable defines the list of CPPFLAGS common to all target in this package.
55 # _CS_gbo See wether it can be shared by all packages in a common include!!
56 COMMON_CPPFLAGS=\
57         @MPI_INCLUDES@ \
58         -I$(srcdir)/../Basics \
59         -I$(srcdir)/../SALOMELocalTrace \
60         -I$(srcdir)/../NamingService \
61         -I$(srcdir)/../Utils \
62         -I$(srcdir)/../Registry \
63         -I$(srcdir)/../Notification \
64         -I$(srcdir)/../ResourcesManager \
65         -I$(srcdir)/../Container \
66         -I$(srcdir)/../MPIContainer \
67         -I$(top_builddir)/salome_adm/unix \
68         -I$(top_builddir)/idl \
69         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
70
71 # This local variable defines the list of dependant libraries common to all target in this package.
72 COMMON_LIBS =\
73         ../Registry/libRegistry.la \
74         ../Notification/libSalomeNotification.la \
75         ../ResourcesManager/libSalomeResourcesManager.la \
76         ../NamingService/libSalomeNS.la \
77         ../Utils/libOpUtil.la \
78         ../SALOMELocalTrace/libSALOMELocalTrace.la \
79         ../Basics/libSALOMEBasics.la \
80         ../Container/libSalomeContainer.la \
81         ../MPIContainer/libSalomeMPIContainer.la \
82         $(top_builddir)/idl/libSalomeIDLKernel.la\
83         @CORBA_LIBS@
84
85 #
86 # ===============================================================
87 # Libraries targets
88 # ===============================================================
89 #
90 lib_LTLIBRARIES = libSalomeTestMPIComponentEngine.la
91 libSalomeTestMPIComponentEngine_la_SOURCES = TestMPIComponentEngine.cxx
92 libSalomeTestMPIComponentEngine_la_CPPFLAGS = $(COMMON_CPPFLAGS)
93 libSalomeTestMPIComponentEngine_la_LDFLAGS  = -no-undefined -version-info=0:0:0
94 libSalomeTestMPIComponentEngine_la_LIBADD   = $(COMMON_LIBS)
95
96
97
98 #
99 # ===============================================================
100 # Executables targets
101 # ===============================================================
102 #
103 bin_PROGRAMS = TestMPIContainer
104 TestMPIContainer_SOURCES = TestMPIContainer.cxx
105 TestMPIContainer_LDADD   = libSalomeTestMPIComponentEngine.la $(COMMON_LIBS) @MPI_LIBS@
106 TestMPIContainer_CPPFLAGS = $(COMMON_CPPFLAGS)