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