Salome HOME
Using AutoTools for build procedure
[modules/smesh.git] / src / Controls / Makefile.am
1 #  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
3
4 #  This library is free software; you can redistribute it and/or 
5 #  modify it under the terms of the GNU Lesser General Public 
6 #  License as published by the Free Software Foundation; either 
7 #  version 2.1 of the License. 
8
9 #  This library is distributed in the hope that it will be useful, 
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 #  Lesser General Public License for more details. 
13
14 #  You should have received a copy of the GNU Lesser General Public 
15 #  License along with this library; if not, write to the Free Software 
16 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
17
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
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         $(BOOST_CPPFLAGS) \
47         $(KERNEL_CXXFLAGS) \
48         -I$(srcdir)/../SMDS
49
50 libSMESHControls_la_LDFLAGS = \
51         ../SMDS/libSMDS.la \
52         $(KERNEL_LDFLAGS) -lOpUtil\
53         $(CAS_LDPATH) -lTKernel -lTKBRep -lTKG3d
54
55 SMESHControls_CPPFLAGS = \
56         $(libSMESHControls_la_CPPFLAGS)
57
58
59 SMESHControls_LDADD = \
60         ../SMDS/libSMDS.la \
61         libSMESHControls.la \
62         $(KERNEL_LDFLAGS) -lOpUtil -lSALOMELocalTrace -lSALOMEBasics \
63         $(CAS_LDPATH) -lTKernel -lTKBRep -lTKG3d