Salome HOME
Mantis issue 0021668: [CEA 564] MED2.1 to MED2.3
[modules/visu.git] / src / CONVERTOR / 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 #  VISU OBJECT : interactive object for VISU entities implementation
20 #  File   : Makefile.am
21 #  Module : VISU
22
23 include $(top_srcdir)/adm_local/unix/make_common_starter.am
24
25 lib_LTLIBRARIES = libVisuConvertor.la
26
27 salomeinclude_HEADERS= \
28         VISU_TypeList.hxx \
29         VISU_VTKTypeList.hxx \
30         VISU_IDMapper.hxx \
31         VISU_ConvertorDef.hxx \
32         VISU_Structures.hxx \
33         VISU_Convertor.hxx \
34         VISU_ConvertorDef_impl.hxx \
35         VISU_Structures_impl.hxx \
36         VISU_MeshValue.hxx \
37         VISU_ElnoMeshValue.hxx \
38         VISU_PointCoords.hxx \
39         VISU_Convertor_impl.hxx \
40         VISU_ConvertorUtils.hxx \
41         VISU_MergeFilter.hxx \
42         VISU_MergeFilterUtilities.hxx \
43         VISU_AppendFilter.hxx \
44         VISU_AppendPolyData.hxx \
45         VISU_AppendFilterUtilities.hxx \
46         VISU_ExtractUnstructuredGrid.hxx \
47         VISU_UsedPointsFilter.hxx \
48         VISU_CommonCellsFilter.hxx \
49         VISUConvertor.hxx \
50         VISU_MedConvertor.hxx \
51         VISU_GaussMergeFilter.hxx \
52         VISU_TableReader.hxx \
53         VISU_Vtk2MedConvertor.hxx
54
55 dist_libVisuConvertor_la_SOURCES= \
56         VISU_IDMapper.cxx \
57         VISU_Structures.cxx \
58         VISU_Convertor.cxx \
59         VISU_Structures_impl.cxx \
60         VISU_MeshValue.cxx \
61         VISU_PointCoords.cxx \
62         VISU_Convertor_impl.cxx \
63         VISU_MedConvertor.cxx \
64         VISU_ConvertorUtils.cxx \
65         VISU_ExtractUnstructuredGrid.cxx \
66         VISU_AppendFilter.cxx \
67         VISU_AppendPolyData.cxx \
68         VISU_AppendFilterUtilities.cxx \
69         VISU_MergeFilter.cxx \
70         VISU_MergeFilterUtilities.cxx \
71         VISU_UsedPointsFilter.cxx \
72         VISU_CommonCellsFilter.cxx \
73         VISU_GaussMergeFilter.cxx \
74         VISU_TableReader.cxx \
75         VISU_Vtk2MedConvertor.cxx
76
77 libVisuConvertor_la_CPPFLAGS= \
78         -ftemplate-depth-32 \
79         $(VTK_INCLUDES) \
80         $(HDF5_INCLUDES) \
81         $(QT_INCLUDES) \
82         @CAS_CPPFLAGS@ \
83         @CAS_CXXFLAGS@ \
84         @KERNEL_CXXFLAGS@ \
85         @MED_CXXFLAGS@ \
86         @GUI_CXXFLAGS@ \
87         $(BOOST_CPPFLAGS) \
88         $(MED_CPPFLAGS)
89
90
91 libVisuConvertor_la_LDFLAGS= \
92         $(MED3_LIBS) \
93         $(BOOST_LIB_THREAD) \
94         $(BOOST_LIB_DATE_TIME) \
95         $(VTK_LIBS) \
96         $(QT_LIBS) \
97         $(KERNEL_LDFLAGS) -lSALOMEBasics \
98         $(CAS_KERNEL) \
99         $(CAS_MATH) \
100         $(MED_LDFLAGS) -lMEDWrapper -lMEDWrapper_V2_2 -lMEDWrapperBase \
101         $(GUI_LDFLAGS) -lVTKViewer
102
103 # Executables targets
104 bin_PROGRAMS= VISUConvertor
105 dist_VISUConvertor_SOURCES= VISUConvertor.cxx
106 VISUConvertor_CPPFLAGS=$(libVisuConvertor_la_CPPFLAGS)
107 VISUConvertor_LDADD=$(libVisuConvertor_la_LDFLAGS) \
108         -lMEDWrapper_V2_2 -lMEDWrapperBase -lMEDWrapper -lVTKViewer -lsuit -lqtx libVisuConvertor.la