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/OpenSSLPtrTypes.h \
252 io/async/ssl/OpenSSLUtils.h \
253 io/async/ssl/SSLErrors.h \
254 io/async/ssl/TLSDefinitions.h \
256 io/async/SSLContext.h \
257 io/async/ScopedEventBaseThread.h \
258 io/async/TimeoutManager.h \
259 io/async/VirtualEventBase.h \
260 io/async/WriteChainAsyncTransportWrapper.h \
261 io/async/test/AsyncSSLSocketTest.h \
262 io/async/test/AsyncSocketTest2.h \
263 io/async/test/BlockingSocket.h \
264 io/async/test/MockAsyncSocket.h \
265 io/async/test/MockAsyncServerSocket.h \
266 io/async/test/MockAsyncSSLSocket.h \
267 io/async/test/MockAsyncTransport.h \
268 io/async/test/MockAsyncUDPSocket.h \
269 io/async/test/MockTimeoutManager.h \
270 io/async/test/ScopedBoundPort.h \
271 io/async/test/SocketPair.h \
272 io/async/test/TestSSLServer.h \
273 io/async/test/TimeUtil.h \
274 io/async/test/UndelayedDestruction.h \
275 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/OpenSSLVersionFinder.h \
365 ssl/detail/SSLSessionImpl.h \
366 stats/BucketedTimeSeries-defs.h \
367 stats/BucketedTimeSeries.h \
368 stats/Histogram-defs.h \
370 stats/MultiLevelTimeSeries-defs.h \
371 stats/MultiLevelTimeSeries.h \
372 stats/TimeseriesHistogram-defs.h \
373 stats/TimeseriesHistogram.h \
379 test/FBStringTestBenchmarks.cpp.h \
380 test/FBVectorTestBenchmarks.cpp.h \
381 test/function_benchmark/benchmark_impl.h \
382 test/function_benchmark/test_functions.h \
383 test/SynchronizedTestLib.h \
384 test/SynchronizedTestLib-inl.h \
386 ThreadCachedArena.h \
393 tracing/StaticTracepoint.h \
400 UncaughtExceptions.h \
408 FormatTables.cpp: build/generate_format_tables.py
409 $(PYTHON) build/generate_format_tables.py
410 CLEANFILES += FormatTables.cpp
412 EscapeTables.cpp: build/generate_escape_tables.py
413 $(PYTHON) build/generate_escape_tables.py
414 CLEANFILES += EscapeTables.cpp
416 GroupVarintTables.cpp: build/generate_varint_tables.py
417 $(PYTHON) build/generate_varint_tables.py
418 CLEANFILES += GroupVarintTables.cpp
420 libfollybasesse42_la_SOURCES = \
421 detail/RangeSse42.cpp
423 libfollybase_la_SOURCES = \
426 detail/RangeCommon.cpp \
431 portability/BitsFunctexcept.cpp \
436 libfolly_la_SOURCES = \
440 ClockGettimeWrappers.cpp \
441 detail/CacheLocality.cpp \
442 detail/IPAddress.cpp \
444 ExceptionWrapper.cpp \
448 FingerprintTables.cpp \
449 futures/Barrier.cpp \
451 futures/InlineExecutor.cpp \
452 futures/ManualExecutor.cpp \
453 futures/QueuedImmediateExecutor.cpp \
454 futures/ThreadWheelTimekeeper.cpp \
455 futures/test/TestExecutor.cpp \
457 detail/StaticSingletonManager.cpp \
458 detail/ThreadLocalDetail.cpp \
460 GroupVarintTables.cpp \
471 io/ShutdownSocketSet.cpp \
472 io/async/AsyncPipe.cpp \
473 io/async/AsyncTimeout.cpp \
474 io/async/AsyncUDPSocket.cpp \
475 io/async/AsyncServerSocket.cpp \
476 io/async/AsyncSignalHandler.cpp \
477 io/async/AsyncSocket.cpp \
478 io/async/AsyncSSLSocket.cpp \
479 io/async/EventBase.cpp \
480 io/async/EventBaseLocal.cpp \
481 io/async/EventBaseManager.cpp \
482 io/async/EventBaseThread.cpp \
483 io/async/EventHandler.cpp \
484 io/async/Request.cpp \
485 io/async/SSLContext.cpp \
486 io/async/ScopedEventBaseThread.cpp \
487 io/async/VirtualEventBase.cpp \
488 io/async/HHWheelTimer.cpp \
489 io/async/TimeoutManager.cpp \
490 io/async/test/ScopedBoundPort.cpp \
491 io/async/test/SocketPair.cpp \
492 io/async/test/TimeUtil.cpp \
493 io/async/ssl/OpenSSLUtils.cpp \
494 io/async/ssl/SSLErrors.cpp \
496 detail/MemoryIdler.cpp \
497 detail/SocketFastOpen.cpp \
500 portability/Dirent.cpp \
501 portability/Fcntl.cpp \
502 portability/Libgen.cpp \
503 portability/Malloc.cpp \
504 portability/Memory.cpp \
505 portability/OpenSSL.cpp \
506 portability/PThread.cpp \
507 portability/Sockets.cpp \
508 portability/Stdio.cpp \
509 portability/Stdlib.cpp \
510 portability/String.cpp \
511 portability/SysFile.cpp \
512 portability/SysMembarrier.cpp \
513 portability/SysMman.cpp \
514 portability/SysResource.cpp \
515 portability/SysStat.cpp \
516 portability/SysTime.cpp \
517 portability/SysUio.cpp \
518 portability/Time.cpp \
519 portability/Unistd.cpp \
530 ssl/OpenSSLCertUtils.cpp \
531 ssl/OpenSSLHash.cpp \
532 ssl/detail/SSLSessionImpl.cpp \
533 stats/Instantiations.cpp \
535 ThreadCachedArena.cpp \
540 experimental/AsymmetricMemoryBarrier.cpp \
541 experimental/ThreadedRepeatingFunctionRunner.cpp \
542 experimental/bser/Dump.cpp \
543 experimental/bser/Load.cpp \
544 experimental/DynamicParser.cpp \
545 experimental/EnvUtil.cpp \
546 experimental/FunctionScheduler.cpp \
547 experimental/io/FsUtil.cpp \
548 experimental/JemallocNodumpAllocator.cpp \
549 experimental/JSONSchema.cpp \
550 experimental/NestedCommandLineApp.cpp \
551 experimental/observer/detail/Core.cpp \
552 experimental/observer/detail/ObserverManager.cpp \
553 experimental/ProgramOptions.cpp \
554 experimental/Select64.cpp \
555 experimental/TestUtil.cpp
558 nobase_follyinclude_HEADERS += \
559 experimental/io/HugePages.h
560 libfolly_la_SOURCES += \
561 experimental/io/HugePages.cpp
564 if !HAVE_WEAK_SYMBOLS
565 libfollybase_la_SOURCES += detail/MallocImpl.cpp
568 if HAVE_BOOST_CONTEXT
569 nobase_follyinclude_HEADERS += \
571 fibers/AddTasks-inl.h \
572 fibers/AtomicBatchDispatcher.h \
573 fibers/AtomicBatchDispatcher-inl.h \
576 fibers/BatchDispatcher.h \
577 fibers/BoostContextCompatibility.h \
578 fibers/detail/AtomicBatchDispatcher.h \
579 fibers/EventBaseLoopController.h \
580 fibers/EventBaseLoopController-inl.h \
583 fibers/FiberManager.h \
584 fibers/FiberManager-inl.h \
585 fibers/FiberManagerInternal.h \
586 fibers/FiberManagerInternal-inl.h \
587 fibers/FiberManagerMap.h \
589 fibers/ForEach-inl.h \
590 fibers/GenericBaton.h \
591 fibers/GuardPageAllocator.h \
592 fibers/LoopController.h \
594 fibers/Promise-inl.h \
596 fibers/SimpleLoopController.h \
597 fibers/TimedMutex.h \
598 fibers/TimedMutex-inl.h \
599 fibers/TimeoutController.h \
604 libfolly_la_SOURCES += \
606 fibers/detail/AtomicBatchDispatcher.cpp \
608 fibers/FiberManager.cpp \
609 fibers/FiberManagerMap.cpp \
610 fibers/GuardPageAllocator.cpp \
611 fibers/Semaphore.cpp \
612 fibers/TimeoutController.cpp
615 libfollybasesse42_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
616 libfollybasesse42_la_CXXFLAGS = -msse4.2
618 libfollybase_la_LIBADD = libfollybasesse42.la
619 libfollybase_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
621 libfolly_la_LIBADD = libfollybase.la
622 libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) -lssl
624 FingerprintTables.cpp: generate_fingerprint_tables
625 ./generate_fingerprint_tables
626 CLEANFILES += FingerprintTables.cpp
628 libfollybenchmark_la_SOURCES = Benchmark.cpp
629 libfollybenchmark_la_LIBADD = libfolly.la
630 libfollybenchmark_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
632 # install pkg-config metadata file
633 pkgconfigdir = $(libdir)/pkgconfig
634 nodist_pkgconfig_DATA = libfolly.pc