2 SUBDIRS = . experimental init test
7 ACLOCAL_AMFLAGS = -I m4
11 noinst_PROGRAMS = generate_fingerprint_tables
12 generate_fingerprint_tables_SOURCES = build/GenerateFingerprintTables.cpp
13 generate_fingerprint_tables_LDADD = libfollybase.la
15 noinst_LTLIBRARIES = \
22 follyincludedir = $(includedir)/folly
24 nobase_follyinclude_HEADERS = \
32 AtomicHashArray-inl.h \
35 AtomicIntrusiveLinkedList.h \
38 AtomicUnorderedMap.h \
44 ConcurrentSkipList.h \
45 ConcurrentSkipList-inl.h \
46 ConditionallyExistent.h \
52 detail/AtomicHashUtils.h \
53 detail/AtomicUnorderedMapUtils.h \
54 detail/BitIteratorDetail.h \
56 detail/CacheLocality.h \
57 detail/ChecksumDetail.h \
58 detail/DiscriminatedPtrDetail.h \
59 detail/ExceptionWrapper.h \
60 detail/FileUtilDetail.h \
61 detail/FingerprintPolynomial.h \
62 detail/FunctionalExcept.h \
64 detail/GroupVarintDetail.h \
67 detail/MemoryIdler.h \
68 detail/MPMCPipelineDetail.h \
69 detail/RangeCommon.h \
72 detail/SlowFingerprint.h \
73 detail/SocketFastOpen.h \
74 detail/SpinLockImpl.h \
75 detail/StaticSingletonManager.h \
77 detail/ThreadLocalDetail.h \
78 detail/TurnSequencer.h \
79 detail/UncaughtExceptionCounter.h \
90 experimental/AutoTimer.h \
92 experimental/BitVectorCoding.h \
93 experimental/DynamicParser.h \
94 experimental/DynamicParser-inl.h \
95 experimental/ExecutionObserver.h \
96 experimental/EliasFanoCoding.h \
97 experimental/EventCount.h \
98 experimental/Instructions.h \
99 experimental/bser/Bser.h \
100 experimental/FunctionScheduler.h \
101 experimental/FutureDAG.h \
102 experimental/io/FsUtil.h \
103 experimental/JSONSchema.h \
104 experimental/LockFreeRingBuffer.h \
105 experimental/NestedCommandLineApp.h \
106 experimental/ProgramOptions.h \
107 experimental/ReadMostlySharedPtr.h \
108 experimental/symbolizer/Elf.h \
109 experimental/symbolizer/ElfCache.h \
110 experimental/symbolizer/Dwarf.h \
111 experimental/symbolizer/LineReader.h \
112 experimental/symbolizer/SignalHandler.h \
113 experimental/symbolizer/StackTrace.cpp \
114 experimental/symbolizer/Symbolizer.h \
115 experimental/Select64.h \
116 experimental/StringKeyedCommon.h \
117 experimental/StringKeyedUnorderedMap.h \
118 experimental/StringKeyedUnorderedSet.h \
119 experimental/TestUtil.h \
120 experimental/TLRefCount.h \
121 experimental/TupleOps.h \
134 futures/DrivableExecutor.h \
135 futures/Future-pre.h \
138 futures/Future-inl.h \
139 futures/FutureException.h \
140 futures/InlineExecutor.h \
141 futures/ManualExecutor.h \
142 futures/OpaqueCallbackShunt.h \
143 futures/Promise-inl.h \
145 futures/QueuedImmediateExecutor.h \
146 futures/ScheduledExecutor.h \
147 futures/SharedPromise.h \
148 futures/SharedPromise-inl.h \
149 futures/ThreadWheelTimekeeper.h \
150 futures/Timekeeper.h \
151 futures/detail/Core.h \
152 futures/detail/FSM.h \
153 futures/detail/Types.h \
165 gen/ParallelMap-inl.h \
173 IPAddressException.h \
186 io/ShutdownSocketSet.h \
187 io/async/AsyncPipe.h \
188 io/async/AsyncTimeout.h \
189 io/async/AsyncTransport.h \
190 io/async/AsyncUDPServerSocket.h \
191 io/async/AsyncUDPSocket.h \
192 io/async/AsyncServerSocket.h \
193 io/async/AsyncSignalHandler.h \
194 io/async/AsyncSocket.h \
195 io/async/AsyncSocketBase.h \
196 io/async/AsyncSSLSocket.h \
197 io/async/AsyncSocketException.h \
198 io/async/DelayedDestructionBase.h \
199 io/async/DelayedDestruction.h \
200 io/async/EventBase.h \
201 io/async/EventBaseLocal.h \
202 io/async/EventBaseManager.h \
203 io/async/EventFDWrapper.h \
204 io/async/EventHandler.h \
205 io/async/EventUtil.h \
206 io/async/NotificationQueue.h \
207 io/async/HHWheelTimer.h \
208 io/async/ssl/OpenSSLPtrTypes.h \
209 io/async/ssl/OpenSSLUtils.h \
210 io/async/ssl/SSLErrors.h \
211 io/async/ssl/TLSDefinitions.h \
213 io/async/SSLContext.h \
214 io/async/ScopedEventBaseThread.h \
215 io/async/TimeoutManager.h \
216 io/async/test/AsyncSSLSocketTest.h \
217 io/async/test/BlockingSocket.h \
218 io/async/test/MockAsyncSocket.h \
219 io/async/test/MockAsyncServerSocket.h \
220 io/async/test/MockAsyncSSLSocket.h \
221 io/async/test/MockAsyncTransport.h \
222 io/async/test/MockAsyncUDPSocket.h \
223 io/async/test/MockTimeoutManager.h \
224 io/async/test/SocketPair.h \
225 io/async/test/TimeUtil.h \
226 io/async/test/UndelayedDestruction.h \
227 io/async/test/Util.h \
251 portability/Builtins.h \
252 portability/Config.h \
253 portability/Constexpr.h \
254 portability/Dirent.h \
255 portability/Environment.h \
256 portability/Event.h \
257 portability/Fcntl.h \
258 portability/GFlags.h \
259 portability/IOVec.h \
260 portability/Libgen.h \
261 portability/Malloc.h \
263 portability/Memory.h \
264 portability/PThread.h \
265 portability/Sockets.h \
266 portability/Stdio.h \
267 portability/Stdlib.h \
268 portability/String.h \
269 portability/Syslog.h \
270 portability/SysFile.h \
271 portability/SysMman.h \
272 portability/SysResource.h \
273 portability/SysStat.h \
274 portability/SysSyscall.h \
275 portability/SysTime.h \
276 portability/SysTypes.h \
277 portability/SysUio.h \
279 portability/Windows.h \
280 portability/Unistd.h \
282 ProducerConsumerQueue.h \
291 SingletonThreadLocal.h \
295 sorted_vector_types.h \
301 stats/BucketedTimeSeries-defs.h \
302 stats/BucketedTimeSeries.h \
303 stats/Histogram-defs.h \
305 stats/MultiLevelTimeSeries-defs.h \
306 stats/MultiLevelTimeSeries.h \
307 stats/TimeseriesHistogram-defs.h \
308 stats/TimeseriesHistogram.h \
314 test/FBStringTestBenchmarks.cpp.h \
315 test/FBVectorTestBenchmarks.cpp.h \
316 test/function_benchmark/benchmark_impl.h \
317 test/function_benchmark/test_functions.h \
318 test/SynchronizedTestLib.h \
319 test/SynchronizedTestLib-inl.h \
321 ThreadCachedArena.h \
337 FormatTables.cpp: build/generate_format_tables.py
338 $(PYTHON) build/generate_format_tables.py
339 CLEANFILES += FormatTables.cpp
341 EscapeTables.cpp: build/generate_escape_tables.py
342 $(PYTHON) build/generate_escape_tables.py
343 CLEANFILES += EscapeTables.cpp
345 GroupVarintTables.cpp: build/generate_varint_tables.py
346 $(PYTHON) build/generate_varint_tables.py
347 CLEANFILES += GroupVarintTables.cpp
349 libfollybase_la_SOURCES = \
352 detail/RangeCommon.cpp \
353 detail/RangeSse42.cpp \
361 libfolly_la_SOURCES = \
364 detail/CacheLocality.cpp \
368 FingerprintTables.cpp \
369 futures/Barrier.cpp \
371 futures/InlineExecutor.cpp \
372 futures/ManualExecutor.cpp \
373 futures/QueuedImmediateExecutor.cpp \
374 futures/ThreadWheelTimekeeper.cpp \
376 detail/StaticSingletonManager.cpp \
377 detail/ThreadLocalDetail.cpp \
379 GroupVarintTables.cpp \
389 io/ShutdownSocketSet.cpp \
390 io/async/AsyncPipe.cpp \
391 io/async/AsyncTimeout.cpp \
392 io/async/AsyncUDPSocket.cpp \
393 io/async/AsyncServerSocket.cpp \
394 io/async/AsyncSignalHandler.cpp \
395 io/async/AsyncSocket.cpp \
396 io/async/AsyncSSLSocket.cpp \
397 io/async/EventBase.cpp \
398 io/async/EventBaseLocal.cpp \
399 io/async/EventBaseManager.cpp \
400 io/async/EventHandler.cpp \
401 io/async/Request.cpp \
402 io/async/SSLContext.cpp \
403 io/async/ScopedEventBaseThread.cpp \
404 io/async/HHWheelTimer.cpp \
405 io/async/test/SocketPair.cpp \
406 io/async/test/TimeUtil.cpp \
407 io/async/ssl/OpenSSLUtils.cpp \
408 io/async/ssl/SSLErrors.cpp \
410 detail/MemoryIdler.cpp \
411 detail/SocketFastOpen.cpp \
414 portability/Dirent.cpp \
415 portability/Environment.cpp \
416 portability/Fcntl.cpp \
417 portability/Libgen.cpp \
418 portability/Malloc.cpp \
419 portability/Memory.cpp \
420 portability/Sockets.cpp \
421 portability/Stdio.cpp \
422 portability/Stdlib.cpp \
423 portability/String.cpp \
424 portability/SysFile.cpp \
425 portability/SysMman.cpp \
426 portability/SysResource.cpp \
427 portability/SysStat.cpp \
428 portability/SysTime.cpp \
429 portability/SysUio.cpp \
430 portability/Time.cpp \
431 portability/Unistd.cpp \
440 ssl/OpenSSLHash.cpp \
441 stats/Instantiations.cpp \
443 ThreadCachedArena.cpp \
447 experimental/bser/Dump.cpp \
448 experimental/bser/Load.cpp \
449 experimental/DynamicParser.cpp \
450 experimental/FunctionScheduler.cpp \
451 experimental/io/FsUtil.cpp \
452 experimental/JSONSchema.cpp \
453 experimental/NestedCommandLineApp.cpp \
454 experimental/ProgramOptions.cpp \
455 experimental/Select64.cpp \
456 experimental/TestUtil.cpp
459 nobase_follyinclude_HEADERS += \
460 experimental/io/HugePages.h
461 libfolly_la_SOURCES += \
462 experimental/io/HugePages.cpp
465 if !HAVE_WEAK_SYMBOLS
466 libfollybase_la_SOURCES += detail/MallocImpl.cpp
469 if !HAVE_BITS_FUNCTEXCEPT_H
470 libfollybase_la_SOURCES += detail/FunctionalExcept.cpp
473 if HAVE_BOOST_CONTEXT
474 nobase_follyinclude_HEADERS += \
476 fibers/AddTasks-inl.h \
479 fibers/BoostContextCompatibility.h \
480 fibers/EventBaseLoopController.h \
481 fibers/EventBaseLoopController-inl.h \
484 fibers/FiberManager.h \
485 fibers/FiberManager-inl.h \
486 fibers/FiberManagerMap.h \
488 fibers/ForEach-inl.h \
489 fibers/GenericBaton.h \
490 fibers/GuardPageAllocator.h \
491 fibers/LoopController.h \
493 fibers/Promise-inl.h \
494 fibers/SimpleLoopController.h \
495 fibers/TimedMutex.h \
496 fibers/TimedMutex-inl.h \
497 fibers/TimeoutController.h \
502 libfolly_la_SOURCES += \
505 fibers/FiberManager.cpp \
506 fibers/FiberManagerMap.cpp \
507 fibers/GuardPageAllocator.cpp \
508 fibers/TimeoutController.cpp
511 libfollybase_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
513 libfolly_la_LIBADD = libfollybase.la
514 libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) -lssl
516 FingerprintTables.cpp: generate_fingerprint_tables
517 ./generate_fingerprint_tables
518 CLEANFILES += FingerprintTables.cpp
520 libfollybenchmark_la_SOURCES = Benchmark.cpp
521 libfollybenchmark_la_LIBADD = libfolly.la
522 libfollybenchmark_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)