Salome HOME
Update from BR_V5_DEV 13Feb2009
[modules/gui.git] / src / SPlot2d / SPlot2d.pro
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 TEMPLATE = lib
23 TARGET = SPlot2d
24 DESTDIR = ../../lib
25 MOC_DIR = ../../moc
26 OBJECTS_DIR = ../../obj/$$TARGET
27
28 CASROOT = $$(CASROOT)
29 CAS_CPPFLAGS = $${CASROOT}/inc
30
31 CAS_KERNEL = -L$${CASROOT}/Linux/lib -lTKernel
32
33 QWTHOME=$$(QWTHOME)
34 QWTINC=$${QWTHOME}/include
35 QWTLIB=$${QWTHOME}/lib
36
37 BOOST_CPPFLAGS = $$(BOOSTDIR)/include
38
39 INCLUDEPATH += ../../include $${CAS_CPPFLAGS} ../../include $${QWTINC} $${BOOST_CPPFLAGS}
40 INCLUDEPATH += ../Qtx ../SUIT ../Plot2d ../Prs ../OBJECT
41 unix:LIBS  += -L$${QWTLIB} -lqwt
42 win32:LIBS += /LIBPATH:$$(QWTLIB)
43 LIBS += -L../../lib -lsuit -lPlot2d -lSalomePrs
44
45 CONFIG -= debug release debug_and_release
46 CONFIG += qt thread debug dll shared
47
48 win32:DEFINES += WIN32
49 DEFINES += SPLOT2D_EXPORTS
50
51 HEADERS  = SPlot2d.h
52 HEADERS  = SPlot2d_Curve.h
53 HEADERS  = SPlot2d_Prs.h
54 HEADERS  = SPlot2d_ViewModel.h
55 HEADERS  = SPlot2d_ViewWindow.h
56
57 SOURCES   = SPlot2d_Curve.cxx
58 SOURCES  += SPlot2d_Curve.cxx
59 SOURCES  += SPlot2d_Prs.cxx
60 SOURCES  += SPlot2d_ViewModel.cxx
61 SOURCES  += SPlot2d_ViewWindow.cxx
62
63 includes.files = $$HEADERS
64 includes.path = ../../include
65
66 INSTALLS += includes