Salome HOME
Fix linkage problem
[modules/smesh.git] / src / OBJECT / 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 #  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         SMESH_SVTKActor.h 
42
43
44 # Libraries targets
45
46 lib_LTLIBRARIES = libSMESHObject.la
47 dist_libSMESHObject_la_SOURCES = \
48         SMESH_Object.cxx \
49         SMESH_DeviceActor.cxx \
50         SMESH_Actor.cxx \
51         SMESH_PreviewActorsCollection.cxx \
52         SMESH_ExtractGeometry.cxx \
53         SMESH_ActorUtils.cxx \
54         SMESH_FaceOrientationFilter.cxx \
55         SMESH_ScalarBarActor.cxx \
56         SMESH_NodeLabelActor.cxx \
57         SMESH_CellLabelActor.cxx \
58         SMESH_SVTKActor.cxx 
59
60 libSMESHObject_la_CPPFLAGS = \
61         $(QT_INCLUDES) \
62         $(KERNEL_CXXFLAGS) \
63         $(GUI_CXXFLAGS) \
64         $(MED_CXXFLAGS) \
65         $(QWT_INCLUDES) \
66         $(GEOM_CXXFLAGS) \
67         $(CAS_CPPFLAGS) \
68         $(VTK_INCLUDES) \
69         $(CORBA_INCLUDES) \
70         $(CORBA_CXXFLAGS) \
71         $(BOOST_CPPFLAGS) \
72         $(QT_INCLUDES) \
73         -I$(srcdir)/../Controls \
74         -I$(srcdir)/../SMDS \
75         -I$(srcdir)/../SMESHDS \
76         -I$(srcdir)/../Driver \
77         -I$(srcdir)/../DriverMED \
78         -I$(srcdir)/../SMESH \
79         -I$(srcdir)/../SMESHClient \
80         -I$(srcdir)/../SMESHUtils \
81         -I$(top_builddir)/idl
82
83 libSMESHObject_la_LDFLAGS  = \
84         ../SMESHClient/libSMESHClient.la \
85         ../SMDS/libSMDS.la \
86         ../Controls/libSMESHControls.la \
87         $(GUI_LDFLAGS) -lSalomeApp -lSalomeObject -lSVTK -lVTKViewer -lqtx -lsuit -lstd \
88         -lPlot2d \
89         -lSPlot2d \
90         $(GEOM_LDFLAGS) -lGEOMObject -lOCC2VTK -lSalomeIDLGEOM \
91         $(CAS_KERNEL) \
92         $(VTK_LIBS) $(QT_MT_LIBS)