Salome HOME
IPAL18573
[modules/geom.git] / src / GEOMBase / Makefile.am
1 # GEOM GEOMBASE : 
2 #
3 # Copyright (C) 2003  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 # File    : Makefile.am
23 # Author  : Alexander BORODIN, Open CASCADE S.A.S. (alexander.borodin@opencascade.com)
24 # Package : GEOMBase
25 #
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 #LIB_CLIENT_IDL = SALOME_Exception.idl \
53 #                SALOMEDS.idl \
54 #                SALOMEDS_Attributes.idl \
55 #                 SALOME_GenericObj.idl \
56 #                SALOME_Component.idl \
57 #                GEOM_Gen.idl
58
59 #LIB_SERVER_IDL = 
60
61 # additionnal information to compil and link file
62
63 libGEOMBase_la_CPPFLAGS =               \
64         $(QT_INCLUDES)                  \
65         $(VTK_INCLUDES)                 \
66         $(CAS_CPPFLAGS)                 \
67         $(PYTHON_INCLUDES)              \
68         $(BOOST_CPPFLAGS)               \
69         $(KERNEL_CXXFLAGS)              \
70         $(GUI_CXXFLAGS)                 \
71         $(CORBA_CXXFLAGS)               \
72         $(CORBA_INCLUDES)               \
73         -I$(srcdir)/../OBJECT           \
74         -I$(srcdir)/../GEOMClient       \
75         -I$(srcdir)/../GEOMImpl         \
76         -I$(srcdir)/../GEOMGUI          \
77         -I$(srcdir)/../DlgRef           \
78         -I$(top_builddir)/src/DlgRef    \
79         -I$(top_builddir)/idl           \
80         -I$(top_builddir)/salome_adm/unix
81
82 libGEOMBase_la_LDFLAGS  =               \
83         ../../idl/libSalomeIDLGEOM.la   \
84         ../GEOMGUI/libGEOM.la           \
85         ../DlgRef/libDlgRef.la          \
86         $(KERNEL_LDFLAGS) -lOpUtil      \
87         $(GUI_LDFLAGS) -lsuit -lOCCViewer -lVTKViewer -lSVTK -lSalomePrs -lSalomeApp -lCAM \
88         $(CAS_LDPATH) -lTKPrim