Salome HOME
Merge netgen with BR_V5_DEV branch.
[plugins/netgenplugin.git] / src / NETGENPlugin / 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 # -* Makefile *- 
23 # Author : Edward AGAPOV (OCC)
24 #  Modified by : Alexander BORODIN (OCN) - autotools usage
25 # Module : NETGENPLUGIN
26 # Date : 10/01/2004
27 #
28 include $(top_srcdir)/adm_local/unix/make_common_starter.am
29
30 # header files
31 salomeinclude_HEADERS = \
32         NETGENPlugin_NETGEN_3D.hxx \
33         NETGENPlugin_NETGEN_3D_i.hxx \
34         NETGENPlugin_NETGEN_2D.hxx \
35         NETGENPlugin_NETGEN_2D_i.hxx \
36         NETGENPlugin_NETGEN_2D3D.hxx \
37         NETGENPlugin_NETGEN_2D3D_i.hxx \
38         NETGENPlugin_NETGEN_2D_ONLY.hxx \
39         NETGENPlugin_NETGEN_2D_ONLY_i.hxx \
40         NETGENPlugin_Hypothesis.hxx \
41         NETGENPlugin_Hypothesis_i.hxx \
42         NETGENPlugin_Hypothesis_2D.hxx \
43         NETGENPlugin_Hypothesis_2D_i.hxx \
44         NETGENPlugin_SimpleHypothesis_2D.hxx \
45         NETGENPlugin_SimpleHypothesis_3D.hxx \
46         NETGENPlugin_SimpleHypothesis_2D_i.hxx \
47         NETGENPlugin_SimpleHypothesis_3D_i.hxx \
48         NETGENPlugin_Mesher.hxx \
49         NETGENPlugin_Defs.hxx
50
51 # Libraries targets
52 lib_LTLIBRARIES = libNETGENEngine.la
53
54 dist_libNETGENEngine_la_SOURCES = \
55         NETGENPlugin_NETGEN_3D.cxx \
56         NETGENPlugin_NETGEN_3D_i.cxx \
57         NETGENPlugin_NETGEN_2D.cxx \
58         NETGENPlugin_NETGEN_2D_i.cxx \
59         NETGENPlugin_NETGEN_2D3D.cxx \
60         NETGENPlugin_NETGEN_2D3D_i.cxx \
61         NETGENPlugin_NETGEN_2D_ONLY.cxx \
62         NETGENPlugin_NETGEN_2D_ONLY_i.cxx \
63         NETGENPlugin_Hypothesis.cxx \
64         NETGENPlugin_Hypothesis_i.cxx \
65         NETGENPlugin_Hypothesis_2D.cxx \
66         NETGENPlugin_Hypothesis_2D_i.cxx \
67         NETGENPlugin_Mesher.cxx \
68         NETGENPlugin_SimpleHypothesis_2D.cxx \
69         NETGENPlugin_SimpleHypothesis_3D.cxx \
70         NETGENPlugin_SimpleHypothesis_2D_i.cxx \
71         NETGENPlugin_SimpleHypothesis_3D_i.cxx \
72         NETGENPlugin_i.cxx
73
74 libNETGENEngine_la_CPPFLAGS = \
75         $(KERNEL_CXXFLAGS) \
76         $(GUI_CXXFLAGS) \
77         $(MED_CXXFLAGS) \
78         $(GEOM_CXXFLAGS) \
79         $(CAS_CPPFLAGS) \
80         $(NETGEN_INCLUDES) \
81         $(SMESH_CXXFLAGS) \
82         $(CORBA_CXXFLAGS) \
83         $(CORBA_INCLUDES) \
84         $(BOOST_CPPFLAGS) \
85         -I$(top_builddir)/idl \
86         -I$(top_builddir)/salome_adm/unix
87
88 libNETGENEngine_la_LDFLAGS  = \
89         ../NETGEN/libNETGEN.la \
90         ../../idl/libSalomeIDLNETGENPLUGIN.la \
91         $(SMESH_LDFLAGS) -lSMESHimpl -lSMESHEngine -lStdMeshersEngine \
92         $(KERNEL_LDFLAGS) -lSalomeGenericObj