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 concurrency/CoreCachedSharedPtr.h \
62 detail/AtomicHashUtils.h \
63 detail/AtomicUnorderedMapUtils.h \
64 detail/AtomicUtils.h \
65 detail/BitIteratorDetail.h \
67 detail/CacheLocality.h \
68 detail/CachelinePaddedImpl.h \
69 detail/ChecksumDetail.h \
70 detail/DiscriminatedPtrDetail.h \
71 detail/FileUtilDetail.h \
72 detail/FingerprintPolynomial.h \
74 detail/GroupVarintDetail.h \
76 detail/IPAddressSource.h \
78 detail/MemoryIdler.h \
79 detail/MPMCPipelineDetail.h \
80 detail/RangeCommon.h \
83 detail/SlowFingerprint.h \
84 detail/SocketFastOpen.h \
85 detail/StaticSingletonManager.h \
87 detail/ThreadLocalDetail.h \
89 detail/TurnSequencer.h \
90 detail/UncaughtExceptionCounter.h \
101 ExceptionWrapper-inl.h \
104 experimental/AsymmetricMemoryBarrier.h \
105 experimental/AtomicSharedPtr.h \
106 experimental/detail/AtomicSharedPtr-detail.h \
107 experimental/AutoTimer.h \
108 experimental/ThreadedRepeatingFunctionRunner.h \
109 experimental/Bits.h \
110 experimental/BitVectorCoding.h \
111 experimental/CodingDetail.h \
112 experimental/DynamicParser.h \
113 experimental/DynamicParser-inl.h \
114 experimental/ExecutionObserver.h \
115 experimental/EliasFanoCoding.h \
116 experimental/EnvUtil.h \
117 experimental/EventCount.h \
118 experimental/Instructions.h \
119 experimental/bser/Bser.h \
120 experimental/exception_tracer/ExceptionAbi.h \
121 experimental/exception_tracer/ExceptionCounterLib.h \
122 experimental/exception_tracer/ExceptionTracer.h \
123 experimental/exception_tracer/ExceptionTracerLib.h \
124 experimental/exception_tracer/StackTrace.h \
125 experimental/FunctionScheduler.h \
126 experimental/FutureDAG.h \
127 experimental/io/FsUtil.h \
128 experimental/JemallocNodumpAllocator.h \
129 experimental/JSONSchema.h \
130 experimental/LockFreeRingBuffer.h \
131 experimental/NestedCommandLineApp.h \
132 experimental/observer/detail/Core.h \
133 experimental/observer/detail/GraphCycleDetector.h \
134 experimental/observer/detail/ObserverManager.h \
135 experimental/observer/detail/Observer-pre.h \
136 experimental/observer/Observable.h \
137 experimental/observer/Observable-inl.h \
138 experimental/observer/Observer.h \
139 experimental/observer/Observer-inl.h \
140 experimental/observer/SimpleObservable.h \
141 experimental/observer/SimpleObservable-inl.h \
142 experimental/ProgramOptions.h \
143 experimental/ReadMostlySharedPtr.h \
144 experimental/symbolizer/Elf.h \
145 experimental/symbolizer/Elf-inl.h \
146 experimental/symbolizer/ElfCache.h \
147 experimental/symbolizer/Dwarf.h \
148 experimental/symbolizer/LineReader.h \
149 experimental/symbolizer/SignalHandler.h \
150 experimental/symbolizer/StackTrace.h \
151 experimental/symbolizer/Symbolizer.h \
152 experimental/Select64.h \
153 experimental/StampedPtr.h \
154 experimental/StringKeyedCommon.h \
155 experimental/StringKeyedMap.h \
156 experimental/StringKeyedSet.h \
157 experimental/StringKeyedUnorderedMap.h \
158 experimental/StringKeyedUnorderedSet.h \
159 experimental/TestUtil.h \
160 experimental/TLRefCount.h \
161 experimental/TupleOps.h \
175 futures/DrivableExecutor.h \
176 futures/Future-pre.h \
179 futures/Future-inl.h \
180 futures/FutureException.h \
181 futures/FutureSplitter.h \
182 futures/InlineExecutor.h \
183 futures/ManualExecutor.h \
184 futures/OpaqueCallbackShunt.h \
185 futures/Promise-inl.h \
187 futures/QueuedImmediateExecutor.h \
188 futures/ScheduledExecutor.h \
189 futures/SharedPromise.h \
190 futures/SharedPromise-inl.h \
191 futures/ThreadWheelTimekeeper.h \
192 futures/Timekeeper.h \
193 futures/detail/Core.h \
194 futures/detail/FSM.h \
195 futures/detail/Types.h \
196 futures/test/TestExecutor.h \
208 gen/ParallelMap-inl.h \
216 IPAddressException.h \
229 io/ShutdownSocketSet.h \
230 io/async/AsyncPipe.h \
231 io/async/AsyncTimeout.h \
232 io/async/AsyncTransport.h \
233 io/async/AsyncUDPServerSocket.h \
234 io/async/AsyncUDPSocket.h \
235 io/async/AsyncServerSocket.h \
236 io/async/AsyncSignalHandler.h \
237 io/async/AsyncSocket.h \
238 io/async/AsyncSocketBase.h \
239 io/async/AsyncSSLSocket.h \
240 io/async/AsyncSocketException.h \
241 io/async/DecoratedAsyncTransportWrapper.h \
242 io/async/DelayedDestructionBase.h \
243 io/async/DelayedDestruction.h \
244 io/async/DestructorCheck.h \
245 io/async/EventBase.h \
246 io/async/EventBaseLocal.h \
247 io/async/EventBaseManager.h \
248 io/async/EventBaseThread.h \
249 io/async/EventFDWrapper.h \
250 io/async/EventHandler.h \
251 io/async/EventUtil.h \
252 io/async/NotificationQueue.h \
253 io/async/HHWheelTimer.h \
254 io/async/ssl/OpenSSLUtils.h \
255 io/async/ssl/SSLErrors.h \
256 io/async/ssl/TLSDefinitions.h \
258 io/async/SSLContext.h \
259 io/async/ScopedEventBaseThread.h \
260 io/async/TimeoutManager.h \
261 io/async/VirtualEventBase.h \
262 io/async/WriteChainAsyncTransportWrapper.h \
263 io/async/test/AsyncSSLSocketTest.h \
264 io/async/test/AsyncSocketTest2.h \
265 io/async/test/BlockingSocket.h \
266 io/async/test/MockAsyncSocket.h \
267 io/async/test/MockAsyncServerSocket.h \
268 io/async/test/MockAsyncSSLSocket.h \
269 io/async/test/MockAsyncTransport.h \
270 io/async/test/MockAsyncUDPSocket.h \
271 io/async/test/MockTimeoutManager.h \
272 io/async/test/ScopedBoundPort.h \
273 io/async/test/SocketPair.h \
274 io/async/test/TestSSLServer.h \
275 io/async/test/TimeUtil.h \
276 io/async/test/UndelayedDestruction.h \
277 io/async/test/Util.h \
306 portability/Atomic.h \
307 portability/BitsFunctexcept.h \
308 portability/Builtins.h \
309 portability/Config.h \
310 portability/Constexpr.h \
311 portability/Dirent.h \
312 portability/Event.h \
313 portability/Fcntl.h \
314 portability/GFlags.h \
315 portability/GMock.h \
316 portability/GTest.h \
317 portability/IOVec.h \
318 portability/Libgen.h \
319 portability/Malloc.h \
321 portability/Memory.h \
322 portability/OpenSSL.h \
323 portability/PThread.h \
324 portability/Sockets.h \
325 portability/Stdio.h \
326 portability/Stdlib.h \
327 portability/String.h \
328 portability/Syslog.h \
329 portability/SysFile.h \
330 portability/SysMembarrier.h \
331 portability/SysMman.h \
332 portability/SysResource.h \
333 portability/SysStat.h \
334 portability/SysSyscall.h \
335 portability/SysTime.h \
336 portability/SysTypes.h \
337 portability/SysUio.h \
339 portability/TypeTraits.h \
340 portability/Windows.h \
341 portability/Unistd.h \
343 PriorityMPMCQueue.h \
344 ProducerConsumerQueue.h \
355 SingletonThreadLocal.h \
359 sorted_vector_types.h \
364 ssl/OpenSSLCertUtils.h \
366 ssl/OpenSSLPtrTypes.h \
367 ssl/OpenSSLVersionFinder.h \
369 ssl/detail/SSLSessionImpl.h \
370 stats/BucketedTimeSeries-defs.h \
371 stats/BucketedTimeSeries.h \
372 stats/Histogram-defs.h \
374 stats/MultiLevelTimeSeries-defs.h \
375 stats/MultiLevelTimeSeries.h \
376 stats/TimeseriesHistogram-defs.h \
377 stats/TimeseriesHistogram.h \
383 test/FBStringTestBenchmarks.cpp.h \
384 test/FBVectorTestBenchmarks.cpp.h \
385 test/function_benchmark/benchmark_impl.h \
386 test/function_benchmark/test_functions.h \
387 test/SynchronizedTestLib.h \
388 test/SynchronizedTestLib-inl.h \
390 ThreadCachedArena.h \
397 tracing/StaticTracepoint.h \
404 UncaughtExceptions.h \
412 FormatTables.cpp: build/generate_format_tables.py
413 $(PYTHON) build/generate_format_tables.py
414 CLEANFILES += FormatTables.cpp
416 EscapeTables.cpp: build/generate_escape_tables.py
417 $(PYTHON) build/generate_escape_tables.py
418 CLEANFILES += EscapeTables.cpp
420 GroupVarintTables.cpp: build/generate_varint_tables.py
421 $(PYTHON) build/generate_varint_tables.py
422 CLEANFILES += GroupVarintTables.cpp
424 libfollybasesse42_la_SOURCES = \
425 detail/ChecksumDetail.cpp \
426 detail/RangeSse42.cpp
428 libfollybase_la_SOURCES = \
431 detail/RangeCommon.cpp \
436 portability/BitsFunctexcept.cpp \
441 libfolly_la_SOURCES = \
445 ClockGettimeWrappers.cpp \
446 detail/CacheLocality.cpp \
447 detail/IPAddress.cpp \
449 ExceptionWrapper.cpp \
453 FingerprintTables.cpp \
454 futures/Barrier.cpp \
456 futures/ManualExecutor.cpp \
457 futures/QueuedImmediateExecutor.cpp \
458 futures/ThreadWheelTimekeeper.cpp \
459 futures/test/TestExecutor.cpp \
461 detail/StaticSingletonManager.cpp \
462 detail/ThreadLocalDetail.cpp \
464 GroupVarintTables.cpp \
475 io/ShutdownSocketSet.cpp \
476 io/async/AsyncPipe.cpp \
477 io/async/AsyncTimeout.cpp \
478 io/async/AsyncUDPSocket.cpp \
479 io/async/AsyncServerSocket.cpp \
480 io/async/AsyncSignalHandler.cpp \
481 io/async/AsyncSocket.cpp \
482 io/async/AsyncSSLSocket.cpp \
483 io/async/EventBase.cpp \
484 io/async/EventBaseLocal.cpp \
485 io/async/EventBaseManager.cpp \
486 io/async/EventBaseThread.cpp \
487 io/async/EventHandler.cpp \
488 io/async/Request.cpp \
489 io/async/SSLContext.cpp \
490 io/async/ScopedEventBaseThread.cpp \
491 io/async/VirtualEventBase.cpp \
492 io/async/HHWheelTimer.cpp \
493 io/async/TimeoutManager.cpp \
494 io/async/test/ScopedBoundPort.cpp \
495 io/async/test/SocketPair.cpp \
496 io/async/test/TimeUtil.cpp \
497 io/async/ssl/OpenSSLUtils.cpp \
498 io/async/ssl/SSLErrors.cpp \
500 detail/MemoryIdler.cpp \
501 detail/SocketFastOpen.cpp \
504 portability/Dirent.cpp \
505 portability/Fcntl.cpp \
506 portability/Libgen.cpp \
507 portability/Malloc.cpp \
508 portability/Memory.cpp \
509 portability/OpenSSL.cpp \
510 portability/PThread.cpp \
511 portability/Sockets.cpp \
512 portability/Stdio.cpp \
513 portability/Stdlib.cpp \
514 portability/String.cpp \
515 portability/SysFile.cpp \
516 portability/SysMembarrier.cpp \
517 portability/SysMman.cpp \
518 portability/SysResource.cpp \
519 portability/SysStat.cpp \
520 portability/SysTime.cpp \
521 portability/SysUio.cpp \
522 portability/Time.cpp \
523 portability/Unistd.cpp \
535 ssl/OpenSSLCertUtils.cpp \
536 ssl/OpenSSLHash.cpp \
537 ssl/detail/SSLSessionImpl.cpp \
538 stats/Instantiations.cpp \
540 ThreadCachedArena.cpp \
545 experimental/AsymmetricMemoryBarrier.cpp \
546 experimental/ThreadedRepeatingFunctionRunner.cpp \
547 experimental/bser/Dump.cpp \
548 experimental/bser/Load.cpp \
549 experimental/DynamicParser.cpp \
550 experimental/EnvUtil.cpp \
551 experimental/FunctionScheduler.cpp \
552 experimental/io/FsUtil.cpp \
553 experimental/JemallocNodumpAllocator.cpp \
554 experimental/JSONSchema.cpp \
555 experimental/NestedCommandLineApp.cpp \
556 experimental/observer/detail/Core.cpp \
557 experimental/observer/detail/ObserverManager.cpp \
558 experimental/ProgramOptions.cpp \
559 experimental/Select64.cpp \
560 experimental/TestUtil.cpp
563 nobase_follyinclude_HEADERS += \
564 experimental/io/HugePages.h
565 libfolly_la_SOURCES += \
566 experimental/io/HugePages.cpp
569 if !HAVE_WEAK_SYMBOLS
570 libfollybase_la_SOURCES += detail/MallocImpl.cpp
573 if HAVE_BOOST_CONTEXT
574 nobase_follyinclude_HEADERS += \
576 fibers/AddTasks-inl.h \
577 fibers/AtomicBatchDispatcher.h \
578 fibers/AtomicBatchDispatcher-inl.h \
581 fibers/BatchDispatcher.h \
582 fibers/BoostContextCompatibility.h \
583 fibers/detail/AtomicBatchDispatcher.h \
584 fibers/EventBaseLoopController.h \
585 fibers/EventBaseLoopController-inl.h \
588 fibers/FiberManager.h \
589 fibers/FiberManager-inl.h \
590 fibers/FiberManagerInternal.h \
591 fibers/FiberManagerInternal-inl.h \
592 fibers/FiberManagerMap.h \
594 fibers/ForEach-inl.h \
595 fibers/GenericBaton.h \
596 fibers/GuardPageAllocator.h \
597 fibers/LoopController.h \
599 fibers/Promise-inl.h \
601 fibers/SimpleLoopController.h \
602 fibers/TimedMutex.h \
603 fibers/TimedMutex-inl.h \
604 fibers/TimeoutController.h \
609 libfolly_la_SOURCES += \
611 fibers/detail/AtomicBatchDispatcher.cpp \
613 fibers/FiberManager.cpp \
614 fibers/FiberManagerMap.cpp \
615 fibers/GuardPageAllocator.cpp \
616 fibers/Semaphore.cpp \
617 fibers/TimeoutController.cpp
620 libfollybasesse42_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
621 libfollybasesse42_la_CXXFLAGS = -msse4.2 -mpclmul
623 libfollybase_la_LIBADD = libfollybasesse42.la
624 libfollybase_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
626 libfolly_la_LIBADD = libfollybase.la
627 libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) -lssl
629 FingerprintTables.cpp: generate_fingerprint_tables
630 ./generate_fingerprint_tables
631 CLEANFILES += FingerprintTables.cpp
633 libfollybenchmark_la_SOURCES = Benchmark.cpp
634 libfollybenchmark_la_LIBADD = libfolly.la
635 libfollybenchmark_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
637 # install pkg-config metadata file
638 pkgconfigdir = $(libdir)/pkgconfig
639 nodist_pkgconfig_DATA = libfolly.pc