1 # Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
3 # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 # This library is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU Lesser General Public
8 # License as published by the Free Software Foundation; either
9 # version 2.1 of the License.
11 # This library is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Lesser General Public License for more details.
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this library; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 # Author : Nicolas REJNERI
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
28 ######################
31 lib_LTLIBRARIES = libSalomePyQtGUI.la
33 # extra source files (generated by sip)
34 SIP_SRC = sipAPISalomePyQtGUI.h \
35 sipSalomePyQtGUIcmodule.cc
38 SIP_FILES = SALOME_PYQT_GUI.sip
41 EXTRA_DIST += $(SIP_FILES)
44 CLEANFILES = $(SIP_SRC)
46 # moc files (generated my moc)
47 MOC_FILES = SALOME_PYQT_Module_moc.cxx
49 # exported header files
50 salomeinclude_HEADERS = \
52 SALOME_PYQT_PyInterp.h \
56 dist_libSalomePyQtGUI_la_SOURCES = \
57 SALOME_PYQT_PyInterp.cxx \
58 SALOME_PYQT_Module.cxx
59 nodist_libSalomePyQtGUI_la_SOURCES = $(MOC_FILES) $(SIP_SRC)
62 libSalomePyQtGUI_la_CPPFLAGS = $(QT_INCLUDES) $(SIP_INCLUDES) $(PYTHON_INCLUDES) \
63 $(CAS_CPPFLAGS) $(VTK_INCLUDES) $(OGL_INCLUDES) $(BOOST_CPPFLAGS) \
64 -DHAVE_CONFIG_H @KERNEL_CXXFLAGS@ -DCALL_OLD_METHODS \
65 -I@builddir@ -I$(srcdir)/../../PyInterp -I$(srcdir)/../../SalomeApp \
66 -I$(srcdir)/../../SUIT -I$(srcdir)/../../Qtx -I$(srcdir)/../../LightApp \
67 -I$(srcdir)/../../Plot2d -I$(srcdir)/../../OCCViewer \
68 -I$(srcdir)/../../SalomeApp -I$(srcdir)/../../CAM -I$(srcdir)/../../STD \
69 -I$(top_builddir)/salome_adm/unix @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
72 libSalomePyQtGUI_la_LIBADD = $(PYTHON_LIBS) $(SIP_LIBS) $(PYQT_LIBS) $(VTK_LIBS) \
73 $(OGL_LIBS) ../../PyInterp/libPyInterp.la ../../SalomeApp/libSalomeApp.la \
74 ../../OCCViewer/libOCCViewer.la ../../Plot2d/libPlot2d.la
76 # Custom build step: generate C++ wrapping according to $(SIP_FILES)
77 $(SIP_SRC): $(SIP_FILES)
78 $(SIP) $(PYQT_SIPFLAGS) $<
80 # extra dependency (SALOME_PYQT_Module.cxx depends on header files generated by sip)
81 $(dist_libSalomePyQtGUI_la_SOURCES): $(SIP_SRC)