6 MAYBE_EXCEPTION_TRACER = experimental/exception_tracer
9 SUBDIRS = . experimental $(MAYBE_INIT) test io/test experimental/io/test \
10 $(MAYBE_EXCEPTION_TRACER)
12 ACLOCAL_AMFLAGS = -I m4
17 noinst_PROGRAMS = generate_fingerprint_tables
18 generate_fingerprint_tables_SOURCES = build/GenerateFingerprintTables.cpp
19 generate_fingerprint_tables_LDADD = libfollybase.la
21 noinst_LTLIBRARIES = \
22 libfollybasesse42.la \
29 follyincludedir = $(includedir)/folly
31 nobase_follyinclude_HEADERS = \
39 AtomicHashArray-inl.h \
42 AtomicIntrusiveLinkedList.h \
45 AtomicUnorderedMap.h \
53 ClockGettimeWrappers.h \
54 ConcurrentSkipList.h \
55 ConcurrentSkipList-inl.h \
61 detail/AtomicHashUtils.h \
62 detail/AtomicUnorderedMapUtils.h \
63 detail/AtomicUtils.h \
64 detail/BitIteratorDetail.h \
66 detail/CacheLocality.h \
67 detail/CachelinePaddedImpl.h \
68 detail/ChecksumDetail.h \
69 detail/DiscriminatedPtrDetail.h \
70 detail/FileUtilDetail.h \
71 detail/FingerprintPolynomial.h \
73 detail/GroupVarintDetail.h \
75 detail/IPAddressSource.h \
77 detail/MemoryIdler.h \
78 detail/MPMCPipelineDetail.h \
79 detail/RangeCommon.h \
82 detail/SlowFingerprint.h \
83 detail/SocketFastOpen.h \
84 detail/StaticSingletonManager.h \
86 detail/ThreadLocalDetail.h \
88 detail/TurnSequencer.h \
89 detail/UncaughtExceptionCounter.h \
100 ExceptionWrapper-inl.h \
103 experimental/AsymmetricMemoryBarrier.h \
104 experimental/AtomicSharedPtr.h \
105 experimental/detail/AtomicSharedPtr-detail.h \
106 experimental/AutoTimer.h \
107 experimental/ThreadedRepeatingFunctionRunner.h \
108 experimental/Bits.h \
109 experimental/BitVectorCoding.h \
110 experimental/CodingDetail.h \
111 experimental/DynamicParser.h \
112 experimental/DynamicParser-inl.h \
113 experimental/ExecutionObserver.h \
114 experimental/EliasFanoCoding.h \
115 experimental/EnvUtil.h \
116 experimental/EventCount.h \
117 experimental/Instructions.h \
118 experimental/bser/Bser.h \
119 experimental/exception_tracer/ExceptionAbi.h \
120 experimental/exception_tracer/ExceptionCounterLib.h \
121 experimental/exception_tracer/ExceptionTracer.h \
122 experimental/exception_tracer/ExceptionTracerLib.h \
123 experimental/exception_tracer/StackTrace.h \
124 experimental/FunctionScheduler.h \
125 experimental/FutureDAG.h \
126 experimental/io/FsUtil.h \
127 experimental/JemallocNodumpAllocator.h \
128 experimental/JSONSchema.h \
129 experimental/LockFreeRingBuffer.h \
130 experimental/NestedCommandLineApp.h \
131 experimental/observer/detail/Core.h \
132 experimental/observer/detail/GraphCycleDetector.h \
133 experimental/observer/detail/ObserverManager.h \
134 experimental/observer/detail/Observer-pre.h \
135 experimental/observer/Observable.h \
136 experimental/observer/Observable-inl.h \
137 experimental/observer/Observer.h \
138 experimental/observer/Observer-inl.h \
139 experimental/observer/SimpleObservable.h \
140 experimental/observer/SimpleObservable-inl.h \
141 experimental/ProgramOptions.h \
142 experimental/ReadMostlySharedPtr.h \
143 experimental/symbolizer/Elf.h \
144 experimental/symbolizer/Elf-inl.h \
145 experimental/symbolizer/ElfCache.h \
146 experimental/symbolizer/Dwarf.h \
147 experimental/symbolizer/LineReader.h \
148 experimental/symbolizer/SignalHandler.h \
149 experimental/symbolizer/StackTrace.h \
150 experimental/symbolizer/Symbolizer.h \
151 experimental/Select64.h \
152 experimental/StringKeyedCommon.h \
153 experimental/StringKeyedMap.h \
154 experimental/StringKeyedSet.h \
155 experimental/StringKeyedUnorderedMap.h \
156 experimental/StringKeyedUnorderedSet.h \
157 experimental/TestUtil.h \
158 experimental/TLRefCount.h \
159 experimental/TupleOps.h \
173 futures/DrivableExecutor.h \
174 futures/Future-pre.h \
177 futures/Future-inl.h \
178 futures/FutureException.h \
179 futures/FutureSplitter.h \
180 futures/InlineExecutor.h \
181 futures/ManualExecutor.h \
182 futures/OpaqueCallbackShunt.h \
183 futures/Promise-inl.h \
185 futures/QueuedImmediateExecutor.h \
186 futures/ScheduledExecutor.h \
187 futures/SharedPromise.h \
188 futures/SharedPromise-inl.h \
189 futures/ThreadWheelTimekeeper.h \
190 futures/Timekeeper.h \
191 futures/detail/Core.h \
192 futures/detail/FSM.h \
193 futures/detail/Types.h \
194 futures/test/TestExecutor.h \
206 gen/ParallelMap-inl.h \
214 IPAddressException.h \
227 io/ShutdownSocketSet.h \
228 io/async/AsyncPipe.h \
229 io/async/AsyncTimeout.h \
230 io/async/AsyncTransport.h \
231 io/async/AsyncUDPServerSocket.h \
232 io/async/AsyncUDPSocket.h \
233 io/async/AsyncServerSocket.h \
234 io/async/AsyncSignalHandler.h \
235 io/async/AsyncSocket.h \
236 io/async/AsyncSocketBase.h \
237 io/async/AsyncSSLSocket.h \
238 io/async/AsyncSocketException.h \
239 io/async/DecoratedAsyncTransportWrapper.h \
240 io/async/DelayedDestructionBase.h \
241 io/async/DelayedDestruction.h \
242 io/async/EventBase.h \
243 io/async/EventBaseLocal.h \
244 io/async/EventBaseManager.h \
245 io/async/EventBaseThread.h \
246 io/async/EventFDWrapper.h \
247 io/async/EventHandler.h \
248 io/async/EventUtil.h \
249 io/async/NotificationQueue.h \
250 io/async/HHWheelTimer.h \
251 io/async/ssl/OpenSSLUtils.h \
252 io/async/ssl/SSLErrors.h \
253 io/async/ssl/TLSDefinitions.h \
255 io/async/SSLContext.h \
256 io/async/ScopedEventBaseThread.h \
257 io/async/TimeoutManager.h \
258 io/async/VirtualEventBase.h \
259 io/async/WriteChainAsyncTransportWrapper.h \
260 io/async/test/AsyncSSLSocketTest.h \
261 io/async/test/AsyncSocketTest2.h \
262 io/async/test/BlockingSocket.h \
263 io/async/test/MockAsyncSocket.h \
264 io/async/test/MockAsyncServerSocket.h \
265 io/async/test/MockAsyncSSLSocket.h \
266 io/async/test/MockAsyncTransport.h \
267 io/async/test/MockAsyncUDPSocket.h \
268 io/async/test/MockTimeoutManager.h \
269 io/async/test/ScopedBoundPort.h \
270 io/async/test/SocketPair.h \
271 io/async/test/TestSSLServer.h \
272 io/async/test/TimeUtil.h \
273 io/async/test/UndelayedDestruction.h \
274 io/async/test/Util.h \
303 portability/Atomic.h \
304 portability/BitsFunctexcept.h \
305 portability/Builtins.h \
306 portability/Config.h \
307 portability/Constexpr.h \
308 portability/Dirent.h \
309 portability/Event.h \
310 portability/Fcntl.h \
311 portability/GFlags.h \
312 portability/GMock.h \
313 portability/GTest.h \
314 portability/IOVec.h \
315 portability/Libgen.h \
316 portability/Malloc.h \
318 portability/Memory.h \
319 portability/OpenSSL.h \
320 portability/PThread.h \
321 portability/Sockets.h \
322 portability/Stdio.h \
323 portability/Stdlib.h \
324 portability/String.h \
325 portability/Syslog.h \
326 portability/SysFile.h \
327 portability/SysMembarrier.h \
328 portability/SysMman.h \
329 portability/SysResource.h \
330 portability/SysStat.h \
331 portability/SysSyscall.h \
332 portability/SysTime.h \
333 portability/SysTypes.h \
334 portability/SysUio.h \
336 portability/TypeTraits.h \
337 portability/Windows.h \
338 portability/Unistd.h \
340 PriorityMPMCQueue.h \
341 ProducerConsumerQueue.h \
352 SingletonThreadLocal.h \
356 sorted_vector_types.h \
361 ssl/OpenSSLCertUtils.h \
363 ssl/OpenSSLPtrTypes.h \
364 ssl/OpenSSLVersionFinder.h \
366 ssl/detail/SSLSessionImpl.h \
367 stats/BucketedTimeSeries-defs.h \
368 stats/BucketedTimeSeries.h \
369 stats/Histogram-defs.h \
371 stats/MultiLevelTimeSeries-defs.h \
372 stats/MultiLevelTimeSeries.h \
373 stats/TimeseriesHistogram-defs.h \
374 stats/TimeseriesHistogram.h \
380 test/FBStringTestBenchmarks.cpp.h \
381 test/FBVectorTestBenchmarks.cpp.h \
382 test/function_benchmark/benchmark_impl.h \
383 test/function_benchmark/test_functions.h \
384 test/SynchronizedTestLib.h \
385 test/SynchronizedTestLib-inl.h \
387 ThreadCachedArena.h \
394 tracing/StaticTracepoint.h \
401 UncaughtExceptions.h \
409 FormatTables.cpp: build/generate_format_tables.py
410 $(PYTHON) build/generate_format_tables.py
411 CLEANFILES += FormatTables.cpp
413 EscapeTables.cpp: build/generate_escape_tables.py
414 $(PYTHON) build/generate_escape_tables.py
415 CLEANFILES += EscapeTables.cpp
417 GroupVarintTables.cpp: build/generate_varint_tables.py
418 $(PYTHON) build/generate_varint_tables.py
419 CLEANFILES += GroupVarintTables.cpp
421 libfollybasesse42_la_SOURCES = \
422 detail/ChecksumDetail.cpp \
423 detail/RangeSse42.cpp
425 libfollybase_la_SOURCES = \
428 detail/RangeCommon.cpp \
433 portability/BitsFunctexcept.cpp \
438 libfolly_la_SOURCES = \
442 ClockGettimeWrappers.cpp \
443 detail/CacheLocality.cpp \
444 detail/IPAddress.cpp \
446 ExceptionWrapper.cpp \
450 FingerprintTables.cpp \
451 futures/Barrier.cpp \
453 futures/InlineExecutor.cpp \
454 futures/ManualExecutor.cpp \
455 futures/QueuedImmediateExecutor.cpp \
456 futures/ThreadWheelTimekeeper.cpp \
457 futures/test/TestExecutor.cpp \
459 detail/StaticSingletonManager.cpp \
460 detail/ThreadLocalDetail.cpp \
462 GroupVarintTables.cpp \
473 io/ShutdownSocketSet.cpp \
474 io/async/AsyncPipe.cpp \
475 io/async/AsyncTimeout.cpp \
476 io/async/AsyncUDPSocket.cpp \
477 io/async/AsyncServerSocket.cpp \
478 io/async/AsyncSignalHandler.cpp \
479 io/async/AsyncSocket.cpp \
480 io/async/AsyncSSLSocket.cpp \
481 io/async/EventBase.cpp \
482 io/async/EventBaseLocal.cpp \
483 io/async/EventBaseManager.cpp \
484 io/async/EventBaseThread.cpp \
485 io/async/EventHandler.cpp \
486 io/async/Request.cpp \
487 io/async/SSLContext.cpp \
488 io/async/ScopedEventBaseThread.cpp \
489 io/async/VirtualEventBase.cpp \
490 io/async/HHWheelTimer.cpp \
491 io/async/TimeoutManager.cpp \
492 io/async/test/ScopedBoundPort.cpp \
493 io/async/test/SocketPair.cpp \
494 io/async/test/TimeUtil.cpp \
495 io/async/ssl/OpenSSLUtils.cpp \
496 io/async/ssl/SSLErrors.cpp \
498 detail/MemoryIdler.cpp \
499 detail/SocketFastOpen.cpp \
502 portability/Dirent.cpp \
503 portability/Fcntl.cpp \
504 portability/Libgen.cpp \
505 portability/Malloc.cpp \
506 portability/Memory.cpp \
507 portability/OpenSSL.cpp \
508 portability/PThread.cpp \
509 portability/Sockets.cpp \
510 portability/Stdio.cpp \
511 portability/Stdlib.cpp \
512 portability/String.cpp \
513 portability/SysFile.cpp \
514 portability/SysMembarrier.cpp \
515 portability/SysMman.cpp \
516 portability/SysResource.cpp \
517 portability/SysStat.cpp \
518 portability/SysTime.cpp \
519 portability/SysUio.cpp \
520 portability/Time.cpp \
521 portability/Unistd.cpp \
533 ssl/OpenSSLCertUtils.cpp \
534 ssl/OpenSSLHash.cpp \
535 ssl/detail/SSLSessionImpl.cpp \
536 stats/Instantiations.cpp \
538 ThreadCachedArena.cpp \
543 experimental/AsymmetricMemoryBarrier.cpp \
544 experimental/ThreadedRepeatingFunctionRunner.cpp \
545 experimental/bser/Dump.cpp \
546 experimental/bser/Load.cpp \
547 experimental/DynamicParser.cpp \
548 experimental/EnvUtil.cpp \
549 experimental/FunctionScheduler.cpp \
550 experimental/io/FsUtil.cpp \
551 experimental/JemallocNodumpAllocator.cpp \
552 experimental/JSONSchema.cpp \
553 experimental/NestedCommandLineApp.cpp \
554 experimental/observer/detail/Core.cpp \
555 experimental/observer/detail/ObserverManager.cpp \
556 experimental/ProgramOptions.cpp \
557 experimental/Select64.cpp \
558 experimental/TestUtil.cpp
561 nobase_follyinclude_HEADERS += \
562 experimental/io/HugePages.h
563 libfolly_la_SOURCES += \
564 experimental/io/HugePages.cpp
567 if !HAVE_WEAK_SYMBOLS
568 libfollybase_la_SOURCES += detail/MallocImpl.cpp
571 if HAVE_BOOST_CONTEXT
572 nobase_follyinclude_HEADERS += \
574 fibers/AddTasks-inl.h \
575 fibers/AtomicBatchDispatcher.h \
576 fibers/AtomicBatchDispatcher-inl.h \
579 fibers/BatchDispatcher.h \
580 fibers/BoostContextCompatibility.h \
581 fibers/detail/AtomicBatchDispatcher.h \
582 fibers/EventBaseLoopController.h \
583 fibers/EventBaseLoopController-inl.h \
586 fibers/FiberManager.h \
587 fibers/FiberManager-inl.h \
588 fibers/FiberManagerInternal.h \
589 fibers/FiberManagerInternal-inl.h \
590 fibers/FiberManagerMap.h \
592 fibers/ForEach-inl.h \
593 fibers/GenericBaton.h \
594 fibers/GuardPageAllocator.h \
595 fibers/LoopController.h \
597 fibers/Promise-inl.h \
599 fibers/SimpleLoopController.h \
600 fibers/TimedMutex.h \
601 fibers/TimedMutex-inl.h \
602 fibers/TimeoutController.h \
607 libfolly_la_SOURCES += \
609 fibers/detail/AtomicBatchDispatcher.cpp \
611 fibers/FiberManager.cpp \
612 fibers/FiberManagerMap.cpp \
613 fibers/GuardPageAllocator.cpp \
614 fibers/Semaphore.cpp \
615 fibers/TimeoutController.cpp
618 libfollybasesse42_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
619 libfollybasesse42_la_CXXFLAGS = -msse4.2 -mpclmul
621 libfollybase_la_LIBADD = libfollybasesse42.la
622 libfollybase_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
624 libfolly_la_LIBADD = libfollybase.la
625 libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) -lssl
627 FingerprintTables.cpp: generate_fingerprint_tables
628 ./generate_fingerprint_tables
629 CLEANFILES += FingerprintTables.cpp
631 libfollybenchmark_la_SOURCES = Benchmark.cpp
632 libfollybenchmark_la_LIBADD = libfolly.la
633 libfollybenchmark_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
635 # install pkg-config metadata file
636 pkgconfigdir = $(libdir)/pkgconfig
637 nodist_pkgconfig_DATA = libfolly.pc