1 # Copyright (C) 2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License.
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 # Author : André RIBES (EDF), Eric Fayolle (EDF)
27 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
30 # ===============================================================
31 # Header to be installed
32 # ===============================================================
35 salomeinclude_HEADERS = calcium_port_factory.hxx \
36 CorbaTypes2CalciumTypes.hxx \
37 CalciumTypes2CorbaTypes.hxx \
38 CalciumGenericProvidesPort.hxx \
39 calcium_uses_port.hxx \
40 CalciumGenericUsesPort.hxx \
41 calcium_provides_port.hxx \
42 CalciumProvidesPort.hxx \
43 calcium_integer_port_uses.hxx \
44 calcium_real_port_uses.hxx \
45 calcium_double_port_uses.hxx \
46 calcium_string_port_uses.hxx \
47 calcium_logical_port_uses.hxx \
48 calcium_complex_port_uses.hxx \
49 CalciumCouplingPolicy.hxx \
50 CalciumException.hxx \
52 CalciumCxxInterface.hxx \
53 CalciumInterface.hxx \
56 CalciumPortTraits.hxx \
65 # ===============================================================
67 # ===============================================================
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 \
82 -I$(top_builddir)/idl \
83 @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ @BOOST_CPPFLAGS@
85 # This local variable defines the list of dependant libraries common to all target in this package.
86 COMMON_LIBS = @CORBA_LIBS@
89 # ===============================================================
91 # ===============================================================
93 noinst_LTLIBRARIES = libSalomeCalcium.la
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 \
104 calcium_destructors_port_uses.cxx
106 libSalomeCalcium_la_CXXFLAGS = $(COMMON_CPPFLAGS)
108 libSalomeCalcium_la_LDFLAGS = -no-undefined -version-info=0:0:0
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)
116 # ===============================================================
117 # Executables targets
118 # ===============================================================
120 noinst_PROGRAMS = test_DataIdContainer
122 ## testInterpolation_SOURCES = testInterpolation.cxx
123 ## testInterpolation_CXXFLAGS = -I/usr/include
125 test_DataIdContainer_SOURCES = test_DataIdContainer.cxx
127 test_DataIdContainer_CXXFLAGS = $(COMMON_CPPFLAGS)
129 test_DataIdContainer_LDADD = libSalomeCalcium.la $(top_builddir)/src/Utils/libOpUtil.la
131 test_DataIdContainer_LDFLAGS = $(COMMON_LIBS)