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