Salome HOME
cffb03b224591b8f1fd30ec70756e0e966586edf
[samples/atomsolv.git] / src / ATOMSOLVGUI / Makefile.am
1 # Copyright (C) 2007-2013  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 = libATOMSOLV.la
24
25 # Library sources
26 dist_libATOMSOLV_la_SOURCES = \
27         ATOMSOLVGUI.h \
28         ATOMSOLVGUI.cxx \
29         ATOMSOLVGUI_DataModel.cxx \
30         ATOMSOLVGUI_DataModel.h \
31         ATOMSOLVGUI_DataObject.cxx \
32         ATOMSOLVGUI_DataObject.h \
33         ATOMSOLVGUI_Displayer.cxx \
34         ATOMSOLVGUI_Displayer.h \
35         ATOMSOLVGUI_Selection.cxx \
36         ATOMSOLVGUI_Selection.h \
37         ATOMSOLVGUI_TransparencyDlg.cxx \
38         ATOMSOLVGUI_TransparencyDlg.h
39
40 # MOC pre-processing
41 MOC_FILES = \
42         ATOMSOLVGUI_moc.cxx \
43         ATOMSOLVGUI_TransparencyDlg_moc.cxx
44
45 nodist_libATOMSOLV_la_SOURCES = $(MOC_FILES)
46
47 # additionnal compilation flags
48 libATOMSOLV_la_CPPFLAGS = \
49         $(CAS_CPPFLAGS) \
50         $(BOOST_CPPFLAGS) \
51         -I$(top_builddir) \
52         -I$(top_builddir)/idl \
53         $(KERNEL_CXXFLAGS) \
54         $(GUI_CXXFLAGS) \
55         -I$(ATOMGEN_ROOT_DIR)/include/salome \
56         $(QT_INCLUDES) \
57         $(CORBA_CXXFLAGS) $(CORBA_INCLUDES) \
58         $(VTK_INCLUDES)
59
60         
61 # additionnal linkage flags
62 libATOMSOLV_la_LDFLAGS = \
63         $(GUI_LDFLAGS) -lLightApp \
64         $(VTK_LIBS)
65
66 libATOMSOLV_la_LIBADD = \
67         ../../idl/libATOMSOLVIDL.la $(GUI_LDFLAGS) -lSalomeApp
68
69 #       -L $(ATOMGEN_ROOT_DIR)/lib/salome -lATOMGENIDL
70
71 # resources files
72 nodist_salomeres_DATA = \
73         ATOMSOLV_icons.qm \
74         ATOMSOLV_msg_en.qm