Salome HOME
PR: merge from branch BR_UnitTests tag mergeto_trunk_17oct05
[modules/yacs.git] / src / MPIContainer / Makefile.in
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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 #
22 #
23 #
24 #  File   : Makefile.in
25 #  Author : Paul RASCLE, EDF
26 #  Module : SALOME
27 #  $Header$
28
29 top_srcdir=@top_srcdir@
30 top_builddir=../..
31 srcdir=@srcdir@
32 VPATH=.:@srcdir@:@top_srcdir@/idl
33
34
35 @COMMENCE@
36
37 EXPORT_PYSCRIPTS = 
38
39 EXPORT_HEADERS = \
40         MPIObject_i.hxx \
41         MPIContainer_i.hxx
42
43 # Libraries targets
44
45 LIB = libSalomeMPIContainer.la 
46 LIB_SRC = MPIObject_i.cxx  MPIContainer_i.cxx
47 LIB_CLIENT_IDL = SALOME_Component.idl
48 LIB_SERVER_IDL = SALOME_MPIObject.idl SALOME_MPIContainer.idl
49
50 # Executables targets
51 BIN = SALOME_MPIContainer
52 BIN_SRC = 
53 BIN_SERVER_IDL = SALOME_MPIObject.idl SALOME_MPIContainer.idl
54
55 CPPFLAGS+= $(PYTHON_INCLUDES) 
56 LDFLAGS+= -lSalomeContainer -lSalomeNS -lRegistry -lOpUtil -lSalomeNotification -lSALOMELocalTrace -lSalomeResourcesManager
57
58 ifeq (@WITHMPI@,yes)
59   LIBS += $(PYTHON_LIBS) $(MPI_LIBS)
60   CXXFLAGS+=${MPI_INCLUDES}
61   CXX_DEPEND_FLAG+=${MPI_INCLUDES}
62   LDFLAGSFORBIN= $(LDFLAGS)
63   LIBSFORBIN= $(LIBS)
64 endif
65
66 @CONCLUDE@