Salome HOME
GEOM porting to CMake
[modules/geom.git] / src / GEOMBase / 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 # 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         GEOM_GenericObjPtr.h
38
39 dist_libGEOMBase_la_SOURCES =           \
40         GEOMBase.cxx                    \
41         GEOMBase_Skeleton.cxx           \
42         GEOMBase_Helper.cxx             \
43         GEOM_Operation.cxx              \
44         GEOM_GenericObjPtr.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         $(OPENCV_INCLUDES)              \
65         -I$(srcdir)/../OBJECT           \
66         -I$(srcdir)/../GEOMClient       \
67         -I$(srcdir)/../GEOMImpl         \
68         -I$(srcdir)/../GEOMGUI          \
69         -I$(srcdir)/../DlgRef           \
70         -I$(top_builddir)/src/DlgRef    \
71         -I$(top_builddir)/idl           
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          \
80         $(OPENCV_LIBS)