Salome HOME
First stable version after merging with V3_2_2
[modules/kernel.git] / src / MPIContainer / 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 = \
47         MPIObject_i.hxx \
48         MPIContainer_i.hxx
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 # _CS_gbo See wether it can be shared by all packages in a common include!!
58 COMMON_CPPFLAGS=\
59         @PYTHON_INCLUDES@ \
60         @MPI_INCLUDES@ \
61         -I$(srcdir)/../Basics \
62         -I$(srcdir)/../SALOMELocalTrace \
63         -I$(srcdir)/../NamingService \
64         -I$(srcdir)/../Utils \
65         -I$(srcdir)/../Registry \
66         -I$(srcdir)/../Notification \
67         -I$(srcdir)/../ResourcesManager \
68         -I$(srcdir)/../Container \
69         -I$(top_builddir)/salome_adm/unix \
70         -I$(top_builddir)/idl \
71         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
72
73 # This local variable defines the list of dependant libraries common to all target in this package.
74 COMMON_LIBS =\
75         ../Registry/libRegistry.la \
76         ../Notification/libSalomeNotification.la \
77         ../ResourcesManager/libSalomeResourcesManager.la \
78         ../NamingService/libSalomeNS.la \
79         ../Utils/libOpUtil.la \
80         ../SALOMELocalTrace/libSALOMELocalTrace.la \
81         ../Basics/libSALOMEBasics.la \
82         ../Container/libSalomeContainer.la \
83         $(top_builddir)/idl/libSalomeIDLKernel.la\
84         @CORBA_LIBS@
85
86 #
87 # ===============================================================
88 # Libraries targets
89 # ===============================================================
90 #
91 lib_LTLIBRARIES = libSalomeMPIContainer.la
92 libSalomeMPIContainer_la_SOURCES = MPIObject_i.cxx  MPIContainer_i.cxx
93 libSalomeMPIContainer_la_CPPFLAGS = $(COMMON_CPPFLAGS)
94 libSalomeMPIContainer_la_LDFLAGS  = -no-undefined -version-info=0:0:0
95 libSalomeMPIContainer_la_LIBADD   = $(COMMON_LIBS)
96
97
98
99 #
100 # ===============================================================
101 # Executables targets
102 # ===============================================================
103 #
104 bin_PROGRAMS = SALOME_MPIContainer
105 SALOME_MPIContainer_SOURCES = SALOME_MPIContainer.cxx
106 SALOME_MPIContainer_LDADD   = libSalomeMPIContainer.la @PYTHON_LIBS@ @MPI_LIBS@
107 SALOME_MPIContainer_CPPFLAGS = $(COMMON_CPPFLAGS)
108
109