Salome HOME
PR: mergefrom_BSEC_br1_14Mar04
[modules/kernel.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_SERVER_IDL = SALOME_MPIObject.idl SALOME_MPIContainer.idl
48
49 # Executables targets
50 BIN = SALOME_MPIContainer
51 BIN_SRC = 
52 BIN_SERVER_IDL = SALOME_MPIObject.idl SALOME_MPIContainer.idl
53
54 LDFLAGS+= -lSalomeContainer -lSalomeNS -lRegistry -lOpUtil -lSalomeNotification -lSALOMELocalTrace
55 ifeq (@WITHMPICH@,yes)
56   CXXFLAGS+=${MPICH_INCLUDES}
57   CXX_DEPEND_FLAG+=${MPICH_INCLUDES}
58   LDFLAGS+= ${MPICH_LIBS}
59 endif
60
61 ifeq (@WITHMPI@,yes)
62   CXXFLAGS+=${MPI_INCLUDES}
63   CXX_DEPEND_FLAG+=${MPI_INCLUDES}
64   LDFLAGS+= ${MPI_LIBS}
65 endif
66
67 @CONCLUDE@