Salome HOME
31cb50d27f5889b295cf2979181de257d1be387d
[modules/smesh.git] / src / OBJECT / 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 #  SMESH OBJECT : interactive object for SMESH visualization
21 #  File   : Makefile.in
22 #  Modified by : Alexander BORODIN (OCN) - autotools usage
23 #  Module : SMESH
24 #
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 # header files 
28 salomeinclude_HEADERS = \
29         SMESH_Actor.h \
30         SMESH_Object.h \
31         SMESH_ObjectDef.h \
32         SMESH_ActorUtils.h \
33         SMESH_ActorDef.h \
34         SMESH_DeviceActor.h \
35         SMESH_PreviewActorsCollection.h \
36         SMESH_ExtractGeometry.h \
37         SMESH_FaceOrientationFilter.h \
38         SMESH_ScalarBarActor.h \
39         SMESH_NodeLabelActor.h \
40         SMESH_CellLabelActor.h
41
42 # Libraries targets
43
44 lib_LTLIBRARIES = libSMESHObject.la
45 dist_libSMESHObject_la_SOURCES = \
46         SMESH_Object.cxx \
47         SMESH_DeviceActor.cxx \
48         SMESH_Actor.cxx \
49         SMESH_PreviewActorsCollection.cxx \
50         SMESH_ExtractGeometry.cxx \
51         SMESH_ActorUtils.cxx \
52         SMESH_FaceOrientationFilter.cxx \
53         SMESH_ScalarBarActor.cxx \
54         SMESH_NodeLabelActor.cxx \
55         SMESH_CellLabelActor.cxx 
56
57 libSMESHObject_la_CPPFLAGS = \
58         $(QT_INCLUDES) \
59         $(KERNEL_CXXFLAGS) \
60         $(GUI_CXXFLAGS) \
61         $(MED_CXXFLAGS) \
62         $(QWT_INCLUDES) \
63         $(GEOM_CXXFLAGS) \
64         $(CAS_CPPFLAGS) \
65         $(VTK_INCLUDES) \
66         $(CORBA_INCLUDES) \
67         $(CORBA_CXXFLAGS) \
68         $(BOOST_CPPFLAGS) \
69         $(QT_INCLUDES) \
70         -I$(srcdir)/../Controls \
71         -I$(srcdir)/../SMDS \
72         -I$(srcdir)/../SMESHDS \
73         -I$(srcdir)/../Driver \
74         -I$(srcdir)/../DriverMED \
75         -I$(srcdir)/../SMESH \
76         -I$(srcdir)/../SMESHClient \
77         -I$(srcdir)/../SMESHUtils \
78         -I$(top_builddir)/idl
79
80 libSMESHObject_la_LDFLAGS  = \
81         ../SMESHClient/libSMESHClient.la \
82         ../SMDS/libSMDS.la \
83         ../Controls/libSMESHControls.la \
84         $(GUI_LDFLAGS) -lSalomeApp -lSalomeObject -lSVTK -lVTKViewer -lqtx -lsuit -lstd \
85         -lPlot2d \
86         -lSPlot2d \
87         $(GEOM_LDFLAGS) -lGEOMObject \
88         $(CAS_KERNEL) \
89         $(VTK_LIBS) $(QT_MT_LIBS)