Salome HOME
bf1c1d9021f2fbf0f7982bcdd5d65edd4f48f5eb
[modules/smesh.git] / src / Controls / Makefile.am
1 # Copyright (C) 2007-2013  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 #  File   : Makefile.in
21 #  Author : Patrick GOLDBRONN (CEA)
22 #  Modified by : Alexander BORODIN (OCN) - autotools usage
23 #  Module : SMESH
24 #
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 # header files 
28 salomeinclude_HEADERS = \
29         SMESH_ControlsDef.hxx
30
31 # Libraries targets
32 lib_LTLIBRARIES = libSMESHControls.la
33
34 dist_libSMESHControls_la_SOURCES = \
35         SMESH_Controls.cxx
36
37 # Executables targets
38 bin_PROGRAMS = SMESHControls
39 dist_SMESHControls_SOURCES = \
40         SMESHControls.cxx
41
42 # additionnal information to compil and link file
43 libSMESHControls_la_CPPFLAGS = \
44         $(CAS_CPPFLAGS) \
45         $(VTK_INCLUDES) \
46         $(BOOST_CPPFLAGS) \
47         $(KERNEL_CXXFLAGS) \
48         -I$(srcdir)/../SMDS \
49         -I$(srcdir)/../SMESHDS \
50         -I$(srcdir)/../SMESHUtils
51
52 libSMESHControls_la_LDFLAGS = \
53         ../SMDS/libSMDS.la \
54         ../SMESHDS/libSMESHDS.la \
55         ../SMESHUtils/libSMESHUtils.la \
56         $(CAS_LDPATH) -lTKernel -lTKBRep -lTKG3d -lTKTopAlgo -lTKGeomBase -lTKGeomAlgo \
57         $(VTK_LIBS) \
58         $(KERNEL_LDFLAGS) -lOpUtil -lSALOMELocalTrace -lSALOMEBasics
59
60 SMESHControls_CPPFLAGS = \
61         $(libSMESHControls_la_CPPFLAGS)
62
63
64 SMESHControls_LDADD = \
65         ../SMDS/libSMDS.la \
66         ../SMESHDS/libSMESHDS.la \
67         libSMESHControls.la \
68         $(KERNEL_LDFLAGS) -lOpUtil -lSALOMELocalTrace -lSALOMEBasics -lSalomeIDLKernel \
69         $(CAS_LDPATH) -lTKernel -lTKBRep -lTKG3d