]> SALOME platform Git repositories - modules/kernel.git/blob - src/MPIContainer/Makefile.am
Salome HOME
the dump state for batch of yacs file is optional
[modules/kernel.git] / src / MPIContainer / Makefile.am
1 #  Copyright (C) 2007-2010  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 = \
42         MPIObject_i.hxx \
43         MPIContainer_i.hxx
44
45 #
46 # ===============================================================
47 # Local definitions
48 # ===============================================================
49 #
50
51 # This local variable defines the list of CPPFLAGS common to all target in this package.
52 # _CS_gbo See wether it can be shared by all packages in a common include!!
53 COMMON_CPPFLAGS=\
54         @PYTHON_INCLUDES@ \
55         @MPI_INCLUDES@ \
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         ../ResourcesManager/libSalomeResourcesManager.la \
72         ../NamingService/libSalomeNS.la \
73         ../Utils/libOpUtil.la \
74         ../SALOMELocalTrace/libSALOMELocalTrace.la \
75         ../Basics/libSALOMEBasics.la \
76         ../Container/libSalomeContainer.la \
77         $(top_builddir)/idl/libSalomeIDLKernel.la\
78         @CORBA_LIBS@
79
80 #
81 # ===============================================================
82 # Libraries targets
83 # ===============================================================
84 #
85 lib_LTLIBRARIES = libSalomeMPIContainer.la
86 libSalomeMPIContainer_la_SOURCES = MPIObject_i.cxx  MPIContainer_i.cxx
87 libSalomeMPIContainer_la_CPPFLAGS = $(COMMON_CPPFLAGS)
88 libSalomeMPIContainer_la_LDFLAGS  = -no-undefined -version-info=0:0:0
89 libSalomeMPIContainer_la_LIBADD   = $(COMMON_LIBS)
90
91
92
93 #
94 # ===============================================================
95 # Executables targets
96 # ===============================================================
97 #
98 bin_PROGRAMS = SALOME_MPIContainer
99 SALOME_MPIContainer_SOURCES = SALOME_MPIContainer.cxx
100 SALOME_MPIContainer_LDADD   = libSalomeMPIContainer.la $(COMMON_LIBS) @PYTHON_LIBS@ @MPI_LIBS@
101 SALOME_MPIContainer_CPPFLAGS = $(COMMON_CPPFLAGS)
102
103