]> SALOME platform Git repositories - modules/kernel.git/blob - src/DSC/DSC_User/Datastream/Calcium/Makefile.am
Salome HOME
merge from branch BR_V5_DEV
[modules/kernel.git] / src / DSC / DSC_User / Datastream / Calcium / Makefile.am
1 #  Copyright (C) 2007-2008  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 #  File   : Makefile.am
23 #  Author : André RIBES (EDF), Eric Fayolle (EDF)
24 #  Module : KERNEL
25 #
26 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
27
28 #
29 # ===============================================================
30 # Header to be installed
31 # ===============================================================
32 #
33 # header files  
34 salomeinclude_HEADERS = calcium_port_factory.hxx \
35                         CorbaTypes2CalciumTypes.hxx \
36                         CalciumTypes2CorbaTypes.hxx \
37                         CalciumGenericProvidesPort.hxx \
38                         calcium_uses_port.hxx \
39                         CalciumGenericUsesPort.hxx \
40                         calcium_provides_port.hxx \
41                         CalciumProvidesPort.hxx \
42                         calcium_integer_port_uses.hxx \
43                         calcium_real_port_uses.hxx \
44                         calcium_double_port_uses.hxx \
45                         calcium_string_port_uses.hxx \
46                         calcium_logical_port_uses.hxx \
47                         calcium_complex_port_uses.hxx \
48                         CalciumCouplingPolicy.hxx \
49                         CalciumException.hxx \
50                         CalciumTypes.hxx \
51                         CalciumCxxInterface.hxx \
52                         CalciumInterface.hxx \
53                         Copy2UserSpace.hxx \
54                         Copy2CorbaSpace.hxx \
55                         CalciumPortTraits.hxx \
56                         calcium.h \
57                         Calcium.hxx \
58                         calciumP.h \
59                         calciumE.h \
60                         version.h \
61                         calcium.hf
62
63 EXTRA_DIST=fortoc.h
64 #
65 # ===============================================================
66 # Local definitions
67 # ===============================================================
68 #
69
70 # This local variable defines the list of CPPFLAGS common to all target in this package.
71 COMMON_CPPFLAGS= -I$(top_srcdir)/src/DSC/DSC_User \
72                  -I$(top_srcdir)/src/DSC/DSC_User/Datastream \
73                  -I$(top_srcdir)/src/DSC/DSC_User/Datastream/Palm \
74                  -I$(top_srcdir)/src/DSC/DSC_User/Basic \
75                  -I$(top_srcdir)/src/DSC/DSC_Basic \
76                  -I$(top_srcdir)/src/SALOMELocalTrace \
77                  -I$(top_srcdir)/src/Basics \
78                  -I$(top_srcdir)/src/Utils \
79                  -I$(top_srcdir)/src/Container \
80                  -I$(top_srcdir)/src/Notification \
81                  -I$(top_builddir)/salome_adm/unix -include SALOMEconfig.h \
82                  -I$(top_builddir)/idl \
83                  @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ @BOOST_CPPFLAGS@
84
85 # This local variable defines the list of dependant libraries common to all target in this package.
86 COMMON_LIBS = @CORBA_LIBS@
87
88 #
89 # ===============================================================
90 # Libraries targets
91 # ===============================================================
92 #
93 noinst_LTLIBRARIES = libSalomeCalcium.la 
94
95 libSalomeCalcium_la_SOURCES  = calcium_port_factory.cxx \
96                                calcium_uses_port.cxx    \
97                                calcium_provides_port.cxx\
98                                calcium_repository_types.cxx \
99                                CalciumCouplingPolicy.cxx \
100                                CorbaTypes2CalciumTypes.cxx \
101                                CalciumTypes2CorbaTypes.cxx \
102                                CalciumProvidesPort.cxx \
103                                Calcium.cxx \
104                                calcium_destructors_port_uses.cxx
105
106 libSalomeCalcium_la_CXXFLAGS = $(COMMON_CPPFLAGS)
107
108 libSalomeCalcium_la_LDFLAGS  = -no-undefined -version-info=0:0:0
109
110 AM_CFLAGS         = -fexceptions
111 lib_LTLIBRARIES = libCalciumC.la
112 libCalciumC_la_SOURCES = Calcium.c Calcium.cxx calciumf.c
113 libCalciumC_la_CXXFLAGS = $(COMMON_CPPFLAGS)
114
115 #
116 # ===============================================================
117 # Executables targets
118 # ===============================================================
119 #
120 noinst_PROGRAMS              = test_DataIdContainer
121 ## testInterpolation
122 ## testInterpolation_SOURCES = testInterpolation.cxx
123 ## testInterpolation_CXXFLAGS = -I/usr/include
124
125 test_DataIdContainer_SOURCES = test_DataIdContainer.cxx 
126
127 test_DataIdContainer_CXXFLAGS = $(COMMON_CPPFLAGS)
128
129 test_DataIdContainer_LDADD   = libSalomeCalcium.la $(top_builddir)/src/Utils/libOpUtil.la
130
131 test_DataIdContainer_LDFLAGS = $(COMMON_LIBS)
132