Salome HOME
Dump Python extension
[modules/smesh.git] / src / SMESH_I / Makefile.am
1 #  SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
2 #
3 #  Copyright (C) 2003  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 #
23 #
24 #  File   : Makefile.in
25 #  Author : Paul RASCLE, EDF
26 #  Modified by : Alexander BORODIN (OCN) - autotools usage
27 #  Module : SMESH
28 #  $Header$
29
30 include $(top_srcdir)/adm_local/unix/make_common_starter.am
31
32 # header files 
33 salomeinclude_HEADERS = \
34         SMESH_Gen_i.hxx \
35         SMESH_Algo_i.hxx \
36         SMESH_0D_Algo_i.hxx \
37         SMESH_1D_Algo_i.hxx \
38         SMESH_2D_Algo_i.hxx \
39         SMESH_3D_Algo_i.hxx \
40         SMESH_subMesh_i.hxx \
41         SMESH_Mesh_i.hxx \
42         SMESH_Hypothesis_i.hxx \
43         SMESH_PythonDump.hxx \
44         SMESH_Group_i.hxx \
45         SMESH_MEDMesh_i.hxx \
46         SMESH_Filter_i.hxx \
47         SMESH_MeshEditor_i.hxx \
48         SMESH_MEDFamily_i.hxx \
49         SMESH_MEDSupport_i.hxx \
50         SMESH_Pattern_i.hxx \
51         SMESH_2smeshpy.hxx \
52         SMESH_NoteBook.hxx \
53         SMESH.hxx
54
55 # Scripts to be installed.
56 dist_salomescript_DATA= \
57         smeshpy.py
58
59 # Libraries targets
60
61 lib_LTLIBRARIES = libSMESHEngine.la
62
63 dist_libSMESHEngine_la_SOURCES = \
64         SMESH_Gen_i.cxx \
65         SMESH_Gen_i_1.cxx \
66         SMESH_DumpPython.cxx \
67         SMESH_Mesh_i.cxx \
68         SMESH_MEDMesh_i.cxx \
69         SMESH_MEDFamily_i.cxx \
70         SMESH_MEDSupport_i.cxx \
71         SMESH_subMesh_i.cxx \
72         SMESH_MeshEditor_i.cxx \
73         SMESH_Hypothesis_i.cxx \
74         SMESH_Algo_i.cxx \
75         SMESH_0D_Algo_i.cxx \
76         SMESH_1D_Algo_i.cxx \
77         SMESH_2D_Algo_i.cxx \
78         SMESH_3D_Algo_i.cxx \
79         SMESH_Filter_i.cxx \
80         SMESH_Group_i.cxx \
81         SMESH_Pattern_i.cxx \
82         SMESH_2smeshpy.cxx \
83         SMESH_NoteBook.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         $(BOOST_CPPFLAGS) \
98         $(KERNEL_CXXFLAGS) \
99         $(GUI_CXXFLAGS) \
100         $(MED_CXXFLAGS) \
101         $(GEOM_CXXFLAGS) \
102         -I$(srcdir)/../Controls \
103         -I$(srcdir)/../SMDS \
104         -I$(srcdir)/../SMESHDS \
105         -I$(srcdir)/../Driver \
106         -I$(srcdir)/../DriverMED \
107         -I$(srcdir)/../SMESH \
108         -I$(top_builddir)/idl \
109         -I$(top_builddir)/salome_adm/unix
110
111
112 libSMESHEngine_la_LDFLAGS  = \
113         ../../idl/libSalomeIDLSMESH.la \
114         ../SMESH/libSMESHimpl.la \
115         ../Controls/libSMESHControls.la \
116         $(KERNEL_LDFLAGS) \
117         -lSalomeContainer \
118         -lSalomeNS \
119         -lRegistry \
120         -lSalomeHDFPersist \
121         -lSalomeLifeCycleCORBA \
122         -lTOOLSDS \
123         -lSalomeGenericObj \
124         $(MED_LDFLAGS) \
125         -lMEDWrapper_V2_2 \
126         $(CAS_LDPATH) \
127         -lTKCDF \
128         -lTKBO \
129         -lTKShHealing \
130         $(GEOM_LDFLAGS) \
131         -lGEOMClient
132
133 SMESHEngine_CPPFLAGS = \
134         $(libSMESHEngine_la_CPPFLAGS)
135
136 SMESHEngine_LDADD = \
137         $(libSMESHEngine_la_LDFLAGS)