Salome HOME
Merge from V5_1_4_BR (5_1_4rc2) 09/06/2010
[plugins/netgenplugin.git] / src / NETGENPlugin / Makefile.am
1 #  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
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 : NETGENPLUGIN
24 # Date : 10/01/2004
25 #
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27
28 # header files
29 salomeinclude_HEADERS = \
30         NETGENPlugin_NETGEN_3D.hxx \
31         NETGENPlugin_NETGEN_3D_i.hxx \
32         NETGENPlugin_NETGEN_2D.hxx \
33         NETGENPlugin_NETGEN_2D_i.hxx \
34         NETGENPlugin_NETGEN_2D3D.hxx \
35         NETGENPlugin_NETGEN_2D3D_i.hxx \
36         NETGENPlugin_NETGEN_2D_ONLY.hxx \
37         NETGENPlugin_NETGEN_2D_ONLY_i.hxx \
38         NETGENPlugin_Hypothesis.hxx \
39         NETGENPlugin_Hypothesis_i.hxx \
40         NETGENPlugin_Hypothesis_2D.hxx \
41         NETGENPlugin_Hypothesis_2D_i.hxx \
42         NETGENPlugin_SimpleHypothesis_2D.hxx \
43         NETGENPlugin_SimpleHypothesis_3D.hxx \
44         NETGENPlugin_SimpleHypothesis_2D_i.hxx \
45         NETGENPlugin_SimpleHypothesis_3D_i.hxx \
46         NETGENPlugin_Mesher.hxx \
47         NETGENPlugin_Defs.hxx
48
49 # Libraries targets
50 lib_LTLIBRARIES = libNETGENEngine.la
51
52 dist_libNETGENEngine_la_SOURCES = \
53         NETGENPlugin_NETGEN_3D.cxx \
54         NETGENPlugin_NETGEN_3D_i.cxx \
55         NETGENPlugin_NETGEN_2D.cxx \
56         NETGENPlugin_NETGEN_2D_i.cxx \
57         NETGENPlugin_NETGEN_2D3D.cxx \
58         NETGENPlugin_NETGEN_2D3D_i.cxx \
59         NETGENPlugin_NETGEN_2D_ONLY.cxx \
60         NETGENPlugin_NETGEN_2D_ONLY_i.cxx \
61         NETGENPlugin_Hypothesis.cxx \
62         NETGENPlugin_Hypothesis_i.cxx \
63         NETGENPlugin_Hypothesis_2D.cxx \
64         NETGENPlugin_Hypothesis_2D_i.cxx \
65         NETGENPlugin_Mesher.cxx \
66         NETGENPlugin_SimpleHypothesis_2D.cxx \
67         NETGENPlugin_SimpleHypothesis_3D.cxx \
68         NETGENPlugin_SimpleHypothesis_2D_i.cxx \
69         NETGENPlugin_SimpleHypothesis_3D_i.cxx \
70         NETGENPlugin_i.cxx
71
72 libNETGENEngine_la_CPPFLAGS = \
73         $(KERNEL_CXXFLAGS) \
74         $(GUI_CXXFLAGS) \
75         $(MED_CXXFLAGS) \
76         $(GEOM_CXXFLAGS) \
77         $(CAS_CPPFLAGS) \
78         $(NETGEN_INCLUDES) \
79         $(SMESH_CXXFLAGS) \
80         $(CORBA_CXXFLAGS) \
81         $(CORBA_INCLUDES) \
82         $(BOOST_CPPFLAGS) \
83         -I$(top_builddir)/idl
84
85 if ! NETGEN_NEW
86 libNETGENEngine_la_LDFLAGS = ../NETGEN/libNETGEN.la
87 else
88 libNETGENEngine_la_LDFLAGS = $(NETGEN_LIBS)
89 endif
90
91 libNETGENEngine_la_LDFLAGS  += \
92         ../../idl/libSalomeIDLNETGENPLUGIN.la \
93         $(CAS_LDPATH) -lTKernel -lTKBRep -lTKShHealing -lTKSTEP -lTKXSBase -lTKIGES -lTKMesh -lTKSTL -lTKG3d -lTKTopAlgo -lTKG2d -lTKBool -lTKGeomAlgo -lTKOffset -lTKGeomBase -lTKBO \
94                       -lTKMath -lTKFillet -lTKMeshVS -lTKPrim -lTKSTEPBase -lTKSTEPAttr -lTKSTEP209 -lTKXDESTEP -lTKXDEIGES -lTKXCAF -lTKLCAF -lFWOSPlugin \
95         $(GEOM_LDFLAGS) -lGEOMbasic \
96         $(MED_LDFLAGS) -lSalomeIDLMED \
97         $(SMESH_LDFLAGS) -lSMESHimpl -lSMESHEngine -lStdMeshersEngine -lStdMeshers -lSMESHDS -lSMDS -lSMESHControls \
98         $(KERNEL_LDFLAGS) -lSalomeGenericObj -lSalomeNS -lSALOMELocalTrace -lOpUtil