-# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2011 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
+# 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 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+
# This Makefile is responsible of generating the client and server
# implementation of IDL interfaces for both C++ and python usage.
# The building process of the C++ files is in charge of each source
SALOME_Registry.idl \
Logger.idl \
SALOME_GenericObj.idl \
+ SALOME_Types.idl \
SALOME_Session.idl \
SALOME_TestModuleCatalog.idl \
nstest.idl \
SALOME_PyNode.idl \
Palm_Ports.idl \
SALOME_PACOExtension.idl \
- SALOME_ParamPorts.idl
+ SALOME_ParamPorts.idl \
+ SALOME_Parametric.idl \
+ SALOME_MPIObject.idl
MPIIDL_FILES = \
- SALOME_MPIObject.idl \
SALOME_MPIContainer.idl \
SALOME_TestMPIComponent.idl
# all the idl files are needed for make dist
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_PACOExtension.xml SALOME_ParamPorts.xml \
+ SALOME_GenericObj.xml SALOME_Exception.xml
# This variable defines the files to be installed
salomeidl_DATA = $(IDL_FILES)
SALOME_RegistrySK.cc \
LoggerSK.cc \
SALOME_GenericObjSK.cc \
+ SALOME_TypesSK.cc \
SALOME_SessionSK.cc \
SALOME_TestModuleCatalogSK.cc \
nstestSK.cc \
Calcium_PortsSK.cc \
Palm_PortsSK.cc \
SALOME_PACOExtensionSK.cc \
- SALOME_ParamPortsSK.cc
+ SALOME_ParamPortsSK.cc \
+ SALOME_ParametricSK.cc \
+ SALOME_MPIObjectSK.cc
DYNIDL_SRCS = \
SALOME_PortsDynSK.cc Calcium_PortsDynSK.cc SALOME_ContainerManagerDynSK.cc \
SALOME_CommDynSK.cc SALOME_RegistryDynSK.cc SALOME_ModuleCatalogDynSK.cc \
SALOMEDSDynSK.cc SALOME_SessionDynSK.cc SALOME_RessourcesCatalogDynSK.cc \
- DSC_EnginesDynSK.cc SALOME_ComponentDynSK.cc SALOME_GenericObjDynSK.cc \
+ DSC_EnginesDynSK.cc SALOME_ComponentDynSK.cc SALOME_GenericObjDynSK.cc SALOME_TypesDynSK.cc \
Palm_PortsDynSK.cc SALOME_ExceptionDynSK.cc SALOMEDS_AttributesDynSK.cc \
- LoggerDynSK.cc SALOME_PACOExtensionDynSK.cc SALOME_ParamPortsDynSK.cc SALOME_PyNodeDynSK.cc
+ LoggerDynSK.cc SALOME_PACOExtensionDynSK.cc SALOME_ParamPortsDynSK.cc SALOME_PyNodeDynSK.cc \
+ SALOME_ParametricDynSK.cc SALOME_MPIObjectDynSK.cc
MPIIDL_SOURCES = \
- SALOME_MPIObjectSK.cc \
SALOME_MPIContainerSK.cc \
SALOME_TestMPIComponentSK.cc
STATIDL_SOURCES += $(MPIIDL_SOURCES)
endif
+if MPI_IS_OK
+ DYNIDL_SRCS += SALOME_MPIContainerDynSK.cc SALOME_TestMPIComponentDynSK.cc
+endif
+
$(DYNIDL_SRCS) : $(IDL_SOURCES)
# also install all generated headers to use result library from another modules
SALOME_PortsPaCO.hxx SALOME_PortsPaCO.cxx \
DSC_EnginesPaCO.hxx DSC_EnginesPaCO.cxx \
SALOME_PACOExtensionPaCO.hxx SALOME_PACOExtensionPaCO.cxx \
- SALOME_ParamPortsPaCO.hxx SALOME_ParamPortsPaCO.cxx
+ SALOME_ParamPortsPaCO.hxx SALOME_ParamPortsPaCO.cxx \
+ SALOME_GenericObjPaCO.hxx SALOME_GenericObjPaCO.cxx
PAR_INCLUDES = SALOME_Exception.hxx SALOME_GenericObj.hxx SALOMEDS.hxx SALOME_PyNode.hxx
PAR_LIB = libSalomeParallelIDLKernel.la
IDL_PACO = SALOME_ComponentPaCO.idl SALOME_PortsPaCO.idl DSC_EnginesPaCO.idl \
- SALOME_ParamPortsPaCO.idl SALOME_PACOExtensionPaCO.idl
+ SALOME_ParamPortsPaCO.idl SALOME_PACOExtensionPaCO.idl \
+ SALOME_GenericObjPaCO.idl
GEN_PACO = SALOME_ComponentPaCO_Engines_Container_server.cxx \
SALOME_ComponentPaCO_Engines_Container_client.cxx \
- SALOME_ComponentPaCO_Engines_Component_server.cxx \
- SALOME_ComponentPaCO_Engines_Component_client.cxx \
+ SALOME_ComponentPaCO_Engines_EngineComponent_server.cxx \
+ SALOME_ComponentPaCO_Engines_EngineComponent_client.cxx \
SALOME_ComponentPaCO_Engines_fileTransfer_server.cxx \
SALOME_ComponentPaCO_Engines_fileTransfer_client.cxx \
SALOME_ComponentPaCO_Engines_Salome_file_server.cxx \
SALOME_PACOExtensionPaCO_Engines_Parallel_DSC_server.cxx \
SALOME_PACOExtensionPaCO_Engines_Parallel_DSC_client.cxx \
SALOME_ParamPortsPaCO_Ports_Param_Double_Port_server.cxx \
- SALOME_ParamPortsPaCO_Ports_Param_Double_Port_client.cxx
+ SALOME_ParamPortsPaCO_Ports_Param_Double_Port_client.cxx \
+ SALOME_GenericObjPaCO_SALOME_GenericObj_server.cxx \
+ SALOME_GenericObjPaCO_SALOME_GenericObj_client.cxx
INCLUDES_PACO = SALOME_ComponentPaCO_Engines_Container_server.hxx \
SALOME_ComponentPaCO_Engines_Container_client.hxx \
- SALOME_ComponentPaCO_Engines_Component_server.hxx \
- SALOME_ComponentPaCO_Engines_Component_client.hxx \
+ SALOME_ComponentPaCO_Engines_EngineComponent_server.hxx \
+ SALOME_ComponentPaCO_Engines_EngineComponent_client.hxx \
SALOME_ComponentPaCO_Engines_fileTransfer_server.hxx \
SALOME_ComponentPaCO_Engines_fileTransfer_client.hxx \
SALOME_ComponentPaCO_Engines_Salome_file_server.hxx \
SALOME_ParamPortsPaCO_Ports_Param_Double_Port_server.hxx \
SALOME_ParamPortsPaCO_Ports_Param_Double_Port_client.hxx \
SALOME_ParamPortsPaCO.hxx \
- SALOME_ParamPorts.hxx
+ SALOME_ParamPorts.hxx \
+ SALOME_GenericObjPaCO_SALOME_GenericObj_server.hxx \
+ SALOME_GenericObjPaCO_SALOME_GenericObj_client.hxx \
+ SALOME_GenericObjPaCO.hxx \
+ SALOME_GenericObj.hxx
XML = SALOME_Component.xml DSC_Engines.xml SALOME_Ports.xml \
- SALOME_PACOExtension.xml SALOME_ParamPorts.xml
+ SALOME_PACOExtension.xml SALOME_ParamPorts.xml \
+ SALOME_GenericObj.xml
endif
idldir = $(prefix)/idl/salome
nodist_idl_DATA = ${XML} ${IDL_PACO} Calcium_Ports.idl
nodist_salomeinclude_HEADERS = ${INCLUDES_PACO}
-BUILT_SOURCES = $(IDL_SOURCES) $(PAR) $(PAR_INCLUDES)
+BUILT_SOURCES = $(IDL_SOURCES) $(PAR_INCLUDES) $(PAR)
-SALOME_ComponentPaCO.idl SALOME_ComponentPaCO.hxx SALOME_ComponentPaCO.cxx : SALOME_Component.idl SALOME_Component.xml
+SALOME_GenericObjPaCO.idl SALOME_GenericObjPaCO.hxx SALOME_GenericObjPaCO.cxx : SALOME_GenericObj.idl SALOME_GenericObj.xml
+SALOME_ComponentPaCO.idl SALOME_ComponentPaCO.hxx SALOME_ComponentPaCO.cxx : SALOME_Component.idl SALOME_Component.xml SALOME_GenericObjPaCO.idl
SALOME_PortsPaCO.idl SALOME_PortsPaCO.hxx SALOME_PortsPaCO.cxx : SALOME_Ports.idl SALOME_Ports.xml
DSC_EnginesPaCO.idl DSC_EnginesPaCO.hxx DSC_EnginesPaCO.cxx : DSC_Engines.idl DSC_Engines.xml
SALOME_PACOExtensionPaCO.idl SALOME_PACOExtensionPaCO.hxx SALOME_PACOExtensionPaCO.cxx : SALOME_PACOExtension.idl SALOME_PACOExtension.xml
$(IDL) -p@PACOPATH@/lib/python -bpaco -Wb$(top_srcdir)/idl/$*.xml,$(srcdir):@PACOPATH@/idl $(top_srcdir)/idl/$*.idl
.idl.hxx:
- $(IDL) $(IDLCXXFLAGS) -Wbh=.hxx -Wbs=.cxx $<
+ $(IDL) $(PACOIDLCXXFLAGS) -bcxx -Wbh=.hxx -Wbs=.cxx $<
endif
install-exec-local: $(IDL_FILES:%=$(top_srcdir)/idl/%) Calcium_Ports.idl
# uninstall-local removes too much, but it works in distcheck
uninstall-local:
- rm -rf $(DESTDIR)$(salomepythondir)/*
+ for filen in `find $(DESTDIR)$(salomepythondir) -maxdepth 1` ; do \
+ case $${filen} in \
+ $(DESTDIR)$(salomepythondir) ) ;; \
+ $(DESTDIR)$(salomepypkgdir) ) ;; \
+ $(DESTDIR)$(sharedpkgpythondir) ) ;; \
+ * ) rm -rf $${filen} ;; \
+ esac ; \
+ done ;
mostlyclean-local:
-rm -f *.hh *.cc .depidl Calcium_Ports.idl