Salome HOME
Update copyright
[modules/smesh.git] / src / OBJECT / Makefile.am
1 # Copyright (C) 2007-2011  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
40 # Libraries targets
41
42 lib_LTLIBRARIES = libSMESHObject.la
43 dist_libSMESHObject_la_SOURCES = \
44         SMESH_Object.cxx \
45         SMESH_DeviceActor.cxx \
46         SMESH_Actor.cxx \
47         SMESH_PreviewActorsCollection.cxx \
48         SMESH_ExtractGeometry.cxx \
49         SMESH_ActorUtils.cxx \
50         SMESH_FaceOrientationFilter.cxx \
51         SMESH_ScalarBarActor.cxx
52
53 libSMESHObject_la_CPPFLAGS = \
54         $(QT_INCLUDES) \
55         $(KERNEL_CXXFLAGS) \
56         $(GUI_CXXFLAGS) \
57         $(MED_CXXFLAGS) \
58         $(QWT_INCLUDES) \
59         $(GEOM_CXXFLAGS) \
60         $(CAS_CPPFLAGS) \
61         $(VTK_INCLUDES) \
62         $(CORBA_INCLUDES) \
63         $(CORBA_CXXFLAGS) \
64         $(BOOST_CPPFLAGS) \
65         $(QT_INCLUDES) \
66         -I$(srcdir)/../Controls \
67         -I$(srcdir)/../SMDS \
68         -I$(srcdir)/../SMESHDS \
69         -I$(srcdir)/../Driver \
70         -I$(srcdir)/../DriverMED \
71         -I$(srcdir)/../SMESH \
72         -I$(srcdir)/../SMESHClient \
73         -I$(top_builddir)/idl
74
75 libSMESHObject_la_LDFLAGS  = \
76         ../SMESHClient/libSMESHClient.la \
77         ../SMDS/libSMDS.la \
78         ../Controls/libSMESHControls.la \
79         $(GUI_LDFLAGS) -lSalomeApp -lSalomeObject -lSVTK -lVTKViewer -lqtx -lsuit \
80         $(GEOM_LDFLAGS) -lGEOMObject \
81         $(CAS_KERNEL) \
82         $(VTK_LIBS) $(QT_MT_LIBS)