Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1
[modules/kernel.git] / src / Communication / Makefile.am
1 # Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
2 #           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either 
6 # version 2.1 of the License.
7
8 # This library is distributed in the hope that it will be useful 
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
11 # Lesser General Public License for more details.
12
13 # You should have received a copy of the GNU Lesser General Public  
14 # License along with this library; if not, write to the Free Software 
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18
19 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
20
21 #
22 # ===============================================================
23 # Files to be installed
24 # ===============================================================
25 #
26 # header files  
27 salomeinclude_HEADERS = \
28         ReceiverFactory.hxx \
29         SenderFactory.hxx \
30         SALOMEMultiComm.hxx \
31         MultiCommException.hxx \
32         SALOME_Comm_i.hxx \
33         MatrixClient.hxx \
34         SALOME_Matrix_i.hxx
35
36 # Scripts to be installed
37
38 #
39 # ===============================================================
40 # Local definitions
41 # ===============================================================
42 #
43
44 # This local variable defines the list of CPPFLAGS common to all target in this package.
45 COMMON_CPPFLAGS=\
46         -I$(srcdir)/../Basics \
47         -I$(srcdir)/../SALOMELocalTrace \
48         -I$(srcdir)/../Utils \
49         -I$(top_builddir)/salome_adm/unix \
50         -I$(top_builddir)/idl \
51         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
52
53 # This local variable defines the list of dependant libraries common to all target in this package.
54 COMMON_LIBS = \
55         ../Utils/libOpUtil.la \
56         ../SALOMELocalTrace/libSALOMELocalTrace.la \
57         $(top_builddir)/idl/libSalomeIDLKernel.la
58
59 # _CS_gbo The need for these flags depends on wether the swig
60 # interface is generated and if MPI is activated.
61 OPT_CPPFLAGS = @PYTHON_INCLUDES@  @MPI_INCLUDES@
62 OPT_LIBS     = @PYTHON_LIBS@ @MPI_LIBS@
63 OPT_LDFLAGS  = -Xlinker -export-dynamic
64
65 #
66 # ===============================================================
67 # Libraries targets
68 # ===============================================================
69 #
70 lib_LTLIBRARIES = libSalomeCommunication.la 
71 libSalomeCommunication_la_SOURCES =\
72         SALOME_Comm_i.cxx \
73         SALOME_Matrix_i.cxx \
74         SenderFactory.cxx \
75         MultiCommException.cxx \
76         SALOMEMultiComm.cxx \
77         ReceiverFactory.cxx \
78         MatrixClient.cxx \
79         \
80         MultiCommException.hxx \
81         SALOME_Comm_i.hxx \
82         SALOME_Matrix_i.hxx \
83         SenderFactory.hxx \
84         ReceiverFactory.hxx \
85         MatrixClient.hxx \
86         SALOMEMultiComm.hxx \
87         Receivers.hxx \
88         Receiver.hxx
89
90 # the following file is needed by an include file (VERY DIRTY!)
91 EXTRA_DIST = Receivers.cxx
92
93 libSalomeCommunication_la_CPPFLAGS = $(COMMON_CPPFLAGS) $(OPT_CPPFLAGS)
94 libSalomeCommunication_la_LDFLAGS  = -no-undefined -version-info=0:0:0 $(OPT_LDFLAGS)
95 libSalomeCommunication_la_LIBADD    = $(COMMON_LIBS) $(OPT_LIBS)
96
97 #
98 # ===============================================================
99 # Executables targets
100 # ===============================================================
101 #
102 # Nothing to build