]> SALOME platform Git repositories - plugins/gmshplugin.git/blob - src/GMSHPlugin/Makefile.am
Salome HOME
depot initial V7_2_0
[plugins/gmshplugin.git] / src / GMSHPlugin / Makefile.am
1 # Copyright (C) 2012-2013  ALNEOS
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.alneos.com/ or email : contact@alneos.fr
18 #
19 include $(top_srcdir)/adm_local/unix/make_common_starter.am
20
21 # header files
22 salomeinclude_HEADERS = \
23         GMSHPlugin_GMSH_2D.hxx \
24         GMSHPlugin_GMSH_2D_i.hxx \
25         GMSHPlugin_GMSH.hxx \
26         GMSHPlugin_GMSH_i.hxx \
27         GMSHPlugin_Hypothesis.hxx \
28         GMSHPlugin_Hypothesis_i.hxx \
29         GMSHPlugin_Hypothesis_2D.hxx \
30         GMSHPlugin_Hypothesis_2D_i.hxx \
31         GMSHPlugin_Mesher.hxx \
32         GMSHPlugin_Defs.hxx
33
34 # Libraries targets
35 lib_LTLIBRARIES = libGMSHEngine.la
36
37 dist_libGMSHEngine_la_SOURCES = \
38     GMSHPlugin_GMSH_2D.cxx \
39     GMSHPlugin_GMSH_2D_i.cxx \
40     GMSHPlugin_GMSH.cxx \
41     GMSHPlugin_GMSH_i.cxx \
42     GMSHPlugin_Hypothesis.cxx \
43     GMSHPlugin_Hypothesis_i.cxx \
44     GMSHPlugin_Hypothesis_2D.cxx \
45     GMSHPlugin_Hypothesis_2D_i.cxx \
46     GMSHPlugin_Mesher.cxx \
47     GMSHPlugin_i.cxx
48
49 libGMSHEngine_la_CPPFLAGS = \
50     $(KERNEL_CXXFLAGS) \
51     $(GUI_CXXFLAGS) \
52     $(MED_CXXFLAGS) \
53     $(GEOM_CXXFLAGS) \
54     $(CAS_CPPFLAGS) \
55     $(VTK_INCLUDES) \
56     -I$(GMSHHOME)/include \
57     $(SMESH_CXXFLAGS) \
58     $(CORBA_CXXFLAGS) \
59     $(CORBA_INCLUDES) \
60     $(BOOST_CPPFLAGS) \
61     -I$(top_builddir)/idl
62     
63
64 libGMSHEngine_la_LDFLAGS = -L$(GMSHHOME)/lib -lGmsh
65
66 libGMSHEngine_la_LDFLAGS  += \
67     ../../idl/libSalomeIDLGMSHPLUGIN.la \
68     $(CAS_LDPATH) -lTKernel -lTKBRep -lTKShHealing -lTKSTEP -lTKXSBase -lTKIGES -lTKMesh -lTKSTL -lTKG3d -lTKTopAlgo -lTKG2d -lTKBool -lTKGeomAlgo -lTKOffset -lTKGeomBase -lTKBO \
69                   -lTKMath -lTKFillet -lTKMeshVS -lTKPrim -lTKSTEPBase -lTKSTEPAttr -lTKSTEP209 -lTKXDESTEP -lTKXDEIGES -lTKXCAF -lTKLCAF -lFWOSPlugin \
70     $(GEOM_LDFLAGS) -lGEOMbasic \
71     $(MED_LDFLAGS) -lSalomeIDLMED \
72     $(SMESH_LDFLAGS) -lSMESHimpl -lSMESHEngine -lSMESHUtils -lStdMeshersEngine -lStdMeshers -lSMESHDS -lSMDS -lSMESHControls \
73     $(KERNEL_LDFLAGS) -lSalomeGenericObj -lSalomeNS -lSALOMELocalTrace -lOpUtil
74
75 # Scripts to be installed.
76 mypkgpythondir = $(salomepythondir)/salome/GMSHPlugin
77 mypkgpython_PYTHON = \
78         __init__.py \
79         GMSHPluginBuilder.py