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