Salome HOME
Update from BR_V5_DEV 13Feb2009
[modules/geom.git] / src / GEOMBase / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 # GEOM GEOMBASE : 
23 # File    : Makefile.am
24 # Author  : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
25 # Package : GEOMBase
26 #
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
28
29 # Libraries targets
30 lib_LTLIBRARIES = libGEOMBase.la
31
32 # header files 
33 salomeinclude_HEADERS =         \
34         GEOMBase.h              \
35         GEOMBase_Skeleton.h     \
36         GEOMBase_Helper.h       \
37         GEOM_Operation.h        \
38         GEOM_GEOMBase.hxx
39
40 dist_libGEOMBase_la_SOURCES =           \
41         GEOMBase.cxx                    \
42         GEOMBase_Skeleton.cxx           \
43         GEOMBase_Helper.cxx             \
44         GEOM_Operation.cxx
45
46 MOC_FILES =                             \
47         GEOMBase_Skeleton_moc.cxx
48
49 nodist_libGEOMBase_la_SOURCES = \
50         $(MOC_FILES)
51
52 # additional information to compile and link file
53
54 libGEOMBase_la_CPPFLAGS =               \
55         $(QT_INCLUDES)                  \
56         $(VTK_INCLUDES)                 \
57         $(CAS_CPPFLAGS)                 \
58         $(PYTHON_INCLUDES)              \
59         $(BOOST_CPPFLAGS)               \
60         $(KERNEL_CXXFLAGS)              \
61         $(GUI_CXXFLAGS)                 \
62         $(CORBA_CXXFLAGS)               \
63         $(CORBA_INCLUDES)               \
64         -I$(srcdir)/../OBJECT           \
65         -I$(srcdir)/../GEOMClient       \
66         -I$(srcdir)/../GEOMImpl         \
67         -I$(srcdir)/../GEOMGUI          \
68         -I$(srcdir)/../DlgRef           \
69         -I$(top_builddir)/src/DlgRef    \
70         -I$(top_builddir)/idl           \
71         -I$(top_builddir)/salome_adm/unix
72
73 libGEOMBase_la_LDFLAGS  =               \
74         ../../idl/libSalomeIDLGEOM.la   \
75         ../GEOMGUI/libGEOM.la           \
76         ../DlgRef/libDlgRef.la          \
77         $(KERNEL_LDFLAGS) -lOpUtil      \
78         $(GUI_LDFLAGS) -lsuit -lOCCViewer -lVTKViewer -lSVTK -lSalomePrs -lSalomeApp -lCAM \
79         $(CAS_LDPATH) -lTKPrim