1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
# pro file for building the makefile for qwtplot3d
#
QMAKE_CPPFLAGS *= $(shell dpkg-buildflags --get CPPFLAGS)
QMAKE_CFLAGS *= $(shell dpkg-buildflags --get CFLAGS) -D_FORTIFY_SOURCE=2
QMAKE_CXXFLAGS *= $(shell dpkg-buildflags --get CXXFLAGS) -D_FORTIFY_SOURCE=2
QMAKE_LFLAGS *= $(shell dpkg-buildflags --get LDFLAGS)
TARGET = qwtplot3d-qt$$QT_MAJOR_VERSION
# Install directives
INSTALLBASE = /usr
headers.path = $$INSTALLBASE/include/qwtplot3d-qt$$QT_MAJOR_VERSION
headers.files = $$HEADERS
target.path = $$INSTALLBASE/lib
INSTALLS = doc headers target
TEMPLATE = lib
CONFIG += qt warn_on opengl thread zlib debug
MOC_DIR = tmp
OBJECTS_DIR = tmp
INCLUDEPATH = include
DEPENDPATH = include src
DESTDIR = lib
#DESTDIR = ../../../lib
QT += opengl
win32:TEMPLATE = vclib
win32:CONFIG += dll exceptions
win32:dll:DEFINES += QT_DLL QWT3D_DLL QWT3D_MAKEDLL
win32:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_STL
# Comment the next line, if you have zlib on your windows system
win32:CONFIG -= zlib
linux-g++:TMAKE_CXXFLAGS += -fno-exceptions
unix:VERSION = 0.2.7
# Input
SOURCES += src/qwt3d_axis.cpp \
src/qwt3d_color.cpp \
src/qwt3d_coordsys.cpp \
src/qwt3d_drawable.cpp \
src/qwt3d_mousekeyboard.cpp \
src/qwt3d_movements.cpp \
src/qwt3d_lighting.cpp \
src/qwt3d_colorlegend.cpp \
src/qwt3d_plot.cpp \
src/qwt3d_label.cpp \
src/qwt3d_types.cpp \
src/qwt3d_enrichment_std.cpp \
src/qwt3d_autoscaler.cpp \
src/qwt3d_io_reader.cpp \
src/qwt3d_io.cpp \
src/qwt3d_scale.cpp
SOURCES += src/qwt3d_gridmapping.cpp \
src/qwt3d_parametricsurface.cpp \
src/qwt3d_function.cpp
SOURCES += src/qwt3d_surfaceplot.cpp \
src/qwt3d_gridplot.cpp \
src/qwt3d_meshplot.cpp
HEADERS += include/qwt3d_color.h \
include/qwt3d_global.h \
include/qwt3d_types.h \
include/qwt3d_axis.h \
include/qwt3d_coordsys.h \
include/qwt3d_drawable.h \
include/qwt3d_helper.h \
include/qwt3d_label.h \
include/qwt3d_openglhelper.h \
include/qwt3d_colorlegend.h \
include/qwt3d_plot.h \
include/qwt3d_enrichment.h \
include/qwt3d_enrichment_std.h \
include/qwt3d_autoscaler.h \
include/qwt3d_autoptr.h \
include/qwt3d_io.h \
include/qwt3d_io_reader.h \
include/qwt3d_scale.h \
include/qwt3d_portability.h
HEADERS += include/qwt3d_mapping.h \
include/qwt3d_gridmapping.h \
include/qwt3d_parametricsurface.h \
include/qwt3d_function.h
HEADERS += include/qwt3d_surfaceplot.h \
include/qwt3d_volumeplot.h \
include/qwt3d_graphplot.h \
include/qwt3d_multiplot.h
# gl2ps support
HEADERS+=3rdparty/gl2ps/gl2ps.h \
include/qwt3d_io_gl2ps.h
SOURCES+=src/qwt3d_io_gl2ps.cpp \
3rdparty/gl2ps/gl2ps.c
unix:LIBS += -lGLU
# zlib support for gl2ps
zlib {
DEFINES += GL2PS_HAVE_ZLIB
win32:LIBS += zlib.lib
unix:LIBS += -lz
}
|