From 45f790d7a910b19e67264465e6f3abb8fa5f75d6 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 15 Jun 2005 04:29:10 +0000 Subject: [PATCH] Patch from Paul RASCLE for SALOME_PYQT --- src/SALOME_PYQT/Makefile.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/SALOME_PYQT/Makefile.in b/src/SALOME_PYQT/Makefile.in index 5daa9a947..bb6fe1b4a 100644 --- a/src/SALOME_PYQT/Makefile.in +++ b/src/SALOME_PYQT/Makefile.in @@ -60,8 +60,10 @@ endif # Libraries targets ifeq ($(SIP_VERS),v4) LIB = SalomePyQt.so +LDFLAGS+=-shared -lSalomeGUI else LIB = libSalomePyQtcmodule.la +LDFLAGS+=-lSalomeGUI -lqtcmodule endif # Exported python scripts @@ -71,11 +73,12 @@ endif # Library sources LIB_SRC = SalomePyQt.cxx \ + SALOME_PYQT_GUI.cxx \ $(SIP_SRC) \ $(MOC_SRC) # Library moc sources -LIB_MOC = +LIB_MOC = SALOME_PYQT_GUI.h # Client IDL LIB_CLIENT_IDL = SALOME_Exception.idl SALOME_GenericObj.idl @@ -84,7 +87,8 @@ LIB_CLIENT_IDL = SALOME_Exception.idl SALOME_GenericObj.idl CPPFLAGS += $(QT_INCLUDES) $(PYTHON_INCLUDES) $(SIP_INCLUDES) $(OCC_INCLUDES) $(VTK_INCLUDES) $(OGL_INCLUDES) $(BOOST_CPPFLAGS) -DHAVE_CONFIG_H -I${KERNEL_ROOT_DIR}/include/salome LIBS += $(PYTHON_LIBS) $(SIP_LIBS) $(PYQT_LIBS) $(VTK_LIBS) $(OGL_LIBS) #LDFLAGS += -lsuit -lCAM -lstd -lqtx -lSalomeApp -lEvent -lLogWindow -lVTKViewer -lToolsGUI -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeDS -LDFLAGS += -lVTKViewer -lToolsGUI -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeDS +#_CS_gboLDFLAGS += -lVTKViewer -lToolsGUI -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeDS +LDFLAGS += -lVTKViewer -lToolsGUI -lSalomeDS # Custom build step: generate C++ wrapping according to $(SIP_FILES) $(SIP_SRC): $(SIP_FILES) -- 2.39.2