Salome HOME
Merge from V6_main_20120808 08Aug12
[plugins/hexablockplugin.git] / src / HEXABLOCKPlugin / Makefile.am
1 # Copyright (C) 2009-2012  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 : Lioka RAZAFINDRAZAKA (CEA)
22 # Modified by : Alexander BORODIN (OCN) - autotools usage
23 # Module : HEXABLOCKPLUGIN
24 # Date : 2010/11/08
25 #
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27
28 # header files 
29 salomeinclude_HEADERS = \
30        HEXABLOCKPlugin_Defs.hxx \
31        HEXABLOCKPlugin_HEXABLOCK.hxx \
32        HEXABLOCKPlugin_HEXABLOCK_i.hxx \
33        HEXABLOCKPlugin_Hypothesis.hxx \
34        HEXABLOCKPlugin_Hypothesis_i.hxx \
35        HEXABLOCKPlugin_mesh.hxx \
36        HEXABLOCKPlugin_FromSkin_3D.hxx
37
38 # Libraries targets
39 lib_LTLIBRARIES = libHexaBlockEngine.la
40
41 dist_libHexaBlockEngine_la_SOURCES = \
42         HEXABLOCKPlugin_HEXABLOCK.cxx \
43         HEXABLOCKPlugin_HEXABLOCK_i.cxx \
44         HEXABLOCKPlugin_i.cxx \
45         HEXABLOCKPlugin_Hypothesis.cxx \
46         HEXABLOCKPlugin_Hypothesis_i.cxx \
47         HEXABLOCKPlugin_mesh.cxx \
48         HEXABLOCKPlugin_FromSkin_3D.cxx
49
50 libHexaBlockEngine_la_CPPFLAGS =  \
51         $(KERNEL_CXXFLAGS)    \
52         $(CAS_CPPFLAGS)       \
53         $(VTK_INCLUDES)       \
54         $(GEOM_CXXFLAGS)      \
55         $(HEXABLOCK_CXXFLAGS) \
56         $(MED_CXXFLAGS)       \
57         $(SMESH_CXXFLAGS)     \
58         $(BOOST_CPPFLAGS)     \
59         $(CORBA_CXXFLAGS)     \
60         $(CORBA_INCLUDES)     \
61         -I$(top_builddir)/idl
62
63 libHexaBlockEngine_la_LDFLAGS  = \
64         ../../idl/libSalomeIDLHEXABLOCKPLUGIN.la \
65         $(CAS_KERNEL) -lTKBRep -lTKG2d -lTKG3d -lTKTopAlgo -lTKGeomBase -lTKGeomAlgo \
66         $(HEXABLOCK_LDFLAGS) -lHEXABLOCKEngine \
67         $(MED_LDFLAGS) -lSalomeIDLMED \
68         $(SMESH_LDFLAGS) -lSMESHimpl -lSMESHEngine -lSMESHDS -lSMDS \
69         $(KERNEL_LDFLAGS) -lSalomeGenericObj -lSALOMELocalTrace -lSALOMEBasics