Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/geom.git] / src / GEOMGUI / 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 # 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         GeometryGUI_Swig.hxx    \
39         GeometryGUI_Swig.i      \
40         GEOM_GEOMGUI.hxx
41
42 dist_libGEOM_la_SOURCES =       \
43         GeometryGUI.cxx         \
44         GEOMGUI.cxx             \
45         GEOM_Displayer.cxx      \
46         GEOMGUI_OCCSelector.cxx \
47         GEOMGUI_Selection.cxx   \
48         GeometryGUI_Swig.cxx
49
50 MOC_FILES =                     \
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
62 # additional information to compile and link file
63
64 libGEOM_la_CPPFLAGS =                           \
65         $(QT_INCLUDES)                          \
66         $(VTK_INCLUDES)                         \
67         $(CAS_CPPFLAGS)                         \
68         $(PYTHON_INCLUDES)                      \
69         $(BOOST_CPPFLAGS)                       \
70         $(KERNEL_CXXFLAGS)                      \
71         $(GUI_CXXFLAGS)                         \
72         $(CORBA_CXXFLAGS)                       \
73         $(CORBA_INCLUDES)                       \
74         $(OPENCV_INCLUDES)                      \
75         -I$(srcdir)/../OBJECT                   \
76         -I$(srcdir)/../GEOMFiltersSelection     \
77         -I$(srcdir)/../Material                 \
78         -I$(srcdir)/../GEOMClient               \
79         -I$(srcdir)/../GEOMImpl                 \
80         -I$(top_builddir)/idl                   \
81         -I$(top_builddir)
82
83 libGEOM_la_LDFLAGS =                                            \
84         $(PYTHON_LIBS)                                          \
85         ../GEOMFiltersSelection/libGEOMFiltersSelection.la      \
86         ../Material/libMaterial.la                              \
87         ../GEOMClient/libGEOMClient.la                          \
88         ../OBJECT/libGEOMObject.la                              \
89         $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeNS -lSalomeDSClient            \
90         $(GUI_LDFLAGS) -lOCCViewer -lVTKViewer -lCAM -lSOCC -lSVTK -lEvent -lSalomePrs -lstd    \
91         $(OPENCV_LIBS)
92
93 # -lSalomeApp 
94 # -lToolsGUI
95 #       $(CORBA_LIBS) \
96 #       $(STDLIB)