Salome HOME
Set dev tag back to 1
[samples/light.git] / src / LIGHTGUI / Makefile.am
1 # Copyright (C) 2005-2012  OPEN CASCADE
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 #  LIGHT : sample (no-corba-engine) SALOME module
21 #  Author : Julia DOROVSKIKH
22 #  Date   : 01/06/2005
23 #  Modified by : Alexander BORODIN (OCN) - autotools usage
24 #
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 # Library target
28 lib_LTLIBRARIES = libLIGHT.la
29
30 # Library sources
31 dist_libLIGHT_la_SOURCES =      \
32         LIGHTGUI.h              \
33         LIGHTGUI_Selection.h    \
34         LIGHTGUI_DataObject.h   \
35         LIGHTGUI_DataModel.h    \
36         LIGHTGUI_TextPrs.hxx    \
37         LIGHTGUI.cxx            \
38         LIGHTGUI_Selection.cxx  \
39         LIGHTGUI_DataObject.cxx \
40         LIGHTGUI_DataModel.cxx  \
41         LIGHTGUI_TextPrs.cxx
42
43 # MOC pre-processing
44 MOC_FILES = \
45         LIGHTGUI_moc.cxx \
46         LIGHTGUI_DataModel_moc.cxx
47
48 nodist_libLIGHT_la_SOURCES = $(MOC_FILES)
49
50 # additionnal compilation flags
51 libLIGHT_la_CPPFLAGS = \
52         $(QT_INCLUDES) \
53         $(VTK_INCLUDES) \
54         $(CAS_CPPFLAGS) \
55         $(PYTHON_INCLUDES) \
56         $(KERNEL_CXXFLAGS) \
57         $(GUI_CXXFLAGS) \
58         -I$(top_builddir)
59
60 # additionnal linkage flags
61 libLIGHT_la_LDFLAGS = \
62         $(GUI_LDFLAGS) \
63         -lLightApp
64
65 # resources files
66 nodist_salomeres_DATA = \
67            LIGHT_images.qm \
68            LIGHT_msg_en.qm \
69            LIGHT_msg_fr.qm