Salome HOME
Merge from V6_5_BR 05/06/2012
[modules/smesh.git] / src / SMESH_I / 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 SMESH_I : idl implementation based on 'SMESH' unit's calsses
21 #  File   : Makefile.in
22 #  Author : Paul RASCLE, EDF
23 #  Modified by : Alexander BORODIN (OCN) - autotools usage
24 #  Module : SMESH
25 #
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27
28 # header files 
29 salomeinclude_HEADERS = \
30         SMESH_Gen_i.hxx \
31         SMESH_Algo_i.hxx \
32         SMESH_0D_Algo_i.hxx \
33         SMESH_1D_Algo_i.hxx \
34         SMESH_2D_Algo_i.hxx \
35         SMESH_3D_Algo_i.hxx \
36         SMESH_subMesh_i.hxx \
37         SMESH_Mesh_i.hxx \
38         SMESH_Hypothesis_i.hxx \
39         SMESH_PythonDump.hxx \
40         SMESH_Group_i.hxx \
41         SMESH_MEDMesh_i.hxx \
42         SMESH_Filter_i.hxx \
43         SMESH_MeshEditor_i.hxx \
44         SMESH_MEDFamily_i.hxx \
45         SMESH_MEDSupport_i.hxx \
46         SMESH_Pattern_i.hxx \
47         SMESH_2smeshpy.hxx \
48         SMESH_NoteBook.hxx \
49         SMESH_Measurements_i.hxx \
50         SMESH_PreMeshInfo.hxx \
51         SMESH.hxx
52
53 # Scripts to be installed.
54 dist_salomescript_DATA= \
55         smeshpy.py
56
57 # Libraries targets
58
59 lib_LTLIBRARIES = libSMESHEngine.la
60
61 dist_libSMESHEngine_la_SOURCES = \
62         SMESH_Gen_i.cxx \
63         SMESH_Gen_i_1.cxx \
64         SMESH_DumpPython.cxx \
65         SMESH_Mesh_i.cxx \
66         SMESH_MEDMesh_i.cxx \
67         SMESH_MEDFamily_i.cxx \
68         SMESH_MEDSupport_i.cxx \
69         SMESH_subMesh_i.cxx \
70         SMESH_MeshEditor_i.cxx \
71         SMESH_Hypothesis_i.cxx \
72         SMESH_Algo_i.cxx \
73         SMESH_0D_Algo_i.cxx \
74         SMESH_1D_Algo_i.cxx \
75         SMESH_2D_Algo_i.cxx \
76         SMESH_3D_Algo_i.cxx \
77         SMESH_Filter_i.cxx \
78         SMESH_Group_i.cxx \
79         SMESH_Pattern_i.cxx \
80         SMESH_2smeshpy.cxx \
81         SMESH_NoteBook.cxx \
82         SMESH_Measurements_i.cxx \
83         SMESH_PreMeshInfo.cxx
84
85 # Executables targets
86 bin_PROGRAMS = SMESHEngine
87
88 dist_SMESHEngine_SOURCES = \
89         SMESHEngine.cxx 
90
91 # additionnal information to compil and link file
92 libSMESHEngine_la_CPPFLAGS = \
93         $(CORBA_CXXFLAGS) \
94         $(CORBA_INCLUDES) \
95         $(CAS_CPPFLAGS) \
96         @HDF5_INCLUDES@ \
97         $(VTK_INCLUDES) \
98         $(BOOST_CPPFLAGS) \
99         $(KERNEL_CXXFLAGS) \
100         $(GUI_CXXFLAGS) \
101         $(MED_CXXFLAGS) \
102         $(GEOM_CXXFLAGS) \
103         -I$(srcdir)/../Controls \
104         -I$(srcdir)/../SMDS \
105         -I$(srcdir)/../SMESHDS \
106         -I$(srcdir)/../Driver \
107         -I$(srcdir)/../DriverMED \
108         -I$(srcdir)/../DriverCGNS \
109         -I$(srcdir)/../SMESH \
110         -I$(srcdir)/../SMESHUtils \
111         -I$(top_builddir)/idl
112
113 libSMESHEngine_la_LDFLAGS  = \
114         ../../idl/libSalomeIDLSMESH.la \
115         ../SMESH/libSMESHimpl.la \
116         ../SMDS/libSMDS.la \
117         ../SMESHDS/libSMESHDS.la \
118         ../Controls/libSMESHControls.la \
119         $(KERNEL_LDFLAGS) \
120         -lSalomeContainer \
121         -lSalomeNS \
122         -lRegistry \
123         -lSalomeHDFPersist \
124         -lSalomeLifeCycleCORBA \
125         -lTOOLSDS \
126         -lSalomeGenericObj \
127         -lSalomeIDLKernel \
128         -lSALOMELocalTrace \
129         $(MED_LDFLAGS) \
130         -lMEDWrapper \
131         -lMEDWrapper_V2_2 \
132         -lSalomeIDLMED \
133         $(CAS_LDPATH) \
134         -lTKCDF \
135         -lTKBO \
136         -lTKShHealing \
137         $(GEOM_LDFLAGS) \
138         -lGEOMClient \
139         -lSalomeIDLGEOM
140
141 SMESHEngine_CPPFLAGS = \
142         $(libSMESHEngine_la_CPPFLAGS)
143
144 SMESHEngine_LDADD = \
145         $(libSMESHEngine_la_LDFLAGS)