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 \
45 ClockGettimeWrappers.h \
46 ConcurrentSkipList.h \
47 ConcurrentSkipList-inl.h \
53 detail/AtomicHashUtils.h \
54 detail/AtomicUnorderedMapUtils.h \
55 detail/BitIteratorDetail.h \
57 detail/CacheLocality.h \
58 detail/CachelinePaddedImpl.h \
59 detail/ChecksumDetail.h \
60 detail/DiscriminatedPtrDetail.h \
61 detail/ExceptionWrapper.h \
62 detail/FileUtilDetail.h \
63 detail/FingerprintPolynomial.h \
65 detail/GroupVarintDetail.h \
67 detail/IPAddressSource.h \
69 detail/MemoryIdler.h \
70 detail/MPMCPipelineDetail.h \
71 detail/RangeCommon.h \
74 detail/SlowFingerprint.h \
75 detail/SocketFastOpen.h \
76 detail/SpinLockImpl.h \
77 detail/StaticSingletonManager.h \
79 detail/ThreadLocalDetail.h \
81 detail/TurnSequencer.h \
82 detail/UncaughtExceptionCounter.h \
95 experimental/AsymmetricMemoryBarrier.h \
96 experimental/AutoTimer.h \
98 experimental/BitVectorCoding.h \
99 experimental/DynamicParser.h \
100 experimental/DynamicParser-inl.h \
101 experimental/ExecutionObserver.h \
102 experimental/EliasFanoCoding.h \
103 experimental/EventCount.h \
104 experimental/Instructions.h \
105 experimental/bser/Bser.h \
106 experimental/FunctionScheduler.h \
107 experimental/FutureDAG.h \
108 experimental/io/FsUtil.h \
109 experimental/JSONSchema.h \
110 experimental/LockFreeRingBuffer.h \
111 experimental/NestedCommandLineApp.h \
112 experimental/observer/detail/Core.h \
113 experimental/observer/detail/GraphCycleDetector.h \
114 experimental/observer/detail/ObserverManager.h \
115 experimental/observer/detail/Observer-pre.h \
116 experimental/observer/Observable.h \
117 experimental/observer/Observable-inl.h \
118 experimental/observer/Observer.h \
119 experimental/observer/Observer-inl.h \
120 experimental/observer/SimpleObservable.h \
121 experimental/observer/SimpleObservable-inl.h \
122 experimental/ProgramOptions.h \
123 experimental/ReadMostlySharedPtr.h \
124 experimental/symbolizer/Elf.h \
125 experimental/symbolizer/ElfCache.h \
126 experimental/symbolizer/Dwarf.h \
127 experimental/symbolizer/LineReader.h \
128 experimental/symbolizer/SignalHandler.h \
129 experimental/symbolizer/StackTrace.cpp \
130 experimental/symbolizer/Symbolizer.h \
131 experimental/Select64.h \
132 experimental/StringKeyedCommon.h \
133 experimental/StringKeyedUnorderedMap.h \
134 experimental/StringKeyedUnorderedSet.h \
135 experimental/TestUtil.h \
136 experimental/TLRefCount.h \
137 experimental/TupleOps.h \
150 futures/DrivableExecutor.h \
151 futures/Future-pre.h \
154 futures/Future-inl.h \
155 futures/FutureException.h \
156 futures/InlineExecutor.h \
157 futures/ManualExecutor.h \
158 futures/OpaqueCallbackShunt.h \
159 futures/Promise-inl.h \
161 futures/QueuedImmediateExecutor.h \
162 futures/ScheduledExecutor.h \
163 futures/SharedPromise.h \
164 futures/SharedPromise-inl.h \
165 futures/ThreadWheelTimekeeper.h \
166 futures/Timekeeper.h \
167 futures/detail/Core.h \
168 futures/detail/FSM.h \
169 futures/detail/Types.h \
181 gen/ParallelMap-inl.h \
189 IPAddressException.h \
202 io/ShutdownSocketSet.h \
203 io/async/AsyncPipe.h \
204 io/async/AsyncTimeout.h \
205 io/async/AsyncTransport.h \
206 io/async/AsyncUDPServerSocket.h \
207 io/async/AsyncUDPSocket.h \
208 io/async/AsyncServerSocket.h \
209 io/async/AsyncSignalHandler.h \
210 io/async/AsyncSocket.h \
211 io/async/AsyncSocketBase.h \
212 io/async/AsyncSSLSocket.h \
213 io/async/AsyncSocketException.h \
214 io/async/DecoratedAsyncTransportWrapper.h \
215 io/async/DelayedDestructionBase.h \
216 io/async/DelayedDestruction.h \
217 io/async/EventBase.h \
218 io/async/EventBaseLocal.h \
219 io/async/EventBaseManager.h \
220 io/async/EventFDWrapper.h \
221 io/async/EventHandler.h \
222 io/async/EventUtil.h \
223 io/async/NotificationQueue.h \
224 io/async/HHWheelTimer.h \
225 io/async/ssl/OpenSSLPtrTypes.h \
226 io/async/ssl/OpenSSLUtils.h \
227 io/async/ssl/SSLErrors.h \
228 io/async/ssl/TLSDefinitions.h \
230 io/async/SSLContext.h \
231 io/async/ScopedEventBaseThread.h \
232 io/async/TimeoutManager.h \
233 io/async/WriteChainAsyncTransportWrapper.h \
234 io/async/test/AsyncSSLSocketTest.h \
235 io/async/test/BlockingSocket.h \
236 io/async/test/MockAsyncSocket.h \
237 io/async/test/MockAsyncServerSocket.h \
238 io/async/test/MockAsyncSSLSocket.h \
239 io/async/test/MockAsyncTransport.h \
240 io/async/test/MockAsyncUDPSocket.h \
241 io/async/test/MockTimeoutManager.h \
242 io/async/test/ScopedBoundPort.h \
243 io/async/test/SocketPair.h \
244 io/async/test/TimeUtil.h \
245 io/async/test/UndelayedDestruction.h \
246 io/async/test/Util.h \
273 portability/Atomic.h \
274 portability/BitsFunctexcept.h \
275 portability/Builtins.h \
276 portability/Config.h \
277 portability/Constexpr.h \
278 portability/Dirent.h \
279 portability/Environment.h \
280 portability/Event.h \
281 portability/Fcntl.h \
282 portability/GFlags.h \
283 portability/GMock.h \
284 portability/GTest.h \
285 portability/IOVec.h \
286 portability/Libgen.h \
287 portability/Malloc.h \
289 portability/Memory.h \
290 portability/PThread.h \
291 portability/Sockets.h \
292 portability/Stdio.h \
293 portability/Stdlib.h \
294 portability/String.h \
295 portability/Syslog.h \
296 portability/SysFile.h \
297 portability/SysMembarrier.h \
298 portability/SysMman.h \
299 portability/SysResource.h \
300 portability/SysStat.h \
301 portability/SysSyscall.h \
302 portability/SysTime.h \
303 portability/SysTypes.h \
304 portability/SysUio.h \
306 portability/TypeTraits.h \
307 portability/Windows.h \
308 portability/Unistd.h \
310 ProducerConsumerQueue.h \
320 SingletonThreadLocal.h \
324 sorted_vector_types.h \
331 ssl/detail/OpenSSLVersionFinder.h \
332 ssl/detail/SSLSessionImpl.h \
333 stats/BucketedTimeSeries-defs.h \
334 stats/BucketedTimeSeries.h \
335 stats/Histogram-defs.h \
337 stats/MultiLevelTimeSeries-defs.h \
338 stats/MultiLevelTimeSeries.h \
339 stats/TimeseriesHistogram-defs.h \
340 stats/TimeseriesHistogram.h \
346 test/FBStringTestBenchmarks.cpp.h \
347 test/FBVectorTestBenchmarks.cpp.h \
348 test/function_benchmark/benchmark_impl.h \
349 test/function_benchmark/test_functions.h \
350 test/SynchronizedTestLib.h \
351 test/SynchronizedTestLib-inl.h \
353 ThreadCachedArena.h \
370 FormatTables.cpp: build/generate_format_tables.py
371 $(PYTHON) build/generate_format_tables.py
372 CLEANFILES += FormatTables.cpp
374 EscapeTables.cpp: build/generate_escape_tables.py
375 $(PYTHON) build/generate_escape_tables.py
376 CLEANFILES += EscapeTables.cpp
378 GroupVarintTables.cpp: build/generate_varint_tables.py
379 $(PYTHON) build/generate_varint_tables.py
380 CLEANFILES += GroupVarintTables.cpp
382 libfollybase_la_SOURCES = \
385 detail/RangeCommon.cpp \
386 detail/RangeSse42.cpp \
391 portability/BitsFunctexcept.cpp \
396 libfolly_la_SOURCES = \
400 ClockGettimeWrappers.cpp \
401 detail/CacheLocality.cpp \
402 detail/IPAddress.cpp \
406 FingerprintTables.cpp \
407 futures/Barrier.cpp \
409 futures/InlineExecutor.cpp \
410 futures/ManualExecutor.cpp \
411 futures/QueuedImmediateExecutor.cpp \
412 futures/ThreadWheelTimekeeper.cpp \
414 detail/StaticSingletonManager.cpp \
415 detail/ThreadLocalDetail.cpp \
417 GroupVarintTables.cpp \
427 io/ShutdownSocketSet.cpp \
428 io/async/AsyncPipe.cpp \
429 io/async/AsyncTimeout.cpp \
430 io/async/AsyncUDPSocket.cpp \
431 io/async/AsyncServerSocket.cpp \
432 io/async/AsyncSignalHandler.cpp \
433 io/async/AsyncSocket.cpp \
434 io/async/AsyncSSLSocket.cpp \
435 io/async/EventBase.cpp \
436 io/async/EventBaseLocal.cpp \
437 io/async/EventBaseManager.cpp \
438 io/async/EventHandler.cpp \
439 io/async/Request.cpp \
440 io/async/SSLContext.cpp \
441 io/async/ScopedEventBaseThread.cpp \
442 io/async/HHWheelTimer.cpp \
443 io/async/test/ScopedBoundPort.cpp \
444 io/async/test/SocketPair.cpp \
445 io/async/test/TimeUtil.cpp \
446 io/async/ssl/OpenSSLUtils.cpp \
447 io/async/ssl/SSLErrors.cpp \
449 detail/MemoryIdler.cpp \
450 detail/SocketFastOpen.cpp \
453 portability/Dirent.cpp \
454 portability/Environment.cpp \
455 portability/Fcntl.cpp \
456 portability/Libgen.cpp \
457 portability/Malloc.cpp \
458 portability/Memory.cpp \
459 portability/Sockets.cpp \
460 portability/Stdio.cpp \
461 portability/Stdlib.cpp \
462 portability/String.cpp \
463 portability/SysFile.cpp \
464 portability/SysMembarrier.cpp \
465 portability/SysMman.cpp \
466 portability/SysResource.cpp \
467 portability/SysStat.cpp \
468 portability/SysTime.cpp \
469 portability/SysUio.cpp \
470 portability/Time.cpp \
471 portability/Unistd.cpp \
481 ssl/OpenSSLHash.cpp \
482 ssl/detail/SSLSessionImpl.cpp \
483 stats/Instantiations.cpp \
485 ThreadCachedArena.cpp \
489 experimental/AsymmetricMemoryBarrier.cpp \
490 experimental/bser/Dump.cpp \
491 experimental/bser/Load.cpp \
492 experimental/DynamicParser.cpp \
493 experimental/FunctionScheduler.cpp \
494 experimental/io/FsUtil.cpp \
495 experimental/JSONSchema.cpp \
496 experimental/NestedCommandLineApp.cpp \
497 experimental/observer/detail/Core.cpp \
498 experimental/observer/detail/ObserverManager.cpp \
499 experimental/ProgramOptions.cpp \
500 experimental/Select64.cpp \
501 experimental/TestUtil.cpp
504 nobase_follyinclude_HEADERS += \
505 experimental/io/HugePages.h
506 libfolly_la_SOURCES += \
507 experimental/io/HugePages.cpp
510 if !HAVE_WEAK_SYMBOLS
511 libfollybase_la_SOURCES += detail/MallocImpl.cpp
514 if HAVE_BOOST_CONTEXT
515 nobase_follyinclude_HEADERS += \
517 fibers/AddTasks-inl.h \
520 fibers/BatchDispatcher.h \
521 fibers/BoostContextCompatibility.h \
522 fibers/EventBaseLoopController.h \
523 fibers/EventBaseLoopController-inl.h \
526 fibers/FiberManager.h \
527 fibers/FiberManager-inl.h \
528 fibers/FiberManagerInternal.h \
529 fibers/FiberManagerInternal-inl.h \
530 fibers/FiberManagerMap.h \
532 fibers/ForEach-inl.h \
533 fibers/GenericBaton.h \
534 fibers/GuardPageAllocator.h \
535 fibers/LoopController.h \
537 fibers/Promise-inl.h \
539 fibers/SimpleLoopController.h \
540 fibers/TimedMutex.h \
541 fibers/TimedMutex-inl.h \
542 fibers/TimeoutController.h \
547 libfolly_la_SOURCES += \
550 fibers/FiberManager.cpp \
551 fibers/FiberManagerMap.cpp \
552 fibers/GuardPageAllocator.cpp \
553 fibers/Semaphore.cpp \
554 fibers/TimeoutController.cpp
557 libfollybase_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
559 libfolly_la_LIBADD = libfollybase.la
560 libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) -lssl
562 FingerprintTables.cpp: generate_fingerprint_tables
563 ./generate_fingerprint_tables
564 CLEANFILES += FingerprintTables.cpp
566 libfollybenchmark_la_SOURCES = Benchmark.cpp
567 libfollybenchmark_la_LIBADD = libfolly.la
568 libfollybenchmark_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
570 # install pkg-config metadata file
571 pkgconfigdir = $(libdir)/pkgconfig
572 nodist_pkgconfig_DATA = libfolly.pc