1 #==============================================================================
3 # Created : ven sep 28 17:32:46 CEST 2001
4 # Author : Nicolas REJNERI
8 #==============================================================================
11 top_srcdir=@top_srcdir@
14 VPATH=.:@srcdir@:@top_srcdir@/idl
20 # PYQT_SIPS defined in make_commence.in
23 # SIP defined in make_commence.in
24 SIP_FLAGS = -t WS_X11 -t Qt_3_0_5 -s ".cc" -c $(CURDIR) -I $(PYQT_SIPS)
29 SIP_FILES = SalomePyQt.sip
31 # SIP-generated C++ source files (corresponding line should be added for each wrapped class
32 # contained by SalomePyQt module)
34 SIP_SRC=$(CURDIR)/SalomePyQtcmodule.cc \
35 $(CURDIR)/sipSalomePyQtSalomePyQt.cc \
36 $(CURDIR)/sipSalomePyQtSALOME_Selection.cc
40 LIB = libSalomePyQtcmodule.la
42 MOC_SRC = sipSalomePyQtProxySalomePyQt_moc.cxx
44 LIB_SRC += SalomePyQt.cxx SALOME_PYQT_GUI.cxx $(SIP_SRC) $(MOC_SRC)
46 #LIB_MOC += sipSalomePyQtProxySalomePyQt.h
48 EXPORT_SHAREDPYSCRIPTS = SalomePyQt.py
50 LIB_CLIENT_IDL = SALOME_Exception.idl
52 CPPFLAGS+=$(QT_INCLUDES) $(PYTHON_INCLUDES) $(SIP_INCLUDES) $(OCC_INCLUDES) $(VTK_INCLUDES) $(OGL_INCLUDES)
53 LIBS+= $(PYTHON_LIBS) $(SIP_LIBS) $(PYQT_LIBS) $(VTK_LIBS) $(OGL_LIBS)
57 # Custom build step: generate C++ wrapping according to $(SIP_FILES)
59 $(SIP_SRC): $(SIP_FILES)
60 $(SIP) $(SIP_FLAGS) $<
62 $(MOC_SRC): sipSalomePyQtProxySalomePyQt.h