Salome HOME
Base implementation of Notebook
[modules/kernel.git] / src / Communication / 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 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
23
24 #
25 # ===============================================================
26 # Files to be installed
27 # ===============================================================
28 #
29 # header files  
30 salomeinclude_HEADERS = \
31         ReceiverFactory.hxx \
32         SenderFactory.hxx \
33         SALOMEMultiComm.hxx \
34         MultiCommException.hxx \
35         SALOME_Comm_i.hxx \
36         MatrixClient.hxx \
37         SALOME_Matrix_i.hxx \
38         SALOME_Communication.hxx
39
40 # Scripts to be installed
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 COMMON_CPPFLAGS=\
50         -I$(srcdir)/../Basics \
51         -I$(srcdir)/../SALOMELocalTrace \
52         -I$(srcdir)/../Utils \
53         -I$(top_builddir)/idl \
54         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
55
56 # This local variable defines the list of dependant libraries common to all target in this package.
57 COMMON_LIBS = \
58         ../Utils/libOpUtil.la \
59         ../SALOMELocalTrace/libSALOMELocalTrace.la \
60         $(top_builddir)/idl/libSalomeIDLKernel.la
61
62 # _CS_gbo The need for these flags depends on wether the swig
63 # interface is generated and if MPI is activated.
64 OPT_CPPFLAGS = @PYTHON_INCLUDES@  @MPI_INCLUDES@
65 OPT_LIBS     = @PYTHON_LIBS@ @MPI_LIBS@
66 OPT_LDFLAGS  = -Xlinker -export-dynamic
67
68 #
69 # ===============================================================
70 # Libraries targets
71 # ===============================================================
72 #
73 lib_LTLIBRARIES = libSalomeCommunication.la 
74 libSalomeCommunication_la_SOURCES =\
75         SALOME_Comm_i.cxx \
76         SALOME_Matrix_i.cxx \
77         SenderFactory.cxx \
78         MultiCommException.cxx \
79         SALOMEMultiComm.cxx \
80         ReceiverFactory.cxx \
81         MatrixClient.cxx \
82         \
83         MultiCommException.hxx \
84         SALOME_Comm_i.hxx \
85         SALOME_Matrix_i.hxx \
86         SenderFactory.hxx \
87         ReceiverFactory.hxx \
88         MatrixClient.hxx \
89         SALOMEMultiComm.hxx \
90         Receivers.hxx \
91         Receiver.hxx
92
93 # the following file is needed by an include file (VERY DIRTY!)
94 EXTRA_DIST = Receivers.cxx
95
96 libSalomeCommunication_la_CPPFLAGS = $(COMMON_CPPFLAGS) $(OPT_CPPFLAGS)
97 libSalomeCommunication_la_LDFLAGS  = -no-undefined -version-info=0:0:0 $(OPT_LDFLAGS)
98 libSalomeCommunication_la_LIBADD    = $(COMMON_LIBS) $(OPT_LIBS)
99
100 #
101 # ===============================================================
102 # Executables targets
103 # ===============================================================
104 #
105 # Nothing to build