Fix case of ThreadWheelTimekeeper.cpp in Makefile.am
[folly.git] / folly / Makefile.am
1 SUBDIRS = . test
2
3 ACLOCAL_AMFLAGS = -I m4
4
5 CLEANFILES =
6
7 noinst_PROGRAMS = generate_fingerprint_tables
8 generate_fingerprint_tables_SOURCES = build/GenerateFingerprintTables.cpp
9 generate_fingerprint_tables_LDADD = libfollybase.la
10
11 noinst_LTLIBRARIES = \
12         libfollybase.la
13
14 lib_LTLIBRARIES = \
15         libfolly.la \
16         libfollybenchmark.la
17
18 follyincludedir = $(includedir)/folly
19
20 nobase_follyinclude_HEADERS = \
21         ApplyTuple.h \
22         Arena.h \
23         Arena-inl.h \
24         AtomicBitSet.h \
25         AtomicHashArray.h \
26         AtomicHashArray-inl.h \
27         AtomicHashMap.h \
28         AtomicHashMap-inl.h \
29         AtomicStruct.h \
30         Baton.h \
31         Benchmark.h \
32         Bits.h \
33         Checksum.h \
34         Chrono.h \
35         ConcurrentSkipList.h \
36         ConcurrentSkipList-inl.h \
37         Conv.h \
38         CpuId.h \
39         CPortability.h \
40         detail/AtomicHashUtils.h \
41         detail/BitIteratorDetail.h \
42         detail/BitsDetail.h \
43         detail/CacheLocality.h \
44         detail/ChecksumDetail.h \
45         detail/Clock.h \
46         detail/DiscriminatedPtrDetail.h \
47         detail/ExceptionWrapper.h \
48         detail/FileUtilDetail.h \
49         detail/FingerprintPolynomial.h \
50         detail/FunctionalExcept.h \
51         detail/Futex.h \
52         detail/GroupVarintDetail.h \
53         detail/IPAddress.h \
54         detail/Malloc.h \
55         detail/MemoryIdler.h \
56         detail/MPMCPipelineDetail.h \
57         detail/SlowFingerprint.h \
58         detail/SpinLockImpl.h \
59         detail/Stats.h \
60         detail/ThreadLocalDetail.h \
61         detail/UncaughtExceptionCounter.h \
62         Demangle.h \
63         DiscriminatedPtr.h \
64         DynamicConverter.h \
65         dynamic.h \
66         dynamic-inl.h \
67         Exception.h \
68         ExceptionWrapper.h \
69         Executor.h \
70         EvictingCacheMap.h \
71         experimental/Bits.h \
72         experimental/EliasFanoCoding.h \
73         experimental/EventCount.h \
74         experimental/io/FsUtil.h \
75         experimental/Singleton.h \
76         experimental/TestUtil.h \
77         FBString.h \
78         FBVector.h \
79         File.h \
80         FileUtil.h \
81         Fingerprint.h \
82         folly-config.h \
83         Foreach.h \
84         FormatArg.h \
85         Format.h \
86         Format-inl.h \
87         gen/Base.h \
88         gen/Base-inl.h \
89         gen/Combine.h \
90         gen/Combine-inl.h \
91         gen/Core.h \
92         gen/Core-inl.h \
93         gen/File.h \
94         gen/File-inl.h \
95         gen/Parallel.h \
96         gen/Parallel-inl.h \
97         gen/ParallelMap.h \
98         gen/ParallelMap-inl.h \
99         gen/String.h \
100         gen/String-inl.h \
101         GroupVarint.h \
102         Hash.h \
103         IPAddress.h \
104         IPAddressV4.h \
105         IPAddressV6.h \
106         IPAddressException.h \
107         IndexedMemPool.h \
108         IntrusiveList.h \
109         io/Compression.h \
110         io/Cursor.h \
111         io/IOBuf.h \
112         io/IOBufQueue.h \
113         io/RecordIO.h \
114         io/RecordIO-inl.h \
115         io/TypedIOBuf.h \
116         io/ShutdownSocketSet.h \
117         io/async/AsyncTimeout.h \
118         io/async/AsyncTransport.h \
119         io/async/AsyncUDPServerSocket.h \
120         io/async/AsyncUDPSocket.h \
121         io/async/AsyncServerSocket.h \
122         io/async/AsyncSSLServerSocket.h \
123         io/async/AsyncSocket.h \
124         io/async/AsyncSSLSocket.h \
125         io/async/AsyncSocketException.h \
126         io/async/DelayedDestruction.h \
127         io/async/EventBase.h \
128         io/async/EventBaseManager.h \
129         io/async/EventFDWrapper.h \
130         io/async/EventHandler.h \
131         io/async/EventUtil.h \
132         io/async/NotificationQueue.h \
133         io/async/HHWheelTimer.h \
134         io/async/Request.h \
135         io/async/SSLContext.h \
136         io/async/TimeoutManager.h \
137         io/async/test/TimeUtil.h \
138         io/async/test/UndelayedDestruction.h \
139         io/async/test/Util.h \
140         json.h \
141         Lazy.h \
142         LifoSem.h \
143         Likely.h \
144         Logging.h \
145         MacAddress.h \
146         Malloc.h \
147         MapUtil.h \
148         Memory.h \
149         MemoryMapping.h \
150         MoveWrapper.h \
151         MPMCPipeline.h \
152         MPMCQueue.h \
153         Optional.h \
154         PackedSyncPtr.h \
155         Padded.h \
156         Portability.h \
157         Preprocessor.h \
158         ProducerConsumerQueue.h \
159         Random.h \
160         Random-inl.h \
161         Range.h \
162         RWSpinLock.h \
163         ScopeGuard.h \
164         SmallLocks.h \
165         small_vector.h \
166         SocketAddress.h \
167         sorted_vector_types.h \
168         SpinLock.h \
169         SpookyHashV1.h \
170         SpookyHashV2.h \
171         stats/BucketedTimeSeries-defs.h \
172         stats/BucketedTimeSeries.h \
173         stats/Histogram-defs.h \
174         stats/Histogram.h \
175         stats/MultiLevelTimeSeries-defs.h \
176         stats/MultiLevelTimeSeries.h \
177         String.h \
178         String-inl.h \
179         Subprocess.h \
180         Synchronized.h \
181         test/FBStringTestBenchmarks.cpp.h \
182         test/FBVectorTestBenchmarks.cpp.h \
183         test/function_benchmark/benchmark_impl.h \
184         test/function_benchmark/test_functions.h \
185         test/SynchronizedTestLib.h \
186         test/SynchronizedTestLib-inl.h \
187         ThreadCachedArena.h \
188         ThreadCachedInt.h \
189         ThreadLocal.h \
190         ThreadName.h \
191         TimeoutQueue.h \
192         Traits.h \
193         Unicode.h \
194         Uri.h \
195         Uri-inl.h \
196         Varint.h \
197         VersionCheck.h \
198         wangle/acceptor/Acceptor.h \
199         wangle/acceptor/ConnectionCounter.h \
200         wangle/acceptor/ConnectionManager.h \
201         wangle/acceptor/DomainNameMisc.h \
202         wangle/acceptor/LoadShedConfiguration.h \
203         wangle/acceptor/ManagedConnection.h \
204         wangle/acceptor/NetworkAddress.h \
205         wangle/acceptor/ServerSocketConfig.h \
206         wangle/acceptor/SocketOptions.h \
207         wangle/acceptor/TransportInfo.h \
208         wangle/channel/AsyncSocketHandler.h \
209         wangle/channel/ChannelHandler.h \
210         wangle/channel/ChannelHandlerContext.h \
211         wangle/channel/ChannelPipeline.h \
212         wangle/channel/OutputBufferingHandler.h \
213         wangle/concurrent/BlockingQueue.h \
214         wangle/concurrent/Codel.h \
215         wangle/concurrent/CPUThreadPoolExecutor.h \
216         wangle/concurrent/FutureExecutor.h \
217         wangle/concurrent/IOExecutor.h \
218         wangle/concurrent/IOThreadPoolExecutor.h \
219         wangle/concurrent/GlobalExecutor.h \
220         wangle/concurrent/LifoSemMPMCQueue.h \
221         wangle/concurrent/NamedThreadFactory.h \
222         wangle/concurrent/ThreadFactory.h \
223         wangle/concurrent/ThreadPoolExecutor.h \
224         wangle/futures/Deprecated.h \
225         wangle/futures/Future-inl.h \
226         wangle/futures/Future.h \
227         wangle/futures/InlineExecutor.h \
228         wangle/futures/ManualExecutor.h \
229         wangle/futures/OpaqueCallbackShunt.h \
230         wangle/futures/Promise-inl.h \
231         wangle/futures/Promise.h \
232         wangle/futures/QueuedImmediateExecutor.h \
233         wangle/futures/ScheduledExecutor.h \
234         wangle/futures/Timekeeper.h \
235         wangle/futures/Try-inl.h \
236         wangle/futures/Try.h \
237         wangle/futures/WangleException.h \
238         wangle/futures/detail/Core.h \
239         wangle/futures/detail/FSM.h \
240         wangle/futures/detail/ThreadWheelTimekeeper.h \
241         wangle/futures/detail/Types.h \
242         wangle/rx/Observable.h \
243         wangle/rx/Observer.h \
244         wangle/rx/Subject.h \
245         wangle/rx/Subscription.h \
246         wangle/rx/types.h \
247         wangle/ssl/ClientHelloExtStats.h \
248         wangle/ssl/DHParam.h \
249         wangle/ssl/PasswordInFile.h \
250         wangle/ssl/SSLCacheOptions.h \
251         wangle/ssl/SSLCacheProvider.h \
252         wangle/ssl/SSLContextConfig.h \
253         wangle/ssl/SSLContextManager.h \
254         wangle/ssl/SSLSessionCacheManager.h \
255         wangle/ssl/SSLStats.h \
256         wangle/ssl/SSLUtil.h \
257         wangle/ssl/TLSTicketKeyManager.h \
258         wangle/ssl/TLSTicketKeySeeds.h
259
260 FormatTables.cpp: build/generate_format_tables.py
261         build/generate_format_tables.py
262 CLEANFILES += FormatTables.cpp
263
264 EscapeTables.cpp: build/generate_escape_tables.py
265         build/generate_escape_tables.py
266 CLEANFILES += EscapeTables.cpp
267
268 GroupVarintTables.cpp: build/generate_varint_tables.py
269         build/generate_varint_tables.py
270 CLEANFILES += GroupVarintTables.cpp
271
272 libfollybase_la_SOURCES = \
273         Conv.cpp \
274         Demangle.cpp \
275         EscapeTables.cpp \
276         Format.cpp \
277         FormatTables.cpp \
278         Malloc.cpp \
279         Range.cpp \
280         String.cpp \
281         Unicode.cpp
282
283 libfolly_la_SOURCES = \
284         Bits.cpp \
285         detail/CacheLocality.cpp \
286         dynamic.cpp \
287         File.cpp \
288         FileUtil.cpp \
289         FingerprintTables.cpp \
290         detail/Futex.cpp \
291         GroupVarint.cpp \
292         GroupVarintTables.cpp \
293         IPAddress.cpp \
294         IPAddressV4.cpp \
295         IPAddressV6.cpp \
296         LifoSem.cpp \
297         io/Compression.cpp \
298         io/IOBuf.cpp \
299         io/IOBufQueue.cpp \
300         io/RecordIO.cpp \
301         io/ShutdownSocketSet.cpp \
302         io/async/AsyncTimeout.cpp \
303         io/async/AsyncUDPSocket.cpp \
304         io/async/AsyncServerSocket.cpp \
305         io/async/AsyncSSLServerSocket.cpp \
306         io/async/AsyncSocket.cpp \
307         io/async/AsyncSSLSocket.cpp \
308         io/async/EventBase.cpp \
309         io/async/EventBaseManager.cpp \
310         io/async/EventHandler.cpp \
311         io/async/Request.cpp \
312         io/async/SSLContext.cpp \
313         io/async/HHWheelTimer.cpp \
314         io/async/test/TimeUtil.cpp \
315         json.cpp \
316         detail/MemoryIdler.cpp \
317         MacAddress.cpp \
318         MemoryMapping.cpp \
319         Random.cpp \
320         SafeAssert.cpp \
321         SocketAddress.cpp \
322         SpookyHashV1.cpp \
323         SpookyHashV2.cpp \
324         stats/Instantiations.cpp \
325         Subprocess.cpp \
326         ThreadCachedArena.cpp \
327         TimeoutQueue.cpp \
328         Uri.cpp \
329         Version.cpp \
330         experimental/io/FsUtil.cpp \
331         experimental/Singleton.cpp \
332         experimental/TestUtil.cpp \
333         wangle/acceptor/Acceptor.cpp \
334         wangle/acceptor/ConnectionManager.cpp \
335         wangle/acceptor/LoadShedConfiguration.cpp \
336         wangle/acceptor/ManagedConnection.cpp \
337         wangle/acceptor/SocketOptions.cpp \
338         wangle/acceptor/TransportInfo.cpp \
339         wangle/concurrent/CPUThreadPoolExecutor.cpp \
340         wangle/concurrent/Codel.cpp \
341         wangle/concurrent/IOExecutor.cpp \
342         wangle/concurrent/IOThreadPoolExecutor.cpp \
343         wangle/concurrent/GlobalExecutor.cpp \
344         wangle/concurrent/ThreadPoolExecutor.cpp \
345         wangle/futures/detail/ThreadWheelTimekeeper.cpp \
346         wangle/futures/Future.cpp \
347         wangle/futures/InlineExecutor.cpp \
348         wangle/futures/ManualExecutor.cpp \
349         wangle/futures/QueuedImmediateExecutor.cpp \
350         wangle/ssl/PasswordInFile.cpp \
351         wangle/ssl/SSLContextManager.cpp \
352         wangle/ssl/SSLSessionCacheManager.cpp \
353         wangle/ssl/SSLUtil.cpp \
354         wangle/ssl/TLSTicketKeyManager.cpp
355
356 if HAVE_LINUX
357 nobase_follyinclude_HEADERS += \
358         experimental/io/HugePages.h
359 libfolly_la_SOURCES += \
360         experimental/io/HugePages.cpp
361 endif
362
363 if !HAVE_LINUX
364 nobase_follyinclude_HEADERS += detail/Clock.h
365 libfollybase_la_SOURCES += detail/Clock.cpp
366 endif
367
368 if !HAVE_WEAK_SYMBOLS
369 libfollybase_la_SOURCES += detail/MallocImpl.cpp
370 endif
371
372 if !HAVE_BITS_FUNCTEXCEPT
373 libfollybase_la_SOURCES += detail/FunctionalExcept.cpp
374 endif
375
376 libfollybase_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
377
378 libfolly_la_LIBADD = libfollybase.la
379 libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) -lssl
380
381 FingerprintTables.cpp: generate_fingerprint_tables
382         ./generate_fingerprint_tables
383 CLEANFILES += FingerprintTables.cpp
384
385 libfollybenchmark_la_SOURCES = Benchmark.cpp
386 libfollybenchmark_la_LIBADD = libfolly.la
387 libfollybenchmark_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)