From ef1eeead33e838a1690798663daf04a636cfc65e Mon Sep 17 00:00:00 2001 From: ribes Date: Tue, 24 Mar 2009 13:57:03 +0000 Subject: [PATCH] - Adding generation of python corba stubs for PaCO++ idls --- idl/Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/idl/Makefile.am b/idl/Makefile.am index bf2ddb34c..9bf43bec4 100644 --- a/idl/Makefile.am +++ b/idl/Makefile.am @@ -143,6 +143,12 @@ PAR_LIB = libSalomeParallelIDLKernel.la IDL_PACO = SALOME_ComponentPaCO.idl SALOME_PortsPaCO.idl DSC_EnginesPaCO.idl \ SALOME_ParamPortsPaCO.idl SALOME_PACOExtensionPaCO.idl +IDL_PACO_PY = $(DESTDIR)$(salomepythondir)/SALOME_ComponentPaCO_idl.py \ + $(DESTDIR)$(salomepythondir)/SALOME_PortsPaCO_idl.py \ + $(DESTDIR)$(salomepythondir)/DSC_EnginesPaCO_idl.py \ + $(DESTDIR)$(salomepythondir)/SALOME_ParamPortsPaCO_idl.py \ + $(DESTDIR)$(salomepythondir)/SALOME_PACOExtensionPaCO_idl.py + GEN_PACO = SALOME_ComponentPaCO_Engines_Container_server.cxx \ SALOME_ComponentPaCO_Engines_Container_client.cxx \ SALOME_ComponentPaCO_Engines_Component_server.cxx \ @@ -215,7 +221,7 @@ idldir = $(prefix)/idl/salome nodist_idl_DATA = ${XML} ${IDL_PACO} nodist_salomeinclude_HEADERS = ${INCLUDES_PACO} -BUILT_SOURCES = $(IDL_SOURCES) $(PAR) $(PAR_INCLUDES) +BUILT_SOURCES = $(IDL_SOURCES) $(PAR) $(PAR_INCLUDES) $(IDL_PACO_PY) SALOME_ComponentPaCO.hxx SALOME_ComponentPaCO.cxx : SALOME_Component.idl SALOME_Component.xml SALOME_PortsPaCO.hxx SALOME_PortsPaCO.cxx : SALOME_Ports.idl SALOME_Ports.xml @@ -265,6 +271,9 @@ if WITH_PACO_PARALLEL %.hxx: %.idl $(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) -Wbh=.hxx -Wbs=.cxx $< +$(DESTDIR)$(salomepythondir)/%_idl.py : %.idl + $(OMNIORB_IDL) $(IDLPYFLAGS) -I$(top_srcdir)/idl -I@PACOPATH@/idl -C$(DESTDIR)$(salomepythondir) $< + endif install-exec-local: $(IDL_FILES:%=$(top_srcdir)/idl/%) -- 2.39.2