1 # Copyright (C) 2003 CEA/DEN, EDF R&D
6 # Author : Nicolas REJNERI
10 top_srcdir=@top_srcdir@
13 VPATH=.:@srcdir@:@top_srcdir@/idl
19 # PYQT_SIPS defined in make_commence.in
22 # SIP defined in make_commence.in
23 SIP_FLAGS = -t WS_X11 -t Qt_3_0_5 -s ".cc" -c $(CURDIR) -I $(PYQT_SIPS)
28 SIP_FILES = SalomePyQt.sip
30 # SIP-generated C++ source files (corresponding line should be added for each wrapped class
31 # contained by SalomePyQt module)
33 SIP_SRC=$(CURDIR)/SalomePyQtcmodule.cc \
34 $(CURDIR)/sipSalomePyQtSalomePyQt.cc \
35 $(CURDIR)/sipSalomePyQtSALOME_Selection.cc
39 LIB = libSalomePyQtcmodule.la
41 MOC_SRC = sipSalomePyQtProxySalomePyQt_moc.cxx
43 LIB_SRC += SalomePyQt.cxx SALOME_PYQT_GUI.cxx $(SIP_SRC) $(MOC_SRC)
45 #LIB_MOC += sipSalomePyQtProxySalomePyQt.h
47 EXPORT_SHAREDPYSCRIPTS = SalomePyQt.py
49 LIB_CLIENT_IDL = SALOME_Exception.idl
51 CPPFLAGS+=$(QT_INCLUDES) $(PYTHON_INCLUDES) $(SIP_INCLUDES) $(OCC_INCLUDES) $(VTK_INCLUDES) $(OGL_INCLUDES)
52 LIBS+= $(PYTHON_LIBS) $(SIP_LIBS) $(PYQT_LIBS) $(VTK_LIBS) $(OGL_LIBS)
53 LDFLAGS+= -lSalomeGUI -lqtcmodule
56 # Custom build step: generate C++ wrapping according to $(SIP_FILES)
58 $(SIP_SRC): $(SIP_FILES)
59 $(SIP) $(SIP_FLAGS) $<
61 $(MOC_SRC): sipSalomePyQtProxySalomePyQt.h