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.
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.
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
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
22 # ===============================================================
23 # Files to be installed
24 # ===============================================================
27 salomeinclude_HEADERS = \
31 MultiCommException.hxx \
35 SALOME_Communication.hxx
37 # Scripts to be installed
40 # ===============================================================
42 # ===============================================================
45 # This local variable defines the list of CPPFLAGS common to all target in this package.
47 -I$(srcdir)/../Basics \
48 -I$(srcdir)/../SALOMELocalTrace \
49 -I$(srcdir)/../Utils \
50 -I$(top_builddir)/salome_adm/unix \
51 -I$(top_builddir)/idl \
52 @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
54 # This local variable defines the list of dependant libraries common to all target in this package.
56 ../Utils/libOpUtil.la \
57 ../SALOMELocalTrace/libSALOMELocalTrace.la \
58 $(top_builddir)/idl/libSalomeIDLKernel.la
60 # _CS_gbo The need for these flags depends on wether the swig
61 # interface is generated and if MPI is activated.
62 OPT_CPPFLAGS = @PYTHON_INCLUDES@ @MPI_INCLUDES@
63 OPT_LIBS = @PYTHON_LIBS@ @MPI_LIBS@
64 OPT_LDFLAGS = -Xlinker -export-dynamic
67 # ===============================================================
69 # ===============================================================
71 lib_LTLIBRARIES = libSalomeCommunication.la
72 libSalomeCommunication_la_SOURCES =\
76 MultiCommException.cxx \
81 MultiCommException.hxx \
91 # the following file is needed by an include file (VERY DIRTY!)
92 EXTRA_DIST = Receivers.cxx
94 libSalomeCommunication_la_CPPFLAGS = $(COMMON_CPPFLAGS) $(OPT_CPPFLAGS)
95 libSalomeCommunication_la_LDFLAGS = -no-undefined -version-info=0:0:0 $(OPT_LDFLAGS)
96 libSalomeCommunication_la_LIBADD = $(COMMON_LIBS) $(OPT_LIBS)
99 # ===============================================================
100 # Executables targets
101 # ===============================================================