1 # Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
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.
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.
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
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
24 OBJECTS_DIR = ../../obj/$$TARGET
26 QT_INCLUDES = $$(QTDIR)/include $$(QTDIR)/include/QtCore $$(QTDIR)/include/QtGui $$(QTDIR)/include/QtOpenGL $$(QTDIR)/include/QtXml
28 VTK_INCLUDES = $$(VTKHOME)/include/vtk
31 CAS_CPPFLAGS = $${CASROOT}/inc
33 PYTHON_INCLUDES = $$(PYTHONHOME)/include/python2.4
35 BOOST_CPPFLAGS = $$(BOOSTDIR)/include
37 KERNEL_CXXFLAGS = $$(KERNEL_ROOT_DIR)/include/salome
39 GUI_CXXFLAGS = $$(GUI_ROOT_DIR)/include/salome
41 CORBA_INCLUDES = $$(OMNIORBDIR)/include $$(OMNIORBDIR)/include/omniORB4 $$(OMNIORBDIR)/include/COS
43 KERNEL_LDFLAGS = -L$$(KERNEL_ROOT_DIR)/lib/salome
45 GUI_LDFLAGS = -L$$(GUI_ROOT_DIR)/lib/salome
47 CAS_LDPATH = -L$${CASROOT}/Linux/lib
49 INCLUDEPATH += $${QT_INCLUDES} $${VTK_INCLUDES} $${CAS_CPPFLAGS} $${PYTHON_INCLUDES} $${BOOST_CPPFLAGS} $${KERNEL_CXXFLAGS} $${GUI_CXXFLAGS} $${CORBA_INCLUDES} ../OBJECT ../GEOMClient ../GEOMImpl ../GEOMGUI ../DlgRef $$(GEOM_ROOT_DIR)/idl $$(GEOM_ROOT_DIR)/salome_adm/unix
51 LIBS += -L$$(GEOM_ROOT_DIR)/idl -lSalomeIDLGEOM -L$$(GEOM_ROOT_DIR)/lib -lGEOM -lDlgRef $${KERNEL_LDFLAGS} -lOpUtil $${GUI_LDFLAGS} -lsuit -lOCCViewer -lVTKViewer -lSVTK -lSalomePrs -lSalomeApp -lCAM $${CAS_LDPATH} -lTKPrim
53 CONFIG -= debug release debug_and_release
54 CONFIG += qt thread debug dll shared
56 win32:DEFINES += WIN32
57 DEFINES += GEOMBASE_EXPORTS OCC_VERSION_MAJOR=6 OCC_VERSION_MINOR=1 OCC_VERSION_MAINTENANCE=1 LIN LINTEL CSFDB No_exception HAVE_CONFIG_H HAVE_LIMITS_H HAVE_WOK_CONFIG_H OCC_CONVERT_SIGNALS OMNIORB_VERSION=4 __x86__ __linux__ COMP_CORBA_DOUBLE COMP_CORBA_LONG
60 HEADERS += GEOMBase_Skeleton.h
61 HEADERS += GEOMBase_Helper.h
62 HEADERS += GEOM_Operation.h
63 HEADERS += GEOM_GEOMBase.hxx
65 SOURCES = GEOMBase.cxx
66 SOURCES += GEOMBase_Skeleton.cxx
67 SOURCES += GEOMBase_aParameterDlg.cxx
68 SOURCES += GEOMBase_Helper.cxx
69 SOURCES += GEOM_Operation.cxx
71 includes.files = $$HEADERS
72 includes.path = ../../include