~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.1.0/textengines/textengines.pri

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2008-05-26 10:26:31 UTC
  • mfrom: (1.1.3 upstream) (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080526102631-bp95mfccnrb957nx
Tags: 5.1.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# -*- mode: sh -*- ###########################
2
 
# Qwt Widget Library
3
 
# Copyright (C) 1997   Josef Wilgen
4
 
# Copyright (C) 2002   Uwe Rathmann
5
 
#
6
 
# This library is free software; you can redistribute it and/or
7
 
# modify it under the terms of the Qwt License, Version 1.0
8
 
##############################################
9
 
 
10
 
QWT_ROOT = ../..
11
 
 
12
 
include( $${QWT_ROOT}/qwtconfig.pri )
13
 
 
14
 
SUFFIX_STR =
15
 
VVERSION = $$[QT_VERSION]
16
 
isEmpty(VVERSION) {
17
 
 
18
 
    # Qt 3
19
 
    debug {
20
 
        SUFFIX_STR = $${DEBUG_SUFFIX}
21
 
    }
22
 
    else {
23
 
        SUFFIX_STR = $${RELEASE_SUFFIX}
24
 
    }
25
 
}
26
 
else {
27
 
    CONFIG(debug, debug|release) {
28
 
        SUFFIX_STR = $${DEBUG_SUFFIX}
29
 
    }
30
 
    else {
31
 
        SUFFIX_STR = $${RELEASE_SUFFIX}
32
 
    }
33
 
}
34
 
 
35
 
TEMPLATE  = lib
36
 
 
37
 
contains(CONFIG, QwtDll ) {
38
 
    CONFIG += dll
39
 
}
40
 
else {
41
 
    CONFIG += staticlib
42
 
}
43
 
 
44
 
MOC_DIR         = moc
45
 
OBJECTS_DIR     = obj$${SUFFIX_STR}
46
 
DESTDIR         = $${QWT_ROOT}/lib
47
 
INCLUDEPATH    += $${QWT_ROOT}/src
48
 
DEPENDPATH     += $${QWT_ROOT}/src
49
 
 
50
 
QWTLIB       = qwt$${SUFFIX_STR}
51
 
 
52
 
win32 {
53
 
    QwtDll {
54
 
        DEFINES += QT_DLL QWT_DLL QWT_MAKEDLL
55
 
        QWTLIB   = $${QWTLIB}$${VER_MAJ}
56
 
    }
57
 
 
58
 
    QWTLIB = $${QWTLIB}$${VER_MAJ}
59
 
 
60
 
    win32-msvc:LIBS  += $${QWT_ROOT}/lib/$${QWTLIB}.lib
61
 
    win32-msvc.net:LIBS  += $${QWT_ROOT}/lib/$${QWTLIB}.lib
62
 
    win32-msvc2005:LIBS += $${QWT_ROOT}/lib/$${QWTLIB}.lib
63
 
    win32-g++:LIBS   += -L$${QWT_ROOT}/lib -l$${QWTLIB}
64
 
}
65
 
else {
66
 
    LIBS      += -L$${QWT_ROOT}/lib -l$${QWTLIB}
67
 
}
68
 
 
69
 
target.path    = $$INSTALLBASE/lib
70
 
headers.path   = $$INSTALLBASE/include
71
 
doc.path       = $$INSTALLBASE/doc
72
 
 
73
 
headers.files  = $$HEADERS
74
 
INSTALLS       = target headers