Salome HOME
Using AutoTools for build procedure
[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_1D_Algo_i.hxx \
37         SMESH_2D_Algo_i.hxx \
38         SMESH_3D_Algo_i.hxx \
39         SMESH_subMesh_i.hxx \
40         SMESH_Mesh_i.hxx \
41         SMESH_Hypothesis_i.hxx \
42         SMESH_PythonDump.hxx \
43         SMESH.hxx
44
45 # Scripts to be installed.
46 dist_salomescript_DATA= \
47         smeshpy.py
48
49 # Libraries targets
50
51 lib_LTLIBRARIES = libSMESHEngine.la
52
53 dist_libSMESHEngine_la_SOURCES = \
54         SMESH_Gen_i.cxx \
55         SMESH_Gen_i_1.cxx \
56         SMESH_DumpPython.cxx \
57         SMESH_Mesh_i.cxx \
58         SMESH_MEDMesh_i.cxx \
59         SMESH_MEDFamily_i.cxx \
60         SMESH_MEDSupport_i.cxx \
61         SMESH_subMesh_i.cxx \
62         SMESH_MeshEditor_i.cxx \
63         SMESH_Hypothesis_i.cxx \
64         SMESH_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
73 # Executables targets
74 bin_PROGRAMS = SMESHEngine
75
76 dist_SMESHEngine_SOURCES = \
77         SMESHEngine.cxx 
78
79 # additionnal information to compil and link file
80 libSMESHEngine_la_CPPFLAGS = \
81         $(CAS_CPPFLAGS) \
82         $(HDF5_INCLUDES) \
83         $(BOOST_CPPFLAGS) \
84         $(KERNEL_CXXFLAGS) \
85         $(MED_CXXFLAGS) \
86         $(GEOM_CXXFLAGS) \
87         -I$(srcdir)/../Controls \
88         -I$(srcdir)/../SMDS \
89         -I$(srcdir)/../SMESHDS \
90         -I$(srcdir)/../Driver \
91         -I$(srcdir)/../DriverMED \
92         -I$(srcdir)/../SMESH \
93         -I$(top_builddir)/idl \
94         -I$(top_builddir)/salome_adm/unix
95
96
97 libSMESHEngine_la_LDFLAGS  = \
98         ../../idl/libSalomeIDLSMESH.la \
99         ../SMESH/libSMESHimpl.la \
100         ../Controls/libSMESHControls.la \
101         $(KERNEL_LDFLAGS) \
102         -lSalomeContainer \
103         -lSalomeNS \
104         -lRegistry \
105         -lSalomeHDFPersist \
106         -lSalomeLifeCycleCORBA \
107         -lTOOLSDS \
108         -lSalomeGenericObj \
109         $(GEOM_LDFLAGS) \
110         -lGEOMClient \
111         $(OCC_LDPATH) \
112         -lTKCDF \
113         -lTKBO \
114         -lTKShHealing \
115         $(CORBA_LIBS)
116
117
118 SMESHEngine_CPPFLAGS = \
119         $(libSMESHEngine_la_CPPFLAGS)
120
121 SMESHEngine_LDADD = \
122         $(libSMESHEngine_la_LDFLAGS)