1 # Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
3 # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
24 # 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 calcium_intc_port_uses.hxx \
43 calcium_long_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 CalciumMacroCInterface.hxx \
54 CalciumCInterface.hxx \
55 CalciumInterface.hxx \
58 CalciumPortTraits.hxx \
67 nodist_salomeinclude_HEADERS = calcium_integer_port_uses.hxx CalciumProvidesPort.hxx CalciumFortranInt.h
69 EXTRA_DIST=fortoc.h calcium_integer_port_uses.hxx.in CalciumProvidesPort.hxx.in CalciumFortranInt.h.in
71 calcium_integer_port_uses.hxx: calcium_integer_port_uses.hxx.in
72 CalciumProvidesPort.hxx : CalciumProvidesPort.hxx.in
73 CalciumFortranInt.h : CalciumFortranInt.h.in
76 # ===============================================================
78 # ===============================================================
81 # This local variable defines the list of CPPFLAGS common to all target in this package.
82 COMMON_CPPFLAGS= -I$(top_srcdir)/src/DSC/DSC_User \
83 -I$(top_srcdir)/src/DSC/DSC_User/Datastream \
84 -I$(top_srcdir)/src/DSC/DSC_User/Datastream/Palm \
85 -I$(top_srcdir)/src/DSC/DSC_User/Datastream/Calcium \
86 -I$(top_srcdir)/src/DSC/DSC_User/Basic \
87 -I$(top_srcdir)/src/DSC/DSC_Basic \
88 -I$(top_srcdir)/src/SALOMELocalTrace \
89 -I$(top_srcdir)/src/Basics \
90 -I$(top_srcdir)/src/Utils \
91 -I$(top_srcdir)/src/Container \
92 -I$(top_srcdir)/src/GenericObj \
93 -I$(top_srcdir)/src/Notification \
94 -I$(top_builddir)/idl \
95 -I$(top_builddir)/src/DSC/DSC_User/Datastream/Calcium \
96 @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ @BOOST_CPPFLAGS@
98 # This local variable defines the list of dependant libraries common to all target in this package.
99 COMMON_LIBS = @CORBA_LIBS@
102 # ===============================================================
104 # ===============================================================
106 noinst_LTLIBRARIES = libSalomeCalcium.la
108 libSalomeCalcium_la_SOURCES = calcium_port_factory.cxx \
109 calcium_uses_port.cxx \
110 calcium_provides_port.cxx\
111 calcium_repository_types.cxx \
112 CalciumCouplingPolicy.cxx \
113 CorbaTypes2CalciumTypes.cxx \
114 CalciumCxxInterface.cxx \
115 CalciumTypes2CorbaTypes.cxx \
116 CalciumCInterface.cxx \
117 CalciumProvidesPort.cxx \
119 calcium_destructors_port_uses.cxx
121 libSalomeCalcium_la_CXXFLAGS = $(COMMON_CPPFLAGS)
123 libSalomeCalcium_la_LDFLAGS = -no-undefined -version-info=0:0:0
125 AM_CFLAGS = -fexceptions
126 lib_LTLIBRARIES = libCalciumC.la
127 libCalciumC_la_SOURCES = CalciumC.c Calcium.cxx calciumf.c
128 libCalciumC_la_CXXFLAGS = $(COMMON_CPPFLAGS)
131 # ===============================================================
132 # Executables targets
133 # ===============================================================
135 noinst_PROGRAMS = test_DataIdContainer
137 ## testInterpolation_SOURCES = testInterpolation.cxx
138 ## testInterpolation_CXXFLAGS = -I/usr/include
140 test_DataIdContainer_SOURCES = test_DataIdContainer.cxx
142 test_DataIdContainer_CXXFLAGS = $(COMMON_CPPFLAGS)
144 test_DataIdContainer_LDADD = libSalomeCalcium.la \
145 $(top_builddir)/src/Utils/libOpUtil.la \
146 $(top_builddir)/src/SALOMELocalTrace/libSALOMELocalTrace.la
148 test_DataIdContainer_LDFLAGS = $(COMMON_LIBS)