Salome HOME
Merge from V6_5_BR 05/06/2012
[samples/atomic.git] / src / ATOMICGUI / Makefile.am
1 # Copyright (C) 2007-2012  CEA/DEN, EDF R&D, 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 include $(top_srcdir)/adm_local/unix/make_common_starter.am
21
22 # Library target
23 lib_LTLIBRARIES = libATOMIC.la
24
25 # Library sources
26 dist_libATOMIC_la_SOURCES =        \
27         ATOMICGUI.h                \
28         ATOMICGUI.cxx              \
29         ATOMICGUI_Data.h           \
30         ATOMICGUI_Data.cxx         \
31         ATOMICGUI_DataObject.h     \
32         ATOMICGUI_DataObject.cxx   \
33         ATOMICGUI_DataModel.h      \
34         ATOMICGUI_DataModel.cxx    \
35         ATOMICGUI_AddAtomDlg.h     \
36         ATOMICGUI_AddAtomDlg.cxx   \
37         ATOMICGUI_Selection.h      \
38         ATOMICGUI_Selection.cxx    \
39         ATOMICGUI_Operation.h      \
40         ATOMICGUI_Operation.cxx    \
41         ATOMICGUI_AddAtomOp.h      \
42         ATOMICGUI_AddAtomOp.cxx    \
43         ATOMICGUI_CreateMolOp.h    \
44         ATOMICGUI_CreateMolOp.cxx  \
45         ATOMICGUI_RenameOp.h       \
46         ATOMICGUI_RenameOp.cxx     \
47         ATOMICGUI_DeleteOp.h       \
48         ATOMICGUI_DeleteOp.cxx     \
49         ATOMICGUI_ImportExportOp.h \
50         ATOMICGUI_ImportExportOp.cxx
51
52 # MOC pre-processing
53 MOC_FILES =                              \
54         ATOMICGUI_moc.cxx                \
55         ATOMICGUI_DataModel_moc.cxx      \
56         ATOMICGUI_AddAtomDlg_moc.cxx     \
57         ATOMICGUI_Operation_moc.cxx      \
58         ATOMICGUI_CreateMolOp_moc.cxx    \
59         ATOMICGUI_DeleteOp_moc.cxx       \
60         ATOMICGUI_RenameOp_moc.cxx       \
61         ATOMICGUI_ImportExportOp_moc.cxx \
62         ATOMICGUI_AddAtomOp_moc.cxx
63
64 nodist_libATOMIC_la_SOURCES = $(MOC_FILES)
65
66 # additionnal compilation flags
67 libATOMIC_la_CPPFLAGS = \
68         $(QT_INCLUDES) \
69         $(VTK_INCLUDES) \
70         $(CAS_CPPFLAGS) \
71         $(PYTHON_INCLUDES) \
72         $(GUI_CXXFLAGS) \
73         -I$(top_builddir)
74
75 # additionnal linkage flags
76 libATOMIC_la_LDFLAGS = \
77         $(GUI_LDFLAGS) \
78         -lLightApp
79
80 # resources files
81 nodist_salomeres_DATA = \
82         ATOMIC_images.qm \
83         ATOMIC_msg_en.qm