Salome HOME
Merge from V6_3_BR 06/06/2011
[modules/smesh.git] / src / Controls / Makefile.am
1 # Copyright (C) 2007-2011  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_Controls.hxx \
30         SMESH_ControlsDef.hxx
31
32 # Libraries targets
33 lib_LTLIBRARIES = libSMESHControls.la
34
35 dist_libSMESHControls_la_SOURCES = \
36         SMESH_Controls.cxx
37
38 # Executables targets
39 bin_PROGRAMS = SMESHControls
40 dist_SMESHControls_SOURCES = \
41         SMESHControls.cxx
42
43 # additionnal information to compil and link file
44 libSMESHControls_la_CPPFLAGS = \
45         $(CAS_CPPFLAGS) \
46         $(VTK_INCLUDES) \
47         $(BOOST_CPPFLAGS) \
48         $(KERNEL_CXXFLAGS) \
49         -I$(srcdir)/../SMDS \
50         -I$(srcdir)/../SMESHDS
51
52 libSMESHControls_la_LDFLAGS = \
53         ../SMDS/libSMDS.la \
54         ../SMESHDS/libSMESHDS.la \
55         $(CAS_LDPATH) -lTKernel -lTKBRep -lTKG3d -lTKTopAlgo -lTKGeomBase -lTKGeomAlgo
56
57 SMESHControls_CPPFLAGS = \
58         $(libSMESHControls_la_CPPFLAGS)
59
60
61 SMESHControls_LDADD = \
62         ../SMDS/libSMDS.la \
63         ../SMESHDS/libSMESHDS.la \
64         libSMESHControls.la \
65         $(KERNEL_LDFLAGS) -lOpUtil -lSALOMELocalTrace -lSALOMEBasics \
66         $(GEOM_LDFLAGS) -lGEOMAlgo \
67         $(CAS_LDPATH) -lTKernel -lTKBRep -lTKG3d