]> SALOME platform Git repositories - modules/yacs.git/blob - src/salomewrap/Makefile.am
Salome HOME
Fix make check with Python 2.7
[modules/yacs.git] / src / salomewrap / Makefile.am
1 # Copyright (C) 2006-2012  CEA/DEN, EDF R&D
2 #
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.
7 #
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.
12 #
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
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 include $(top_srcdir)/adm/unix/make_begin.am
21
22 # Libraries targets
23 lib_LTLIBRARIES = libSalomeWrap.la
24
25 dist_libSalomeWrap_la_SOURCES = \
26         SalomeWrapExport.hxx \
27         SalomeWrap_Module.hxx \
28         SalomeWrap_Module.cxx \
29         SalomeWrap_DataModel.hxx \
30         SalomeWrap_DataModel.cxx \
31         SuitWrapper.hxx \
32         SuitWrapper.cxx \
33         WrapGraphicsView.hxx \
34         WrapGraphicsView.cxx
35
36 # MOC pre-processing
37 MOC_FILES = \
38         SalomeWrap_Module_moc.cxx \
39         WrapGraphicsView_moc.cxx
40
41 nodist_libSalomeWrap_la_SOURCES = $(MOC_FILES)
42
43 libSalomeWrap_la_CXXFLAGS = \
44         $(THREAD_DEF) \
45         $(PYTHON_CPPFLAGS) \
46         $(OMNIORB_CXXFLAGS) $(OMNIORB_INCLUDES) \
47         $(BOOST_CPPFLAGS) \
48         -I$(KERNEL_ROOT_DIR)/include/salome \
49         -I$(GUI_ROOT_DIR)/include/salome \
50         -I$(srcdir)/../bases \
51         $(qt4_cppflags)
52
53 libSalomeWrap_la_LDFLAGS  = \
54         $(KERNEL_LDFLAGS) \
55         -L$(GUI_ROOT_DIR)/lib/salome \
56          $(qt4_ldflags)
57
58 libSalomeWrap_la_LIBADD  = \
59         $(qt4_libs) $(QT_LIBS) $(OMNIORB_LIBS) \
60         ../engine/libYACSlibEngine.la \
61         -lSalomeIDLKernel \
62         -lCAM -lsuit -lLightApp -lqtx -lQxScene -lObjBrowser -lSalomeApp
63
64 # resources files
65
66
67 # --------------------------------------------
68 # *.h --> *_moc.cxx
69 # --------------------------------------------
70
71 SUFFIXES = .hxx _moc.cxx .qrc _qrc.cxx
72
73 .hxx_moc.cxx :
74         $(QT_MOC) -p . -o $@ $<
75
76
77 clean-local-qt :
78         rm -f *_moc.cxx *_qrc.cxx
79
80
81 clean-local: clean-local-qt