]> SALOME platform Git repositories - modules/yacs.git/blob - src/salomewrap/Makefile.am
Salome HOME
mergefrom branch BR_V511_PR tag mergeto_trunk_03feb09
[modules/yacs.git] / src / salomewrap / Makefile.am
1 #  Copyright (C) 2006-2008  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 include $(top_srcdir)/adm/unix/make_begin.am
20
21 # Libraries targets
22 lib_LTLIBRARIES = libSalomeWrap.la
23
24 dist_libSalomeWrap_la_SOURCES = \
25         SalomeWrap_Module.cxx \
26         SalomeWrap_DataModel.cxx \
27         SuitWrapper.cxx \
28         WrapGraphicsView.cxx
29
30 # MOC pre-processing
31 MOC_FILES = \
32         SalomeWrap_Module_moc.cxx
33
34 nodist_libSalomeWrap_la_SOURCES = $(MOC_FILES)
35
36 libSalomeWrap_la_CXXFLAGS = \
37         $(THREAD_DEF) \
38         $(PYTHON_CPPFLAGS) \
39         $(OMNIORB_INCLUDES) \
40         $(BOOST_CPPFLAGS) \
41         -I$(KERNEL_ROOT_DIR)/include/salome \
42         -I$(GUI_ROOT_DIR)/include/salome \
43         -I$(srcdir)/../bases \
44         -I$(srcdir)/../engine \
45         -I$(srcdir)/../runtime \
46         -I$(srcdir)/../yacsloader \
47         -I$(srcdir)/../hmi \
48         -I$(srcdir)/../genericgui \
49         $(qt4_cppflags)
50
51 #       $(THREAD_DEF) \
52 #       $(PYTHON_CPPFLAGS) \
53 #       $(OMNIORB_INCLUDES) \
54 #       $(LIBXML_INCLUDES) \
55 #       $(BOOST_CPPFLAGS) \
56 #       -I$(KERNEL_ROOT_DIR)/include/salome \
57 #       -I$(GUI_ROOT_DIR)/include/salome \
58 #       $(qt4_cppflags) \
59 #       $(qsci4_cppflags) \
60 #       @GRAPHVIZ_CPPFLAGS@
61
62 libSalomeWrap_la_LDFLAGS  = \
63         -L$(GUI_ROOT_DIR)/lib/salome \
64          $(qt4_ldflags)
65
66 #        @GRAPHVIZ_LDFLAGS@ \
67 #        -L$(GUI_ROOT_DIR)/lib/salome -L$(KERNEL_ROOT_DIR)/lib/salome \
68 #        $(qt4_ldflags)
69
70 libSalomeWrap_la_LIBADD  = \
71         $(qt4_libs) \
72         -lSalomeApp
73
74 # resources files
75
76
77 # --------------------------------------------
78 # *.h --> *_moc.cxx
79 # --------------------------------------------
80
81 SUFFIXES = .hxx _moc.cxx .qrc _qrc.cxx
82
83 .hxx_moc.cxx :
84         $(QT_MOC) -p . -o $@ $<
85
86
87 clean-local-qt :
88         rm -f *_moc.cxx *_qrc.cxx
89
90
91 clean-local: clean-local-qt