1 # Copyright (C) 2003 CEA/DEN, EDF R&D
6 # Author : Nicolas REJNERI
10 top_srcdir=@top_srcdir@
13 VPATH=.:@srcdir@:@top_srcdir@/idl
17 # small trick for Mandrake-10.1: PyQt 3.13 does not support Qt 3.3.3
18 ifeq ($(QT_VERS),Qt_3_3_3)
23 SIP_FLAGS = -t WS_X11 -t $(QT_VERS) -s ".cc" -c . -I $(PYQT_SIPS)
27 SIP_SRC = sipSalomePyQtGUIcmodule.cc
28 SIP_FILES = SALOME_PYQT_GUI.sip
30 SIP_SRC = SalomePyQtGUIcmodule.cc
31 SIP_FILES = SALOME_PYQT_GUI.sip
34 ######################
37 EXPORT_HEADERS = SALOME_PYQT_GUI.h \
38 SALOME_PYQT_PyInterp.h \
42 LIB = libSalomePyQtGUI.la
45 LIB_SRC = SALOME_PYQT_PyInterp.cxx \
46 SALOME_PYQT_Module.cxx \
50 LIB_MOC = SALOME_PYQT_Module.h
52 LIB_CLIENT_IDL = SALOME_Exception.idl \
53 SALOME_GenericObj.idl \
54 SALOME_ContainerManager.idl \
57 CPPFLAGS += $(QT_INCLUDES) $(PYTHON_INCLUDES) $(SIP_INCLUDES) $(OCC_INCLUDES) $(VTK_INCLUDES) $(OGL_INCLUDES) $(BOOST_CPPFLAGS) -DHAVE_CONFIG_H -I${KERNEL_ROOT_DIR}/include/salome
59 LIBS += $(PYTHON_LIBS) $(SIP_LIBS) $(PYQT_LIBS) $(VTK_LIBS) $(OGL_LIBS)
60 LDFLAGS += -lPyInterp -lSalomeApp
62 ##################################
64 # Custom build step: generate C++ wrapping according to $(SIP_FILES)
66 $(SIP_SRC): $(SIP_FILES)
67 $(SIP) $(SIP_FLAGS) $<
72 ###################################