salomeinclude_DATA = KERNEL_version.h
-EXTRA_DIST = \
+EXTRA_DIST += \
build_cmake \
build_cmake.bat \
build_configure \
SUBDIRS = salome docutils
-EXTRA_DIST = configuration_examples README.cluster-CCRT
+EXTRA_DIST += configuration_examples README.cluster-CCRT
docs: usr_docs
kernel.rst \
parametric.rst
-EXTRA_DIST = archives $(RSTFILES)
+EXTRA_DIST += archives $(RSTFILES)
SPHINXOPTS =
SOURCEDIR = $(srcdir)
echo "Making dev_docs in tui"; \
(cd tui && $(MAKE) $(AM_MAKEFLAGS) dev_docs)
-EXTRA_DIST= main.dox install.dox \
+EXTRA_DIST+= main.dox install.dox \
kernel_resources.dox kernel_services.dox kernel_services_cpphelpers.dox \
salome_application.dox unittests.dox \
- salome_file.dox kernel_salome.dox \
+ salome_file.dox kernel_salome.dox running_salome.dox \
examples
include $(top_srcdir)/salome_adm/unix/make_common_starter.am
-EXTRA_DIST = images static/footer.html static/doxygen.css
+EXTRA_DIST += images static/footer.html static/doxygen.css
guidocdir = $(docdir)/gui/KERNEL
guidoc_DATA = images/head.png
#
include $(top_srcdir)/salome_adm/unix/make_common_starter.am
-EXTRA_DIST = images input static/footer.html static/doxygen.css
+EXTRA_DIST += images input static/footer.html static/doxygen.css
tuidocdir = $(docdir)/tui/KERNEL
tuidoc_DATA = images/head.png
TypeData.idl
# all the idl files are needed for make dist
-EXTRA_DIST= $(BASEIDL_FILES) $(MPIIDL_FILES) $(OTHER_IDL_FILES) \
+EXTRA_DIST += $(BASEIDL_FILES) $(MPIIDL_FILES) $(OTHER_IDL_FILES) \
SALOME_Component.xml DSC_Engines.xml SALOME_Ports.xml \
SALOME_PACOExtension.xml SALOME_ParamPorts.xml \
SALOME_GenericObj.xml SALOME_Exception.xml
KERNELCatalog.xml
endif
-EXTRA_DIST = CatalogDataType.xml
+EXTRA_DIST += CatalogDataType.xml
FindPYTHON.cmake \
FindSWIG.cmake \
FindSPHINX.cmake \
+SalomeMacros.cmake \
install_python_from_idl.cmake \
install_and_compile_python_file.cmake \
InstallAndCompilePythonFile.cmake
# Documentation directory
docdir = $(datadir)/doc/salome
+
+# Cmake files
+CMAKEFILES = $(notdir $(wildcard $(srcdir)/CMakeLists.txt))
+EXTRA_DIST = $(CMAKEFILES)
\ No newline at end of file
TARGET_LINK_LIBRARIES(SalomeCommunication ${COMMON_LIBS} ${PYTHON_LIBS} ${MPI_LIBS})
INSTALL(TARGETS SalomeCommunication DESTINATION ${KERNEL_salomelib_LIBS})
-FILE(GLOB COMMON_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
-SET(NOINST_HEADERS_HXX
+SET(COMMON_HEADERS_HXX
+ MatrixClient.hxx
+ MultiCommException.hxx
Receiver.hxx
+ ReceiverFactory.hxx
Receivers.hxx
+ Receivers.cxx
+ SALOMEMultiComm.hxx
+ SALOME_Comm_i.hxx
+ SALOME_Communication.hxx
+ SALOME_Matrix_i.hxx
+ SenderFactory.hxx
)
-FOREACH(HEADER ${NOINST_HEADERS_HXX})
- LIST(REMOVE_ITEM COMMON_HEADERS_HXX ${CMAKE_CURRENT_SOURCE_DIR}/${HEADER})
-ENDFOREACH(HEADER ${NOINST_HEADERS_HXX})
INSTALL(FILES ${COMMON_HEADERS_HXX} DESTINATION ${KERNEL_salomeinclude_HEADERS})
Receiver.hxx
# the following file is needed by an include file (VERY DIRTY!)
-EXTRA_DIST = Receivers.cxx
+EXTRA_DIST += Receivers.cxx
libSalomeCommunication_la_CPPFLAGS = $(COMMON_CPPFLAGS) $(OPT_CPPFLAGS)
libSalomeCommunication_la_LDFLAGS = -no-undefined -version-info=0:0:0 $(OPT_LDFLAGS)
+++ /dev/null
-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
-// This library is free software; you can redistribute it and/or
-// modify it under the terms of the GNU Lesser General Public
-// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-// Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public
-// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-//
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
-
-#include "Receiver.hxx"
-#include <string.h>
-
-/*!
- return a deep copy of the array contained in the servant.
- */
-void *Receiver::getLocalValue(long &size,SALOME_Sender_i* servant)
-{
- const void *src=servant->getData(size);
- long lgr=size*servant->getSizeOf();
- void *ret=new char[lgr];
- memcpy(ret,src,lgr);
- return ret;
- //return (void *)servant->getData(size);
-}
-
-void *Receiver::getValue(long &size,SALOME::Sender_ptr sender)
-{
- SALOME_Sender_i* data=SALOME_Sender_i::find(sender);
- if(data)
- return getLocalValue(size,data);
- else
- return getDistValue(size);
-}
-
CLEANFILES = swig_wrap.cpp
-EXTRA_DIST = $(SWIGSOURCES)
+EXTRA_DIST += $(SWIGSOURCES)
#
# ===============================================================
_calcium_la_CPPFLAGS = $(PYTHON_INCLUDES) $(COMMON_CPPFLAGS)
-EXTRA_DIST=calcium_wrap.cpp calcium.i
+EXTRA_DIST+=calcium_wrap.cpp calcium.i
calcium_wrap.cpp calcium.py:calcium.i
$(SWIG) $(MY_SWIG_FLAGS) -o calcium_wrap.cpp $<
TARGET_LINK_LIBRARIES(SalomeDatastream ${COMMON_LIBS})
INSTALL(TARGETS SalomeDatastream DESTINATION ${KERNEL_salomelib_LIBS})
-FILE(GLOB COMMON_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
-SET(NOINST_HEADERS_HXX
- ProcessTimeIntervalTraits.hxx
- AdjacentPredicate.hxx
+SET(COMMON_HEADERS_HXX
+ AdjacentFunctor.hxx
+ ConstTraits.hxx
+ CorbaTypeManipulator.hxx
+ CouplingPolicy.hxx
+ DataIdFilter.hxx
+ DisplayPair.hxx
+ FindKeyPredicate.hxx
+ GenericPort.hxx
+ GenericProvidesPort.hxx
+ GenericUsesPort.hxx
+ IteratorTraits.hxx
)
-FOREACH(HEADER ${NOINST_HEADERS_HXX})
- LIST(REMOVE_ITEM COMMON_HEADERS_HXX ${CMAKE_CURRENT_SOURCE_DIR}/${HEADER})
-ENDFOREACH(HEADER ${NOINST_HEADERS_HXX})
INSTALL(FILES ${COMMON_HEADERS_HXX} DESTINATION ${KERNEL_salomeinclude_HEADERS})
-
CONFIGURE_FILE(CalciumProvidesPort.hxx.in CalciumProvidesPort.hxx @ONLY)
CONFIGURE_FILE(CalciumFortranInt.h.in CalciumFortranInt.h @ONLY)
-FILE(GLOB COMMON_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
-FILE(GLOB COMMON_HEADERS_H "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
SET(COMMON_HEADERS
- ${COMMON_HEADERS_HXX}
- ${COMMON_HEADERS_H}
- calcium.hf
- ${CMAKE_CURRENT_BINARY_DIR}/calcium_integer_port_uses.hxx
- ${CMAKE_CURRENT_BINARY_DIR}/CalciumProvidesPort.hxx
+ Calcium.hxx
+ CalciumCInterface.hxx
+ CalciumCouplingPolicy.hxx
+ CalciumCxxInterface.hxx
+ CalciumException.hxx
+ CalciumGenericProvidesPort.hxx
+ CalciumGenericUsesPort.hxx
+ CalciumInterface.hxx
+ CalciumMacroCInterface.hxx
+ CalciumPortTraits.hxx
+ CalciumTypes.hxx
+ CalciumTypes2CorbaTypes.hxx
+ Copy2CorbaSpace.hxx
+ Copy2UserSpace.hxx
+ CorbaTypes2CalciumTypes.hxx
+ calcium_complex_port_uses.hxx
+ calcium_double_port_uses.hxx
+ calcium_intc_port_uses.hxx
+ calcium_logical_port_uses.hxx
+ calcium_long_port_uses.hxx
+ calcium_port_factory.hxx
+ calcium_provides_port.hxx
+ calcium_real_port_uses.hxx
+ calcium_string_port_uses.hxx
+ calcium_uses_port.hxx
+ calcium.h
+ calcium.hf
+ calciumE.h
+ calciumP.h
+ calciumf.h
+ fortoc.h
+ version.h
${CMAKE_CURRENT_BINARY_DIR}/CalciumFortranInt.h
+ ${CMAKE_CURRENT_BINARY_DIR}/CalciumProvidesPort.hxx
+ ${CMAKE_CURRENT_BINARY_DIR}/calcium_integer_port_uses.hxx
)
-LIST(REMOVE_ITEM COMMON_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/fortoc.h)
-LIST(REMOVE_ITEM COMMON_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/CalciumTypesManipulator.hxx)
INSTALL(FILES ${COMMON_HEADERS} DESTINATION ${KERNEL_salomeinclude_HEADERS})
nodist_salomeinclude_HEADERS = calcium_integer_port_uses.hxx CalciumProvidesPort.hxx CalciumFortranInt.h
-EXTRA_DIST=fortoc.h calcium_integer_port_uses.hxx.in CalciumProvidesPort.hxx.in CalciumFortranInt.h.in
+EXTRA_DIST+=fortoc.h calcium_integer_port_uses.hxx.in CalciumProvidesPort.hxx.in CalciumFortranInt.h.in
calcium_integer_port_uses.hxx: calcium_integer_port_uses.hxx.in
CalciumProvidesPort.hxx : CalciumProvidesPort.hxx.in
# Author : André RIBES (EDF)
# Module : KERNEL
#
+include $(top_srcdir)/salome_adm/unix/make_common_starter.am
+
SUBDIRS_COMMON = DSC_Basic
if !WINDOWS
SUBDIRS = $(SUBDIRS_COMMON) $(SUBDIRS_ADD) $(SUBDIR_PAR)
-EXTRA_DIST= DSC.dox
+EXTRA_DIST+= DSC.dox
DIST_SUBDIRS = DSC_Basic DSC_User DSC_Python ParallelDSC
libSalomeHDFPersist_la_LIBADD = @HDF5_LIBS@
-EXTRA_DIST = \
+EXTRA_DIST += \
test1.c \
test2.c \
test3.cxx \
CLEANFILES = swig_wrap.cpp
-EXTRA_DIST = $(SWIGSOURCES)
+EXTRA_DIST += $(SWIGSOURCES)
#
# ===============================================================
# Module : KERNEL
# $Header$
#
+
+include $(top_srcdir)/salome_adm/unix/make_common_starter.am
+
SUBDIR_BASE = \
Basics \
SALOMELocalTrace \
endif
endif
-EXTRA_DIST = win32pm
+EXTRA_DIST += win32pm
dist_salomescript_PYTHON = IDLparser.py
-EXTRA_DIST = tests
+EXTRA_DIST += tests
install-data-hook:
@for f in $(dist_salomescript_PYTHON) ; do \
CLEANFILES = swig_wrap.cpp
-EXTRA_DIST = $(SWIGSOURCES)
+EXTRA_DIST += $(SWIGSOURCES)
libSALOMEDSTest_la_LDFLAGS = -no-undefined -version-info=0:0:0
libSALOMEDSTest_la_LIBADD = $(COMMON_LIBS)
-EXTRA_DIST = \
+EXTRA_DIST += \
SALOMEDSTest_AttributeComment.cxx \
SALOMEDSTest_AttributeDrawable.cxx \
SALOMEDSTest_AttributeExpandable.cxx \