Salome HOME
Update from BR_V5_DEV 13Feb2009
[modules/geom.git] / src / GEOMGUI / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 # GEOM GEOMGUI : GUI for Geometry component
23 # File    : Makefile.am
24 # Author  : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
25 # Package : GEOMGUI
26 #
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
28
29 # Libraries targets
30 lib_LTLIBRARIES = libGEOM.la
31
32 # header files 
33 salomeinclude_HEADERS =         \
34         GeometryGUI.h           \
35         GEOMGUI.h               \
36         GEOM_Displayer.h        \
37         GEOMGUI_OCCSelector.h   \
38         GEOMGUI_Selection.h     \
39         GeometryGUI_Swig.hxx    \
40         GeometryGUI_Swig.i      \
41         GEOM_GEOMGUI.hxx
42
43 dist_libGEOM_la_SOURCES =       \
44         GeometryGUI.cxx         \
45         GEOMGUI.cxx             \
46         GEOM_Displayer.cxx      \
47         GEOMGUI_OCCSelector.cxx \
48         GEOMGUI_Selection.cxx   \
49         GeometryGUI_Swig.cxx
50
51 MOC_FILES =                     \
52         GeometryGUI_moc.cxx
53
54 nodist_libGEOM_la_SOURCES =     \
55         $(MOC_FILES)
56
57 # resources files
58 nodist_salomeres_DATA = \
59         GEOM_images.qm  \
60         GEOM_msg_en.qm  \
61         GEOM_msg_fr.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         -I$(srcdir)/../OBJECT                   \
76         -I$(srcdir)/../GEOMFiltersSelection     \
77         -I$(srcdir)/../GEOMClient               \
78         -I$(srcdir)/../GEOMImpl                 \
79         -I$(top_builddir)/idl                   \
80         -I$(top_builddir)/salome_adm/unix
81
82 libGEOM_la_LDFLAGS =                                            \
83         ../GEOMFiltersSelection/libGEOMFiltersSelection.la      \
84         ../GEOMClient/libGEOMClient.la                          \
85         ../OBJECT/libGEOMObject.la                              \
86         $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA                \
87         $(GUI_LDFLAGS) -lOCCViewer -lVTKViewer -lCAM -lSOCC -lSVTK -lEvent
88 # -lSalomeApp 
89 # -lToolsGUI
90 #       $(CORBA_LIBS) \
91 #       $(STDLIB)