Merge remote-tracking branch 'origin/master' into api_changes
[profile/ivi/qtbase.git] / src / corelib / tools / tools.pri
1 # Qt tools module
2
3 HEADERS +=  \
4         tools/qalgorithms.h \
5         tools/qarraydata.h \
6         tools/qarraydataops.h \
7         tools/qarraydatapointer.h \
8         tools/qbitarray.h \
9         tools/qbytearray.h \
10         tools/qbytearraymatcher.h \
11         tools/qbytedata_p.h \
12         tools/qcache.h \
13         tools/qchar.h \
14         tools/qcontainerfwd.h \
15         tools/qcryptographichash.h \
16         tools/qdatetime.h \
17         tools/qdatetime_p.h \
18         tools/qeasingcurve.h \
19         tools/qfreelist_p.h \
20         tools/qhash.h \
21         tools/qline.h \
22         tools/qlinkedlist.h \
23         tools/qlist.h \
24         tools/qlocale.h \
25         tools/qlocale_p.h \
26         tools/qlocale_tools_p.h \
27         tools/qlocale_data_p.h \
28         tools/qmap.h \
29         tools/qmargins.h \
30         tools/qcontiguouscache.h \
31         tools/qpodlist_p.h \
32         tools/qpair.h \
33         tools/qpoint.h \
34         tools/qqueue.h \
35         tools/qrect.h \
36         tools/qregexp.h \
37         tools/qregularexpression.h \
38         tools/qringbuffer_p.h \
39         tools/qrefcount.h \
40         tools/qscopedpointer.h \
41         tools/qscopedpointer_p.h \
42         tools/qscopedvaluerollback.h \
43         tools/qshareddata.h \
44         tools/qsharedpointer.h \
45         tools/qsharedpointer_impl.h \
46         tools/qset.h \
47         tools/qsimd_p.h \
48         tools/qsize.h \
49         tools/qstack.h \
50         tools/qstring.h \
51         tools/qstringbuilder.h \
52         tools/qstringlist.h \
53         tools/qstringmatcher.h \
54         tools/qtextboundaryfinder.h \
55         tools/qtimeline.h \
56         tools/qelapsedtimer.h \
57         tools/qunicodetables_p.h \
58         tools/qvarlengtharray.h \
59         tools/qvector.h
60
61
62 SOURCES += \
63         tools/qarraydata.cpp \
64         tools/qbitarray.cpp \
65         tools/qbytearray.cpp \
66         tools/qbytearraymatcher.cpp \
67         tools/qcryptographichash.cpp \
68         tools/qdatetime.cpp \
69         tools/qeasingcurve.cpp \
70         tools/qelapsedtimer.cpp \
71         tools/qfreelist.cpp \
72         tools/qhash.cpp \
73         tools/qline.cpp \
74         tools/qlinkedlist.cpp \
75         tools/qlist.cpp \
76         tools/qlocale.cpp \
77         tools/qlocale_tools.cpp \
78         tools/qpoint.cpp \
79         tools/qmap.cpp \
80         tools/qmargins.cpp \
81         tools/qcontiguouscache.cpp \
82         tools/qrect.cpp \
83         tools/qregexp.cpp \
84         tools/qregularexpression.cpp \
85         tools/qrefcount.cpp \
86         tools/qshareddata.cpp \
87         tools/qsharedpointer.cpp \
88         tools/qsimd.cpp \
89         tools/qsize.cpp \
90         tools/qstring.cpp \
91         tools/qstringbuilder.cpp \
92         tools/qstringlist.cpp \
93         tools/qtextboundaryfinder.cpp \
94         tools/qtimeline.cpp \
95         tools/qvector.cpp \
96         tools/qvsnprintf.cpp
97
98 !nacl:mac: {
99     SOURCES += tools/qelapsedtimer_mac.cpp
100     OBJECTIVE_SOURCES += tools/qlocale_mac.mm
101 }
102 else:unix:SOURCES += tools/qelapsedtimer_unix.cpp tools/qlocale_unix.cpp
103 else:win32:SOURCES += tools/qelapsedtimer_win.cpp tools/qlocale_win.cpp
104 else:integrity:SOURCES += tools/qelapsedtimer_unix.cpp tools/qlocale_unix.cpp
105 else:SOURCES += tools/qelapsedtimer_generic.cpp
106
107 contains(QT_CONFIG, zlib):include($$PWD/../../3rdparty/zlib.pri)
108 else:include($$PWD/../../3rdparty/zlib_dependency.pri)
109
110 contains(QT_CONFIG,icu) {
111     SOURCES += tools/qlocale_icu.cpp
112     DEFINES += QT_USE_ICU
113 }
114
115 pcre {
116     include($$PWD/../../3rdparty/pcre.pri)
117 } else {
118     LIBS_PRIVATE += -lpcre16
119 }
120
121 DEFINES += HB_EXPORT=Q_CORE_EXPORT
122 INCLUDEPATH += ../3rdparty/harfbuzz/src
123 HEADERS += ../3rdparty/harfbuzz/src/harfbuzz.h
124 SOURCES += ../3rdparty/harfbuzz/src/harfbuzz-buffer.c \
125            ../3rdparty/harfbuzz/src/harfbuzz-gdef.c \
126            ../3rdparty/harfbuzz/src/harfbuzz-gsub.c \
127            ../3rdparty/harfbuzz/src/harfbuzz-gpos.c \
128            ../3rdparty/harfbuzz/src/harfbuzz-impl.c \
129            ../3rdparty/harfbuzz/src/harfbuzz-open.c \
130            ../3rdparty/harfbuzz/src/harfbuzz-stream.c \
131            ../3rdparty/harfbuzz/src/harfbuzz-shaper-all.cpp \
132            tools/qharfbuzz.cpp
133 HEADERS += tools/qharfbuzz_p.h
134
135 corelib_tools_private_headers.files = ../3rdparty/harfbuzz/src/*.h
136 corelib_tools_private_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET/$$eval(QT.$${MODULE}.VERSION)/$$TARGET
137 INSTALLS += corelib_tools_private_headers
138
139 INCLUDEPATH += ../3rdparty/md5 \
140                ../3rdparty/md4
141
142 # Note: libm should be present by default becaue this is C++
143 !macx-icc:!vxworks:unix:LIBS_PRIVATE += -lm
144