Salome HOME
Join modifications from branch BR_PR_V320b1
[modules/kernel.git] / src / Communication / Makefile.am
1 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
2
3 #
4 # ===============================================================
5 # Files to be installed
6 # ===============================================================
7 #
8 # header files  
9 salomeinclude_HEADERS = \
10         ReceiverFactory.hxx \
11         SenderFactory.hxx \
12         SALOMEMultiComm.hxx \
13         MultiCommException.hxx \
14         SALOME_Comm_i.hxx \
15         MatrixClient.hxx \
16         SALOME_Matrix_i.hxx
17
18 # Scripts to be installed
19
20 #
21 # ===============================================================
22 # Local definitions
23 # ===============================================================
24 #
25
26 # This local variable defines the list of CPPFLAGS common to all target in this package.
27 COMMON_CPPFLAGS=\
28         -I$(srcdir)/../Basics \
29         -I$(srcdir)/../SALOMELocalTrace \
30         -I$(srcdir)/../Utils \
31         -I$(top_builddir)/salome_adm/unix \
32         -I$(top_builddir)/idl \
33         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
34
35 # This local variable defines the list of dependant libraries common to all target in this package.
36 COMMON_LIBS = \
37         ../Utils/libOpUtil.la \
38         ../SALOMELocalTrace/libSALOMELocalTrace.la \
39         $(top_builddir)/idl/libSalomeIDLKernel.la
40
41 # _CS_gbo The need for these flags depends on wether the swig
42 # interface is generated and if MPI is activated.
43 OPT_CPPFLAGS = @PYTHON_INCLUDES@  @MPI_INCLUDES@
44 OPT_LIBS     = @PYTHON_LIBS@ @MPI_LIBS@
45 OPT_LDFLAGS  = -Xlinker -export-dynamic
46
47 #
48 # ===============================================================
49 # Libraries targets
50 # ===============================================================
51 #
52 lib_LTLIBRARIES = libSalomeCommunication.la 
53 libSalomeCommunication_la_SOURCES =\
54         SALOME_Comm_i.cxx \
55         SALOME_Matrix_i.cxx \
56         SenderFactory.cxx \
57         MultiCommException.cxx \
58         SALOMEMultiComm.cxx \
59         ReceiverFactory.cxx \
60         MatrixClient.cxx \
61         \
62         MultiCommException.hxx \
63         SALOME_Comm_i.hxx \
64         SALOME_Matrix_i.hxx \
65         SenderFactory.hxx \
66         ReceiverFactory.hxx \
67         MatrixClient.hxx \
68         SALOMEMultiComm.hxx \
69         Receivers.hxx \
70         Receiver.hxx
71
72 # the following file is needed by an include file (VERY DIRTY!)
73 EXTRA_DIST = Receivers.cxx
74
75 libSalomeCommunication_la_CPPFLAGS = $(COMMON_CPPFLAGS) $(OPT_CPPFLAGS)
76 libSalomeCommunication_la_LDFLAGS  = -no-undefined -version-info=0:0:0 $(OPT_LDFLAGS)
77 libSalomeCommunication_la_LIBADD    = $(COMMON_LIBS) $(OPT_LIBS)
78
79 #
80 # ===============================================================
81 # Executables targets
82 # ===============================================================
83 #
84 # Nothing to build