Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/kernel.git] / src / SALOME_PYQT / Makefile.in
1 #==============================================================================
2 #  File      : Makefile.in
3 #  Created   : ven sep 28 17:32:46 CEST 2001
4 #  Author    : Nicolas REJNERI
5 #  Project   : SALOME
6 #  Copyright : EDF 2001
7 #  $Header$
8 #==============================================================================
9
10 # source path
11 top_srcdir=@top_srcdir@
12 top_builddir=../..
13 srcdir=@srcdir@
14 VPATH=.:@srcdir@:@top_srcdir@/idl
15
16
17 @COMMENCE@
18
19 # PyQt
20 # PYQT_SIPS defined in make_commence.in
21
22 # SIP C++ Python
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)
25
26
27 # SIP input file(s)
28
29 SIP_FILES = SalomePyQt.sip
30
31 # SIP-generated C++ source files (corresponding line should be added for each wrapped class 
32 # contained by SalomePyQt module)
33
34 SIP_SRC=$(CURDIR)/SalomePyQtcmodule.cc \
35         $(CURDIR)/sipSalomePyQtSalomePyQt.cc \
36         $(CURDIR)/sipSalomePyQtSALOME_Selection.cc
37
38 # Libraries targets
39
40 LIB = libSalomePyQtcmodule.la
41
42 MOC_SRC = sipSalomePyQtProxySalomePyQt_moc.cxx
43
44 LIB_SRC += SalomePyQt.cxx SALOME_PYQT_GUI.cxx $(SIP_SRC) $(MOC_SRC) 
45
46 #LIB_MOC += sipSalomePyQtProxySalomePyQt.h
47
48 EXPORT_SHAREDPYSCRIPTS = SalomePyQt.py
49
50 LIB_CLIENT_IDL = SALOME_Exception.idl
51
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)
54 LDFLAGS+= -lSalomeGUI
55
56
57 # Custom build step: generate C++ wrapping according to $(SIP_FILES)
58
59 $(SIP_SRC): $(SIP_FILES)
60         $(SIP) $(SIP_FLAGS) $<
61
62 $(MOC_SRC): sipSalomePyQtProxySalomePyQt.h
63         $(MOC) $< -o $@
64
65 @CONCLUDE@