1 # Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 # Author : Roman NIKOLAEV Open CASCADE S.A.S. (roman.nikolaev@opencascade.com)
23 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26 lib_LTLIBRARIES = libSalomePyQtGUILight.la
29 # extra source files (generated by sip)
30 SIP_SRC = sipAPISalomePyQtGUILight.h \
31 sipSalomePyQtGUILightcmodule.cc
34 SIP_FILES = SALOME_PYQT_GUILight.sip
37 EXTRA_DIST += $(SIP_FILES)
41 CLEANFILES = $(SIP_SRC)
43 # moc files (generated my moc)
45 SALOME_PYQT_ModuleLight_moc.cxx \
46 SALOME_PYQT_DataModelLight_moc.cxx
49 # exported header files
50 salomeinclude_HEADERS = \
51 SALOME_PYQT_GUILight.h \
52 SALOME_PYQT_ModuleLight.h \
53 SALOME_PYQT_DataObjectLight.h \
54 SALOME_PYQT_DataModelLight.h \
55 SALOME_PYQT_PyInterp.h
58 dist_libSalomePyQtGUILight_la_SOURCES = \
59 SALOME_PYQT_ModuleLight.cxx \
60 SALOME_PYQT_DataObjectLight.cxx \
61 SALOME_PYQT_DataModelLight.cxx \
62 SALOME_PYQT_PyInterp.cxx
64 nodist_libSalomePyQtGUILight_la_SOURCES = $(MOC_FILES) $(SIP_SRC)
67 libSalomePyQtGUILight_la_CPPFLAGS = $(QT_INCLUDES) $(SIP_INCLUDES) $(PYTHON_INCLUDES) \
68 $(CAS_CPPFLAGS) $(VTK_INCLUDES) $(OGL_INCLUDES) $(BOOST_CPPFLAGS) \
69 -DHAVE_CONFIG_H @KERNEL_CXXFLAGS@ -DCALL_OLD_METHODS \
70 -I. -I$(srcdir)/../../PyInterp -I$(srcdir)/../../PyConsole \
71 -I$(srcdir)/../../SUIT -I$(srcdir)/../../Qtx -I$(srcdir)/../../LightApp \
72 -I$(srcdir)/../../Plot2d -I$(srcdir)/../../OCCViewer \
73 -I$(srcdir)/../../CAM -I$(srcdir)/../../STD \
74 -I$(srcdir)/../../SUITApp \
75 -I$(srcdir)/../../CAM -I$(srcdir)/../../STD
78 libSalomePyQtGUILight_la_CPPFLAGS += -I$(srcdir)/../../SalomeApp \
79 @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
84 libSalomePyQtGUILight_la_CPPFLAGS += -DGUI_DISABLE_CORBA
88 libSalomePyQtGUILight_la_LIBADD = $(PYTHON_LIBS) $(SIP_LIBS) $(PYQT_LIBS) $(VTK_LIBS) \
89 $(OGL_LIBS) ../../PyInterp/libPyInterp.la ../../LightApp/libLightApp.la
92 libSalomePyQtGUILight_la_LIBADD +=../../SalomeApp/libSalomeApp.la $(KERNEL_LDFLAGS) -lSalomeContainer
97 # Custom build step: generate C++ wrapping according to $(SIP_FILES)
98 $(SIP_SRC): $(SIP_FILES)
99 $(SIP) $(PYQT_SIPFLAGS) $<
101 # extra dependency (SALOME_PYQT_Module.cxx depends on header files generated by sip)
102 $(dist_libSalomePyQtGUILight_la_SOURCES): $(SIP_SRC)