Salome HOME
-#if OCC_VERSION_LARGE > 0x06010000
[modules/smesh.git] / src / SMESH_I / 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 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_Filter_i.hxx \
42         SMESH_MeshEditor_i.hxx \
43         SMESH_Pattern_i.hxx \
44         SMESH_2smeshpy.hxx \
45         SMESH_NoteBook.hxx \
46         SMESH_Measurements_i.hxx \
47         SMESH_PreMeshInfo.hxx \
48         SMESH_MeshPartDS.hxx \
49         SMESH.hxx
50
51 # Libraries targets
52
53 lib_LTLIBRARIES = libSMESHEngine.la
54
55 dist_libSMESHEngine_la_SOURCES = \
56         SMESH_Gen_i.cxx \
57         SMESH_Gen_i_1.cxx \
58         SMESH_DumpPython.cxx \
59         SMESH_Mesh_i.cxx \
60         SMESH_subMesh_i.cxx \
61         SMESH_MeshEditor_i.cxx \
62         SMESH_Hypothesis_i.cxx \
63         SMESH_Algo_i.cxx \
64         SMESH_0D_Algo_i.cxx \
65         SMESH_1D_Algo_i.cxx \
66         SMESH_2D_Algo_i.cxx \
67         SMESH_3D_Algo_i.cxx \
68         SMESH_Filter_i.cxx \
69         SMESH_Group_i.cxx \
70         SMESH_Pattern_i.cxx \
71         SMESH_2smeshpy.cxx \
72         SMESH_NoteBook.cxx \
73         SMESH_Measurements_i.cxx \
74         SMESH_PreMeshInfo.cxx
75
76 # Executables targets
77 bin_PROGRAMS = SMESHEngine
78
79 dist_SMESHEngine_SOURCES = \
80         SMESHEngine.cxx 
81
82 # additionnal information to compil and link file
83 libSMESHEngine_la_CPPFLAGS = \
84         $(CORBA_CXXFLAGS) \
85         $(CORBA_INCLUDES) \
86         $(CAS_CPPFLAGS) \
87         @HDF5_INCLUDES@ \
88         $(VTK_INCLUDES) \
89         $(BOOST_CPPFLAGS) \
90         $(KERNEL_CXXFLAGS) \
91         $(GUI_CXXFLAGS) \
92         $(GEOM_CXXFLAGS) \
93         -I$(srcdir)/../Controls \
94         -I$(srcdir)/../SMDS \
95         -I$(srcdir)/../SMESHDS \
96         -I$(srcdir)/../MEDWrapper/Base \
97         -I$(srcdir)/../MEDWrapper/Factory \
98         -I$(srcdir)/../Driver \
99         -I$(srcdir)/../DriverMED \
100         -I$(srcdir)/../DriverCGNS \
101         -I$(srcdir)/../SMESH \
102         -I$(srcdir)/../SMESHUtils \
103         -I$(top_builddir)/idl \
104         -I$(top_builddir)
105
106 libSMESHEngine_la_LDFLAGS  = \
107         ../../idl/libSalomeIDLSMESH.la \
108         ../SMESH/libSMESHimpl.la \
109         ../SMDS/libSMDS.la \
110         ../SMESHDS/libSMESHDS.la \
111         ../Controls/libSMESHControls.la \
112         $(KERNEL_LDFLAGS) \
113         -lOpUtil \
114         -lSalomeNotification \
115         -lResourcesManager \
116         -lSalomeResourcesManager \
117         -lSALOMEBasics \
118         -lSalomeContainer \
119         -lSalomeNS \
120         -lRegistry \
121         -lSalomeHDFPersist \
122         -lSalomeLifeCycleCORBA \
123         -lTOOLSDS \
124         -lSalomeGenericObj \
125         -lSalomeIDLKernel \
126         -lSALOMELocalTrace \
127         $(CAS_LDPATH) \
128         -lTKCDF \
129         -lTKBO \
130         -lTKShHealing \
131         $(GEOM_LDFLAGS) \
132         -lGEOMClient \
133         -lSalomeIDLGEOM
134
135 SMESHEngine_CPPFLAGS = \
136         $(libSMESHEngine_la_CPPFLAGS)
137
138 SMESHEngine_LDADD = \
139         $(libSMESHEngine_la_LDFLAGS)