]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Patch from Paul RASCLE for SALOME_PYQT
authorvsr <vsr@opencascade.com>
Wed, 15 Jun 2005 04:29:10 +0000 (04:29 +0000)
committervsr <vsr@opencascade.com>
Wed, 15 Jun 2005 04:29:10 +0000 (04:29 +0000)
src/SALOME_PYQT/Makefile.in

index 5daa9a94707fa5a2bbe4ac76ada2b717870d8992..bb6fe1b4a2b4995e7ba6a868f4efbd91eb3df6eb 100644 (file)
@@ -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)