SIP_FLAGS = -t WS_X11 -t $(QT_VERS) -s ".cc" -c . -I $(PYQT_SIPS)
# Sip sources
-ifeq ($(SIP_VERS),v4)
+ifeq ($(SIP_VERS),v4_old)
+SIP_SRC = sipSalomePyQtGUIcmodule.cc
+SIP_FILES = SALOME_PYQT_GUI.sip
+else
+ifeq ($(SIP_VERS),v4_new)
SIP_SRC = sipSalomePyQtGUIcmodule.cc
SIP_FILES = SALOME_PYQT_GUI.sip
else
SIP_SRC = SalomePyQtGUIcmodule.cc
SIP_FILES = SALOME_PYQT_GUI.sip
endif
+endif
######################
sipSalomePyQtSALOME_Selection.cc
# Sip version-specific sources
-ifeq ($(SIP_VERS),v4)
+ifeq ($(SIP_VERS),v4_old)
+SIP_SRC += sipSalomePyQtcmodule.cc
+else
+ifeq ($(SIP_VERS),v4_new)
SIP_SRC += sipSalomePyQtcmodule.cc
else
SIP_SRC += SalomePyQtcmodule.cc
endif
+endif
# Sip/moc sources
-ifeq ($(SIP_VERS),v4)
+ifeq ($(SIP_VERS),v4_old)
MOC_SRC = sipSalomePyQtcmodule_moc.cxx
MOC_H = sipSalomePyQtcmodule.h
else
MOC_SRC = SalomePyQtcmodule_moc.cxx
MOC_H = SalomePyQtcmodule.h
else
+ifeq ($(SIP_VERS),v3_old)
MOC_SRC = sipSalomePyQtProxySalomePyQt_moc.cxx
MOC_H = sipSalomePyQtProxySalomePyQt.h
endif
endif
+endif
# Sip definition files
-ifeq ($(SIP_VERS),v4)
+ifeq ($(SIP_VERS),v4_old)
+SIP_FILES = SalomePyQt_v4.sip
+else
+ifeq ($(SIP_VERS),v4_new)
SIP_FILES = SalomePyQt_v4.sip
else
SIP_FILES = SalomePyQt.sip
endif
+endif
# Libraries targets
-ifeq ($(SIP_VERS),v4)
+ifeq ($(SIP_VERS),v4_old)
+LIB = SalomePyQt.so
+else
+ifeq ($(SIP_VERS),v4_new)
LIB = SalomePyQt.so
else
LIB = libSalomePyQtcmodule.la
endif
+endif
# Exported python scripts
-ifneq ($(SIP_VERS),v4)
+ifeq ($(SIP_VERS),v3_old)
EXPORT_SHAREDPYSCRIPTS = SalomePyQt.py
+else
+ifeq ($(SIP_VERS),v3_new)
+EXPORT_SHAREDPYSCRIPTS = SalomePyQt.py
+endif
endif
# Library sources