Salome HOME
RNC: EDF 1618 Sketcher improvement for arc creation
[modules/geom.git] / src / GEOMBase / Makefile.am
1 #  Copyright (C) 2007-2010  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 # GEOM GEOMBASE : 
21 # File    : Makefile.am
22 # Author  : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
23 # Package : GEOMBase
24 #
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 # Libraries targets
28 lib_LTLIBRARIES = libGEOMBase.la
29
30 # header files 
31 salomeinclude_HEADERS =         \
32         GEOMBase.h              \
33         GEOMBase_Skeleton.h     \
34         GEOMBase_Helper.h       \
35         GEOM_Operation.h        \
36         GEOM_GEOMBase.hxx
37
38 dist_libGEOMBase_la_SOURCES =           \
39         GEOMBase.cxx                    \
40         GEOMBase_Skeleton.cxx           \
41         GEOMBase_Helper.cxx             \
42         GEOM_Operation.cxx
43
44 MOC_FILES =                             \
45         GEOMBase_Skeleton_moc.cxx
46
47 nodist_libGEOMBase_la_SOURCES = \
48         $(MOC_FILES)
49
50 # additional information to compile and link file
51
52 libGEOMBase_la_CPPFLAGS =               \
53         $(QT_INCLUDES)                  \
54         $(VTK_INCLUDES)                 \
55         $(CAS_CPPFLAGS)                 \
56         $(PYTHON_INCLUDES)              \
57         $(BOOST_CPPFLAGS)               \
58         $(KERNEL_CXXFLAGS)              \
59         $(GUI_CXXFLAGS)                 \
60         $(CORBA_CXXFLAGS)               \
61         $(CORBA_INCLUDES)               \
62         -I$(srcdir)/../OBJECT           \
63         -I$(srcdir)/../GEOMClient       \
64         -I$(srcdir)/../GEOMImpl         \
65         -I$(srcdir)/../GEOMGUI          \
66         -I$(srcdir)/../DlgRef           \
67         -I$(top_builddir)/src/DlgRef    \
68         -I$(top_builddir)/idl
69
70 libGEOMBase_la_LDFLAGS  =               \
71         ../../idl/libSalomeIDLGEOM.la   \
72         ../GEOMGUI/libGEOM.la           \
73         ../DlgRef/libDlgRef.la          \
74         $(KERNEL_LDFLAGS) -lOpUtil      \
75         $(GUI_LDFLAGS) -lsuit -lOCCViewer -lVTKViewer -lSVTK -lSalomePrs -lSalomeApp -lCAM \
76         $(CAS_LDPATH) -lTKPrim