We now have a current svn snapshot of libqxt in our contrib dir, and
[quassel.git] / src / contrib / libqxt-2007-10-24 / deploy / qt / qxt.prf.m
1                                                             
2                                                                     
3                                                                     
4                                                                                
5
6
7
8
9
10
11
12 #keep the space lines above. nsis needs them, as it can only override bytes
13
14 isEmpty(QXTbase){
15     unix:!macx: QXTbase = /usr/local/Qxt
16     win32:      QXTbase = C:/libqxt
17     macx :
18 }
19
20 isEmpty(QXTinclude): QXTinclude = $${QXTbase}/include/Qxt/
21 isEmpty(QXTbin):     QXTbin     = $${QXTbase}/bin
22
23 macx {
24     isEmpty(QXTlib):     QXTlib = /Library/Frameworks
25 }
26
27 !macx {
28     isEmpty(QXTlib):     QXTlib = $${QXTbase}/lib
29 }
30
31 INCLUDEPATH     += $${QXTinclude}
32 unix:!macx:LIBS += -Wl,-rpath,$${QXTlib}
33 macx:LIBS       += -F$${QXTlib}
34 LIBS            += -L$${QXTlib}
35
36
37 contains(QXT, crypto) {
38     INCLUDEPATH       += $${QXTinclude}/QxtCrypto
39     macx: INCLUDEPATH += $${QXTlib}/QxtCrypto.framework/HEADERS/
40     macx:        LIBS += -framework QxtCrypto
41     unix:!macx:  LIBS += -lQxtCrypto
42     win32:       LIBS += -lQxtCrypto0
43     QXT += core
44 }
45 contains(QXT, curses) {
46     INCLUDEPATH       += $${QXTinclude}/QxtCurses
47     macx: INCLUDEPATH += $${QXTlib}/QxtCurses.framework/HEADERS/
48     macx:        LIBS += -framework QxtCurses
49     unix:!macx:  LIBS += -lQxtCurses
50     win32:       LIBS += -lQxtCurses0
51     QXT += core
52 }
53 contains(QXT, web) {
54     INCLUDEPATH       += $${QXTinclude}/QxtWeb
55     macx: INCLUDEPATH += $${QXTlib}/QxtWeb.framework/HEADERS/
56     macx:        LIBS += -framework QxtWeb
57     unix:!macx:  LIBS += -lQxtWeb
58     win32:       LIBS += -lQxtWeb0
59     QXT += core network
60     QT  += network 
61 }
62 contains(QXT, gui) {
63     INCLUDEPATH       += $${QXTinclude}/QxtGui
64     macx: INCLUDEPATH += $${QXTlib}/QxtGui.framework/HEADERS/
65     macx:        LIBS += -framework QxtGui
66     unix:!macx:  LIBS += -lQxtGui
67     win32:       LIBS += -lQxtGui0
68     QXT += core
69     QT  += gui
70 }
71 contains(QXT, network) {
72     INCLUDEPATH       += $${QXTinclude}/QxtNetwork
73     macx: INCLUDEPATH += $${QXTlib}/QxtNetwork.framework/HEADERS/
74     macx:        LIBS += -framework QxtNetwork
75     unix:!macx:  LIBS += -lQxtNetwork
76     win32:       LIBS += -lQxtNetwork0
77     QXT += core
78     QT  += network
79 }
80 contains(QXT, sql) {
81     INCLUDEPATH       += $${QXTinclude}/QxtSql
82     macx: INCLUDEPATH += $${QXTlib}/QxtSql.framework/HEADERS/
83     macx:        LIBS += -framework QxtSql
84     unix:!macx:  LIBS += -lQxtSql
85     win32:       LIBS += -lQxtSql0
86     QXT += core
87     QT  += sql
88 }
89 contains(QXT, media) {
90     INCLUDEPATH       += $${QXTinclude}/QxtMedia
91     macx: INCLUDEPATH += $${QXTlib}/QxtMedia.framework/HEADERS/
92     macx:        LIBS += -framework QxtMedia
93     unix:!macx:  LIBS += -lQxtMedia
94     win32:       LIBS += -lQxtMedia0
95     QXT += core
96 }
97 contains(QXT, core) {
98     INCLUDEPATH       += $${QXTinclude}/QxtCore
99     macx: INCLUDEPATH += $${QXTlib}/QxtCore.framework/HEADERS/
100     macx:        LIBS += -framework QxtCore
101     unix:!macx:  LIBS += -lQxtCore
102     win32:       LIBS += -lQxtCore0
103 }
104
105