Tizen 2.1 base
[framework/web/webkit-efl.git] / Source / WTF / WTF.pro
1 # -------------------------------------------------------------------
2 # Project file for WTF
3 #
4 # See 'Tools/qmake/README' for an overview of the build system
5 # -------------------------------------------------------------------
6 TEMPLATE = lib
7 TARGET = WTF
8
9 include(WTF.pri)
10
11 CONFIG += staticlib
12
13 VPATH += $$PWD/wtf
14
15 INCLUDEPATH += $$PWD/wtf
16
17 HEADERS += \
18     Alignment.h \
19     AlwaysInline.h \
20     ArrayBuffer.h \
21     ArrayBufferView.h \
22     ASCIICType.h \
23     Assertions.h \
24     Atomics.h \
25     AVLTree.h \
26     Bitmap.h \
27     BitArray.h \
28     BitVector.h \
29     BloomFilter.h \
30     BoundsCheckedPointer.h \
31     BumpPointerAllocator.h \
32     CheckedArithmetic.h \
33     Compiler.h \
34     CryptographicallyRandomNumber.h \
35     CurrentTime.h \
36     DateMath.h \
37     DecimalNumber.h \
38     Decoder.h \
39     DataLog.h \ 
40     Deque.h \
41     DisallowCType.h \
42     dtoa.h \
43     dtoa/bignum-dtoa.h \
44     dtoa/bignum.h \
45     dtoa/cached-powers.h \
46     dtoa/diy-fp.h \
47     dtoa/double-conversion.h \
48     dtoa/double.h \
49     dtoa/fast-dtoa.h \
50     dtoa/fixed-dtoa.h \
51     dtoa/strtod.h \
52     dtoa/utils.h \
53     DynamicAnnotations.h \
54     Encoder.h \
55     ExportMacros.h \
56     FastAllocBase.h \
57     FastMalloc.h \
58     FixedArray.h \
59     Float32Array.h \
60     Float64Array.h \
61     Forward.h \
62     Functional.h \
63     GetPtr.h \
64     GregorianDateTime.h \
65     HashCountedSet.h \
66     HashFunctions.h \
67     HashIterators.h \
68     HashMap.h \
69     HashSet.h \
70     HashTable.h \
71     HashTraits.h \
72     HexNumber.h \
73     Int16Array.h \
74     Int32Array.h \
75     Int8Array.h \
76     ListHashSet.h \
77     ListRefPtr.h \
78     Locker.h \
79     MainThread.h \
80     MallocZoneSupport.h \
81     MathExtras.h \
82     MD5.h \
83     MediaTime.h \
84     MessageQueue.h \
85     MetaAllocator.h \
86     MetaAllocatorHandle.h \
87     Noncopyable.h \
88     NonCopyingSort.h \
89     NotFound.h \
90     NullPtr.h \
91     NumberOfCores.h \
92     RAMSize.h \
93     OSAllocator.h \
94     OSRandomSource.h \
95     OwnArrayPtr.h \
96     OwnPtr.h \
97     OwnPtrCommon.h \
98     PackedIntVector.h \
99     PageAllocation.h \
100     PageAllocationAligned.h \
101     PageBlock.h \
102     PageReservation.h \
103     ParallelJobs.h \
104     ParallelJobsGeneric.h \
105     ParallelJobsLibdispatch.h \
106     ParallelJobsOpenMP.h \
107     PassOwnArrayPtr.h \
108     PassOwnPtr.h \
109     PassRefPtr.h \
110     PassTraits.h \
111     Platform.h \
112     PossiblyNull.h \
113     qt/UtilsQt.h \
114     RandomNumber.h \
115     RandomNumberSeed.h \
116     RedBlackTree.h \
117     RefCounted.h \
118     RefCountedLeakCounter.h \
119     RefPtr.h \
120     RefPtrHashMap.h \
121     RetainPtr.h \
122     SHA1.h \
123     Spectrum.h \
124     StackBounds.h \
125     StaticConstructors.h \
126     StdLibExtras.h \
127     StringExtras.h \
128     StringHasher.h \
129     TCPackedCache.h \
130     TCSpinLock.h \
131     TCSystemAlloc.h \
132     text/ASCIIFastPath.h \
133     text/AtomicString.h \
134     text/AtomicStringHash.h \
135     text/AtomicStringImpl.h \
136     text/Base64.h \
137     text/CString.h \
138     text/StringBuffer.h \
139     text/StringBuilder.h \
140     text/StringConcatenate.h \
141     text/StringHash.h \
142     text/StringImpl.h \
143     text/StringOperators.h \
144     text/TextPosition.h \
145     text/WTFString.h \
146     Threading.h \
147     ThreadingPrimitives.h \
148     ThreadRestrictionVerifier.h \
149     ThreadSafeRefCounted.h \
150     ThreadSpecific.h \
151     TypeTraits.h \
152     Uint16Array.h \
153     Uint32Array.h \
154     Uint8Array.h \
155     Uint8ClampedArray.h \
156     unicode/CharacterNames.h \
157     unicode/Collator.h \
158     unicode/icu/UnicodeIcu.h \
159     unicode/qt4/UnicodeQt4.h \
160     unicode/ScriptCodesFromICU.h \
161     unicode/Unicode.h \
162     unicode/UnicodeMacrosFromICU.h \
163     unicode/UTF8.h \
164     UnusedParam.h \
165     ValueCheck.h \
166     Vector.h \
167     VectorTraits.h \
168     VMTags.h \
169     WTFThreadData.h
170
171 unix: HEADERS += ThreadIdentifierDataPthreads.h
172
173 SOURCES += \
174     ArrayBuffer.cpp \
175     ArrayBufferView.cpp \
176     Assertions.cpp \
177     BitVector.cpp \
178     CryptographicallyRandomNumber.cpp \
179     CurrentTime.cpp \
180     DateMath.cpp \
181     DataLog.cpp \
182     DecimalNumber.cpp \
183     dtoa.cpp \
184     dtoa/bignum-dtoa.cc \
185     dtoa/bignum.cc \
186     dtoa/cached-powers.cc \
187     dtoa/diy-fp.cc \
188     dtoa/double-conversion.cc \
189     dtoa/fast-dtoa.cc \
190     dtoa/fixed-dtoa.cc \
191     dtoa/strtod.cc \
192     FastMalloc.cpp \
193     gobject/GOwnPtr.cpp \
194     gobject/GRefPtr.cpp \
195     HashTable.cpp \
196     MD5.cpp \
197     MainThread.cpp \
198     MediaTime.cpp \
199     MetaAllocator.cpp \
200     NullPtr.cpp \
201     NumberOfCores.cpp \
202     RAMSize.cpp \
203     OSRandomSource.cpp \
204     qt/MainThreadQt.cpp \
205     qt/StringQt.cpp \
206     PageAllocationAligned.cpp \
207     PageBlock.cpp \
208     ParallelJobsGeneric.cpp \
209     RandomNumber.cpp \
210     RefCountedLeakCounter.cpp \
211     SHA1.cpp \
212     StackBounds.cpp \
213     TCSystemAlloc.cpp \
214     Threading.cpp \
215     TypeTraits.cpp \
216     WTFThreadData.cpp \
217     text/AtomicString.cpp \
218     text/Base64.cpp \
219     text/CString.cpp \
220     text/StringBuilder.cpp \
221     text/StringImpl.cpp \
222     text/StringStatics.cpp \
223     text/WTFString.cpp \
224     unicode/CollatorDefault.cpp \
225     unicode/icu/CollatorICU.cpp \
226     unicode/UTF8.cpp
227
228 unix: SOURCES += \
229     OSAllocatorPosix.cpp \
230     ThreadIdentifierDataPthreads.cpp \
231     ThreadingPthreads.cpp
232
233 win*|wince*: SOURCES += \
234     win/OwnPtrWin.cpp \
235     OSAllocatorWin.cpp \
236     ThreadSpecificWin.cpp \
237     ThreadingWin.cpp
238
239
240 QT += core
241 QT -= gui
242
243 *-g++*:QMAKE_CXXFLAGS_RELEASE -= -O2
244 *-g++*:QMAKE_CXXFLAGS_RELEASE += -O3
245
246 *sh4* {
247     QMAKE_CXXFLAGS += -mieee -w
248     QMAKE_CFLAGS   += -mieee -w
249 }
250
251 *-g++*:lessThan(QT_GCC_MAJOR_VERSION, 5):lessThan(QT_GCC_MINOR_VERSION, 6) {
252     # For GCC 4.5 and before we disable C++0x mode in JSC for if enabled in Qt's mkspec
253     QMAKE_CXXFLAGS -= -std=c++0x -std=gnu++0x -std=c++11 -std=gnu++11
254 }
255