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