]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Poor support for sip 4.2
authoradam <adam>
Fri, 3 Jun 2005 08:19:01 +0000 (08:19 +0000)
committeradam <adam>
Fri, 3 Jun 2005 08:19:01 +0000 (08:19 +0000)
src/SALOME_PYQT/Makefile.in

index a581f99b16690a9646aeb8d20892362361d0a44f..a7bd9f44a726f5915f4462ed7988a293930570da 100644 (file)
@@ -33,6 +33,21 @@ VPATH=.:@srcdir@:@top_srcdir@/idl
 #      $(CURDIR)/sipSalomePyQtSalomePyQt.cc \
 #      $(CURDIR)/sipSalomePyQtSALOME_Selection.cc
 
+ifeq ($(SIP_VERS),v4_2)
+SIP_FLAGS    = -t WS_X11 -t Qt_3_3_0 -s ".cc" -c $(CURDIR) -I $(PYQT_SIPS)
+SIP_SRC=$(CURDIR)/sipSalomePyQtcmodule.cc \
+       $(CURDIR)/sipSalomePyQtSalomePyQt.cc \
+       $(CURDIR)/sipSalomePyQtSALOME_Selection.cc
+# MOC_SRC = sipSalomePyQtcmodule_moc.cxx
+# MOC_H = sipSalomePyQtcmodule.h
+SIP_FILES = SalomePyQt_v4.sip
+#LDFLAGS+= -lSalomeGUI 
+#LDFLAGS+= -lSalomeGUI -module
+LDFLAGS+= -shared -lSalomeGUI
+
+# Libraries targets
+LIB = SalomePyQt.so
+else
 ifeq ($(SIP_VERS),v4_1)
 SIP_FLAGS    = -t WS_X11 -t Qt_3_3_0 -s ".cc" -c $(CURDIR) -I $(PYQT_SIPS)
 SIP_SRC=$(CURDIR)/sipSalomePyQtcmodule.cc \
@@ -78,6 +93,7 @@ LIB = libSalomePyQtcmodule.la
 EXPORT_SHAREDPYSCRIPTS = SalomePyQt.py
 endif
 endif
+endif
 
 LIB_SRC += SalomePyQt.cxx SALOME_PYQT_GUI.cxx $(SIP_SRC) $(MOC_SRC) 
 LIB_MOC = SALOME_PYQT_GUI.h