Salome HOME
54f6e94fb95ee0186928aed40599463bbd750cdc
[modules/geom.git] / src / GEOMGUI / 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 # GEOM GEOMGUI : GUI for Geometry component
21 # File    : Makefile.am
22 # Author  : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
23 # Package : GEOMGUI
24 #
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 # Libraries targets
28 lib_LTLIBRARIES = libGEOM.la
29
30 # header files 
31 salomeinclude_HEADERS =         \
32         GeometryGUI.h           \
33         GeometryGUI_Operations.h\
34         GEOMGUI.h               \
35         GEOM_Displayer.h        \
36         GEOMGUI_OCCSelector.h   \
37         GEOMGUI_Selection.h     \
38         GEOM_GEOMGUI.hxx        \
39         GEOMGUI_CreationInfoWdg.h
40
41 dist_libGEOM_la_SOURCES =       \
42         GeometryGUI.cxx         \
43         GEOMGUI.cxx             \
44         GEOM_Displayer.cxx      \
45         GEOMGUI_OCCSelector.cxx \
46         GEOMGUI_Selection.cxx   \
47         GEOMGUI_CreationInfoWdg.cxx
48
49 MOC_FILES =                     \
50         GEOMGUI_CreationInfoWdg_moc.cxx \
51         GeometryGUI_moc.cxx
52
53 nodist_libGEOM_la_SOURCES =     \
54         $(MOC_FILES)
55
56 # resources files
57 nodist_salomeres_DATA = \
58         GEOM_images.qm  \
59         GEOM_msg_en.qm  \
60         GEOM_msg_fr.qm  \
61         GEOM_msg_ja.qm
62
63 # additional information to compile and link file
64
65 libGEOM_la_CPPFLAGS =                           \
66         $(QT_INCLUDES)                          \
67         $(VTK_INCLUDES)                         \
68         $(CAS_CPPFLAGS)                         \
69         $(PYTHON_INCLUDES)                      \
70         $(BOOST_CPPFLAGS)                       \
71         $(KERNEL_CXXFLAGS)                      \
72         $(GUI_CXXFLAGS)                         \
73         $(CORBA_CXXFLAGS)                       \
74         $(CORBA_INCLUDES)                       \
75         $(OPENCV_INCLUDES)                      \
76         -I$(srcdir)/../OBJECT                   \
77         -I$(srcdir)/../GEOMFiltersSelection     \
78         -I$(srcdir)/../Material                 \
79         -I$(srcdir)/../GEOMClient               \
80         -I$(srcdir)/../GEOMImpl                 \
81         -I$(top_builddir)/idl                   \
82         -I$(top_builddir)
83
84 libGEOM_la_LDFLAGS =                                            \
85         $(PYTHON_LIBS)                                          \
86         ../GEOMFiltersSelection/libGEOMFiltersSelection.la      \
87         ../Material/libMaterial.la                              \
88         ../GEOMClient/libGEOMClient.la                          \
89         ../OBJECT/libGEOMObject.la                              \
90         $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeNS -lSalomeDSClient            \
91         $(GUI_LDFLAGS) -lOCCViewer -lVTKViewer -lCAM -lSOCC -lSVTK -lEvent -lSalomePrs -lstd    \
92         $(OPENCV_LIBS)
93
94 # -lSalomeApp 
95 # -lToolsGUI
96 #       $(CORBA_LIBS) \
97 #       $(STDLIB)