Salome HOME
Merge from V6_main_20120808 08Aug12
[plugins/netgenplugin.git] / src / NETGENPlugin / Makefile.am
1 # Copyright (C) 2007-2012  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_Hypothesis_3D_i.hxx \
43         NETGENPlugin_Hypothesis_2D_ONLY_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_Hypothesis_3D_i.cxx \
68         NETGENPlugin_Hypothesis_2D_ONLY_i.cxx \
69         NETGENPlugin_Mesher.cxx \
70         NETGENPlugin_SimpleHypothesis_2D.cxx \
71         NETGENPlugin_SimpleHypothesis_3D.cxx \
72         NETGENPlugin_SimpleHypothesis_2D_i.cxx \
73         NETGENPlugin_SimpleHypothesis_3D_i.cxx \
74         NETGENPlugin_i.cxx
75
76 libNETGENEngine_la_CPPFLAGS = \
77         $(KERNEL_CXXFLAGS) \
78         $(GUI_CXXFLAGS) \
79         $(MED_CXXFLAGS) \
80         $(GEOM_CXXFLAGS) \
81         $(CAS_CPPFLAGS) \
82         $(VTK_INCLUDES) \
83         $(NETGEN_INCLUDES) \
84         $(SMESH_CXXFLAGS) \
85         $(CORBA_CXXFLAGS) \
86         $(CORBA_INCLUDES) \
87         $(BOOST_CPPFLAGS) \
88         -I$(top_builddir)/idl
89
90 if ! NETGEN_NEW
91 libNETGENEngine_la_LDFLAGS = ../NETGEN/libNETGEN.la
92 else
93 libNETGENEngine_la_LDFLAGS = $(NETGEN_LIBS)
94 endif
95
96 libNETGENEngine_la_LDFLAGS  += \
97         ../../idl/libSalomeIDLNETGENPLUGIN.la \
98         $(CAS_LDPATH) -lTKernel -lTKBRep -lTKShHealing -lTKSTEP -lTKXSBase -lTKIGES -lTKMesh -lTKSTL -lTKG3d -lTKTopAlgo -lTKG2d -lTKBool -lTKGeomAlgo -lTKOffset -lTKGeomBase -lTKBO \
99                       -lTKMath -lTKFillet -lTKMeshVS -lTKPrim -lTKSTEPBase -lTKSTEPAttr -lTKSTEP209 -lTKXDESTEP -lTKXDEIGES -lTKXCAF -lTKLCAF -lFWOSPlugin \
100         $(GEOM_LDFLAGS) -lGEOMbasic \
101         $(MED_LDFLAGS) -lSalomeIDLMED \
102         $(SMESH_LDFLAGS) -lSMESHimpl -lSMESHEngine -lSMESHUtils -lStdMeshersEngine -lStdMeshers -lSMESHDS -lSMDS -lSMESHControls \
103         $(KERNEL_LDFLAGS) -lSalomeGenericObj -lSalomeNS -lSALOMELocalTrace -lOpUtil
104
105 # Scripts to be installed.
106 dist_salomescript_DATA= NETGENPluginDC.py