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