Salome HOME
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
[plugins/ghs3dplugin.git] / src / Makefile.am
1 #  Copyright (C) 2004-2010  CEA/DEN, EDF R&D
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 # -* Makefile *- 
21 # Author : Edward AGAPOV (OCC)
22 # Modified by : Alexander BORODIN (OCN) - autotools usage
23 # Module : GHS3DPLUGIN
24 # Date : 10/01/2004
25 #
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27
28 if GHS3DPLUGIN_ENABLE_GUI
29   SUBDIRS = GUI
30 endif
31
32 DIST_SUBDIRS = GUI
33
34 # header files 
35 salomeinclude_HEADERS = \
36        GHS3DPlugin_Defs.hxx \
37        GHS3DPlugin_GHS3D.hxx \
38        GHS3DPlugin_GHS3D_i.hxx \
39        GHS3DPlugin_Hypothesis.hxx \
40        GHS3DPlugin_Hypothesis_i.hxx
41
42 # Libraries targets
43 lib_LTLIBRARIES = libGHS3DEngine.la
44
45 dist_libGHS3DEngine_la_SOURCES = \
46         GHS3DPlugin_GHS3D.cxx \
47         GHS3DPlugin_GHS3D_i.cxx \
48         GHS3DPlugin_i.cxx \
49         GHS3DPlugin_Hypothesis.cxx \
50         GHS3DPlugin_Hypothesis_i.cxx
51
52 libGHS3DEngine_la_CPPFLAGS =  \
53         $(KERNEL_CXXFLAGS)    \
54         $(CAS_CPPFLAGS)       \
55         $(GEOM_CXXFLAGS)      \
56         $(MED_CXXFLAGS)       \
57         $(SMESH_CXXFLAGS)     \
58         $(VTK_INCLUDES) \
59         $(BOOST_CPPFLAGS)     \
60         $(CORBA_CXXFLAGS)     \
61         $(CORBA_INCLUDES)     \
62         -I$(top_builddir)/idl
63
64 libGHS3DEngine_la_LDFLAGS  = \
65         ../idl/libSalomeIDLGHS3DPLUGIN.la \
66         $(CAS_KERNEL) -lTKBRep -lTKG2d -lTKG3d -lTKTopAlgo -lTKGeomBase -lTKGeomAlgo \
67         $(MED_LDFLAGS) -lSalomeIDLMED \
68         $(SMESH_LDFLAGS) -lSMESHimpl -lSMESHEngine -lSMESHDS -lSMDS -lStdMeshers \
69         $(KERNEL_LDFLAGS) -lSalomeGenericObj -lSALOMELocalTrace -lSALOMEBasics