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