Salome HOME
correct previous integration (Porting to Python 2.6)
[modules/smesh.git] / src / SMESH_I / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 #  SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
23 #  File   : Makefile.in
24 #  Author : Paul RASCLE, EDF
25 #  Modified by : Alexander BORODIN (OCN) - autotools usage
26 #  Module : SMESH
27 #
28 include $(top_srcdir)/adm_local/unix/make_common_starter.am
29
30 # header files 
31 salomeinclude_HEADERS = \
32         SMESH_Gen_i.hxx \
33         SMESH_Algo_i.hxx \
34         SMESH_0D_Algo_i.hxx \
35         SMESH_1D_Algo_i.hxx \
36         SMESH_2D_Algo_i.hxx \
37         SMESH_3D_Algo_i.hxx \
38         SMESH_subMesh_i.hxx \
39         SMESH_Mesh_i.hxx \
40         SMESH_Hypothesis_i.hxx \
41         SMESH_PythonDump.hxx \
42         SMESH_Group_i.hxx \
43         SMESH_MEDMesh_i.hxx \
44         SMESH_Filter_i.hxx \
45         SMESH_MeshEditor_i.hxx \
46         SMESH_MEDFamily_i.hxx \
47         SMESH_MEDSupport_i.hxx \
48         SMESH_Pattern_i.hxx \
49         SMESH_2smeshpy.hxx \
50         SMESH_NoteBook.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
83 # Executables targets
84 bin_PROGRAMS = SMESHEngine
85
86 dist_SMESHEngine_SOURCES = \
87         SMESHEngine.cxx 
88
89 # additionnal information to compil and link file
90 libSMESHEngine_la_CPPFLAGS = \
91         $(CORBA_CXXFLAGS) \
92         $(CORBA_INCLUDES) \
93         $(CAS_CPPFLAGS) \
94         @HDF5_INCLUDES@ \
95         $(BOOST_CPPFLAGS) \
96         $(KERNEL_CXXFLAGS) \
97         $(GUI_CXXFLAGS) \
98         $(MED_CXXFLAGS) \
99         $(GEOM_CXXFLAGS) \
100         -I$(srcdir)/../Controls \
101         -I$(srcdir)/../SMDS \
102         -I$(srcdir)/../SMESHDS \
103         -I$(srcdir)/../Driver \
104         -I$(srcdir)/../DriverMED \
105         -I$(srcdir)/../SMESH \
106         -I$(top_builddir)/idl
107
108 libSMESHEngine_la_LDFLAGS  = \
109         ../../idl/libSalomeIDLSMESH.la \
110         ../SMESH/libSMESHimpl.la \
111         ../Controls/libSMESHControls.la \
112         $(KERNEL_LDFLAGS) \
113         -lSalomeContainer \
114         -lSalomeNS \
115         -lRegistry \
116         -lSalomeHDFPersist \
117         -lSalomeLifeCycleCORBA \
118         -lTOOLSDS \
119         -lSalomeGenericObj \
120         $(MED_LDFLAGS) \
121         -lMEDWrapper_V2_2 \
122         -lSalomeIDLMED \
123         $(CAS_LDPATH) \
124         -lTKCDF \
125         -lTKBO \
126         -lTKShHealing \
127         $(GEOM_LDFLAGS) \
128         -lGEOMClient
129
130 SMESHEngine_CPPFLAGS = \
131         $(libSMESHEngine_la_CPPFLAGS)
132
133 SMESHEngine_LDADD = \
134         $(libSMESHEngine_la_LDFLAGS)