2 SUBDIRS = . experimental init test
7 ACLOCAL_AMFLAGS = -I m4
12 noinst_PROGRAMS = generate_fingerprint_tables
13 generate_fingerprint_tables_SOURCES = build/GenerateFingerprintTables.cpp
14 generate_fingerprint_tables_LDADD = libfollybase.la
16 noinst_LTLIBRARIES = \
17 libfollybasesse42.la \
24 follyincludedir = $(includedir)/folly
26 nobase_follyinclude_HEADERS = \
34 AtomicHashArray-inl.h \
37 AtomicIntrusiveLinkedList.h \
40 AtomicUnorderedMap.h \
48 ClockGettimeWrappers.h \
49 ConcurrentSkipList.h \
50 ConcurrentSkipList-inl.h \
56 detail/AtomicHashUtils.h \
57 detail/AtomicUnorderedMapUtils.h \
58 detail/BitIteratorDetail.h \
60 detail/CacheLocality.h \
61 detail/CachelinePaddedImpl.h \
62 detail/ChecksumDetail.h \
63 detail/DiscriminatedPtrDetail.h \
64 detail/FileUtilDetail.h \
65 detail/FingerprintPolynomial.h \
67 detail/GroupVarintDetail.h \
69 detail/IPAddressSource.h \
71 detail/MemoryIdler.h \
72 detail/MPMCPipelineDetail.h \
73 detail/RangeCommon.h \
76 detail/SlowFingerprint.h \
77 detail/SocketFastOpen.h \
78 detail/SpinLockImpl.h \
79 detail/StaticSingletonManager.h \
81 detail/ThreadLocalDetail.h \
83 detail/TurnSequencer.h \
84 detail/UncaughtExceptionCounter.h \
97 experimental/AsymmetricMemoryBarrier.h \
98 experimental/AutoTimer.h \
100 experimental/BitVectorCoding.h \
101 experimental/DynamicParser.h \
102 experimental/DynamicParser-inl.h \
103 experimental/ExecutionObserver.h \
104 experimental/EliasFanoCoding.h \
105 experimental/EnvUtil.h \
106 experimental/EventCount.h \
107 experimental/Instructions.h \
108 experimental/bser/Bser.h \
109 experimental/FunctionScheduler.h \
110 experimental/FutureDAG.h \
111 experimental/io/FsUtil.h \
112 experimental/JemallocNodumpAllocator.h \
113 experimental/JSONSchema.h \
114 experimental/LockFreeRingBuffer.h \
115 experimental/NestedCommandLineApp.h \
116 experimental/observer/detail/Core.h \
117 experimental/observer/detail/GraphCycleDetector.h \
118 experimental/observer/detail/ObserverManager.h \
119 experimental/observer/detail/Observer-pre.h \
120 experimental/observer/Observable.h \
121 experimental/observer/Observable-inl.h \
122 experimental/observer/Observer.h \
123 experimental/observer/Observer-inl.h \
124 experimental/observer/SimpleObservable.h \
125 experimental/observer/SimpleObservable-inl.h \
126 experimental/ProgramOptions.h \
127 experimental/ReadMostlySharedPtr.h \
128 experimental/symbolizer/Elf.h \
129 experimental/symbolizer/Elf-inl.h \
130 experimental/symbolizer/ElfCache.h \
131 experimental/symbolizer/Dwarf.h \
132 experimental/symbolizer/LineReader.h \
133 experimental/symbolizer/SignalHandler.h \
134 experimental/symbolizer/StackTrace.h \
135 experimental/symbolizer/Symbolizer.h \
136 experimental/Select64.h \
137 experimental/StringKeyedCommon.h \
138 experimental/StringKeyedMap.h \
139 experimental/StringKeyedSet.h \
140 experimental/StringKeyedUnorderedMap.h \
141 experimental/StringKeyedUnorderedSet.h \
142 experimental/TestUtil.h \
143 experimental/TLRefCount.h \
144 experimental/TupleOps.h \
158 futures/DrivableExecutor.h \
159 futures/Future-pre.h \
162 futures/Future-inl.h \
163 futures/FutureException.h \
164 futures/FutureSplitter.h \
165 futures/InlineExecutor.h \
166 futures/ManualExecutor.h \
167 futures/OpaqueCallbackShunt.h \
168 futures/Promise-inl.h \
170 futures/QueuedImmediateExecutor.h \
171 futures/ScheduledExecutor.h \
172 futures/SharedPromise.h \
173 futures/SharedPromise-inl.h \
174 futures/ThreadWheelTimekeeper.h \
175 futures/Timekeeper.h \
176 futures/detail/Core.h \
177 futures/detail/FSM.h \
178 futures/detail/Types.h \
190 gen/ParallelMap-inl.h \
198 IPAddressException.h \
211 io/ShutdownSocketSet.h \
212 io/async/AsyncPipe.h \
213 io/async/AsyncTimeout.h \
214 io/async/AsyncTransport.h \
215 io/async/AsyncUDPServerSocket.h \
216 io/async/AsyncUDPSocket.h \
217 io/async/AsyncServerSocket.h \
218 io/async/AsyncSignalHandler.h \
219 io/async/AsyncSocket.h \
220 io/async/AsyncSocketBase.h \
221 io/async/AsyncSSLSocket.h \
222 io/async/AsyncSocketException.h \
223 io/async/DecoratedAsyncTransportWrapper.h \
224 io/async/DelayedDestructionBase.h \
225 io/async/DelayedDestruction.h \
226 io/async/EventBase.h \
227 io/async/EventBaseLocal.h \
228 io/async/EventBaseManager.h \
229 io/async/EventBaseThread.h \
230 io/async/EventFDWrapper.h \
231 io/async/EventHandler.h \
232 io/async/EventUtil.h \
233 io/async/NotificationQueue.h \
234 io/async/HHWheelTimer.h \
235 io/async/ssl/OpenSSLPtrTypes.h \
236 io/async/ssl/OpenSSLUtils.h \
237 io/async/ssl/SSLErrors.h \
238 io/async/ssl/TLSDefinitions.h \
240 io/async/SSLContext.h \
241 io/async/ScopedEventBaseThread.h \
242 io/async/TimeoutManager.h \
243 io/async/VirtualEventBase.h \
244 io/async/WriteChainAsyncTransportWrapper.h \
245 io/async/test/AsyncSSLSocketTest.h \
246 io/async/test/AsyncSocketTest2.h \
247 io/async/test/BlockingSocket.h \
248 io/async/test/MockAsyncSocket.h \
249 io/async/test/MockAsyncServerSocket.h \
250 io/async/test/MockAsyncSSLSocket.h \
251 io/async/test/MockAsyncTransport.h \
252 io/async/test/MockAsyncUDPSocket.h \
253 io/async/test/MockTimeoutManager.h \
254 io/async/test/ScopedBoundPort.h \
255 io/async/test/SocketPair.h \
256 io/async/test/TestSSLServer.h \
257 io/async/test/TimeUtil.h \
258 io/async/test/UndelayedDestruction.h \
259 io/async/test/Util.h \
286 portability/Atomic.h \
287 portability/BitsFunctexcept.h \
288 portability/Builtins.h \
289 portability/Config.h \
290 portability/Constexpr.h \
291 portability/Dirent.h \
292 portability/Event.h \
293 portability/Fcntl.h \
294 portability/GFlags.h \
295 portability/GMock.h \
296 portability/GTest.h \
297 portability/IOVec.h \
298 portability/Libgen.h \
299 portability/Malloc.h \
301 portability/Memory.h \
302 portability/OpenSSL.h \
303 portability/PThread.h \
304 portability/Sockets.h \
305 portability/Stdio.h \
306 portability/Stdlib.h \
307 portability/String.h \
308 portability/Syslog.h \
309 portability/SysFile.h \
310 portability/SysMembarrier.h \
311 portability/SysMman.h \
312 portability/SysResource.h \
313 portability/SysStat.h \
314 portability/SysSyscall.h \
315 portability/SysTime.h \
316 portability/SysTypes.h \
317 portability/SysUio.h \
319 portability/TypeTraits.h \
320 portability/Windows.h \
321 portability/Unistd.h \
323 PriorityMPMCQueue.h \
324 ProducerConsumerQueue.h \
335 SingletonThreadLocal.h \
339 sorted_vector_types.h \
344 ssl/OpenSSLCertUtils.h \
346 ssl/OpenSSLVersionFinder.h \
348 ssl/detail/SSLSessionImpl.h \
349 stats/BucketedTimeSeries-defs.h \
350 stats/BucketedTimeSeries.h \
351 stats/Histogram-defs.h \
353 stats/MultiLevelTimeSeries-defs.h \
354 stats/MultiLevelTimeSeries.h \
355 stats/TimeseriesHistogram-defs.h \
356 stats/TimeseriesHistogram.h \
362 test/FBStringTestBenchmarks.cpp.h \
363 test/FBVectorTestBenchmarks.cpp.h \
364 test/function_benchmark/benchmark_impl.h \
365 test/function_benchmark/test_functions.h \
366 test/SynchronizedTestLib.h \
367 test/SynchronizedTestLib-inl.h \
369 ThreadCachedArena.h \
376 tracing/StaticTracepoint.h \
382 UncaughtExceptions.h \
390 FormatTables.cpp: build/generate_format_tables.py
391 $(PYTHON) build/generate_format_tables.py
392 CLEANFILES += FormatTables.cpp
394 EscapeTables.cpp: build/generate_escape_tables.py
395 $(PYTHON) build/generate_escape_tables.py
396 CLEANFILES += EscapeTables.cpp
398 GroupVarintTables.cpp: build/generate_varint_tables.py
399 $(PYTHON) build/generate_varint_tables.py
400 CLEANFILES += GroupVarintTables.cpp
402 libfollybasesse42_la_SOURCES = \
403 detail/RangeSse42.cpp
405 libfollybase_la_SOURCES = \
408 detail/RangeCommon.cpp \
413 portability/BitsFunctexcept.cpp \
418 libfolly_la_SOURCES = \
422 ClockGettimeWrappers.cpp \
423 detail/CacheLocality.cpp \
424 detail/IPAddress.cpp \
426 ExceptionWrapper.cpp \
430 FingerprintTables.cpp \
431 futures/Barrier.cpp \
433 futures/InlineExecutor.cpp \
434 futures/ManualExecutor.cpp \
435 futures/QueuedImmediateExecutor.cpp \
436 futures/ThreadWheelTimekeeper.cpp \
438 detail/StaticSingletonManager.cpp \
439 detail/ThreadLocalDetail.cpp \
441 GroupVarintTables.cpp \
452 io/ShutdownSocketSet.cpp \
453 io/async/AsyncPipe.cpp \
454 io/async/AsyncTimeout.cpp \
455 io/async/AsyncUDPSocket.cpp \
456 io/async/AsyncServerSocket.cpp \
457 io/async/AsyncSignalHandler.cpp \
458 io/async/AsyncSocket.cpp \
459 io/async/AsyncSSLSocket.cpp \
460 io/async/EventBase.cpp \
461 io/async/EventBaseLocal.cpp \
462 io/async/EventBaseManager.cpp \
463 io/async/EventBaseThread.cpp \
464 io/async/EventHandler.cpp \
465 io/async/Request.cpp \
466 io/async/SSLContext.cpp \
467 io/async/ScopedEventBaseThread.cpp \
468 io/async/VirtualEventBase.cpp \
469 io/async/HHWheelTimer.cpp \
470 io/async/TimeoutManager.cpp \
471 io/async/test/ScopedBoundPort.cpp \
472 io/async/test/SocketPair.cpp \
473 io/async/test/TimeUtil.cpp \
474 io/async/ssl/OpenSSLUtils.cpp \
475 io/async/ssl/SSLErrors.cpp \
477 detail/MemoryIdler.cpp \
478 detail/SocketFastOpen.cpp \
481 portability/Dirent.cpp \
482 portability/Fcntl.cpp \
483 portability/Libgen.cpp \
484 portability/Malloc.cpp \
485 portability/Memory.cpp \
486 portability/OpenSSL.cpp \
487 portability/Sockets.cpp \
488 portability/Stdio.cpp \
489 portability/Stdlib.cpp \
490 portability/String.cpp \
491 portability/SysFile.cpp \
492 portability/SysMembarrier.cpp \
493 portability/SysMman.cpp \
494 portability/SysResource.cpp \
495 portability/SysStat.cpp \
496 portability/SysTime.cpp \
497 portability/SysUio.cpp \
498 portability/Time.cpp \
499 portability/Unistd.cpp \
510 ssl/OpenSSLCertUtils.cpp \
511 ssl/OpenSSLHash.cpp \
512 ssl/detail/SSLSessionImpl.cpp \
513 stats/Instantiations.cpp \
515 ThreadCachedArena.cpp \
519 experimental/AsymmetricMemoryBarrier.cpp \
520 experimental/bser/Dump.cpp \
521 experimental/bser/Load.cpp \
522 experimental/DynamicParser.cpp \
523 experimental/EnvUtil.cpp \
524 experimental/FunctionScheduler.cpp \
525 experimental/io/FsUtil.cpp \
526 experimental/JemallocNodumpAllocator.cpp \
527 experimental/JSONSchema.cpp \
528 experimental/NestedCommandLineApp.cpp \
529 experimental/observer/detail/Core.cpp \
530 experimental/observer/detail/ObserverManager.cpp \
531 experimental/ProgramOptions.cpp \
532 experimental/Select64.cpp \
533 experimental/TestUtil.cpp
536 nobase_follyinclude_HEADERS += \
537 experimental/io/HugePages.h
538 libfolly_la_SOURCES += \
539 experimental/io/HugePages.cpp
542 if !HAVE_WEAK_SYMBOLS
543 libfollybase_la_SOURCES += detail/MallocImpl.cpp
546 if HAVE_BOOST_CONTEXT
547 nobase_follyinclude_HEADERS += \
549 fibers/AddTasks-inl.h \
550 fibers/AtomicBatchDispatcher.h \
551 fibers/AtomicBatchDispatcher-inl.h \
554 fibers/BatchDispatcher.h \
555 fibers/BoostContextCompatibility.h \
556 fibers/detail/AtomicBatchDispatcher.h \
557 fibers/EventBaseLoopController.h \
558 fibers/EventBaseLoopController-inl.h \
561 fibers/FiberManager.h \
562 fibers/FiberManager-inl.h \
563 fibers/FiberManagerInternal.h \
564 fibers/FiberManagerInternal-inl.h \
565 fibers/FiberManagerMap.h \
567 fibers/ForEach-inl.h \
568 fibers/GenericBaton.h \
569 fibers/GuardPageAllocator.h \
570 fibers/LoopController.h \
572 fibers/Promise-inl.h \
574 fibers/SimpleLoopController.h \
575 fibers/TimedMutex.h \
576 fibers/TimedMutex-inl.h \
577 fibers/TimeoutController.h \
582 libfolly_la_SOURCES += \
584 fibers/detail/AtomicBatchDispatcher.cpp \
586 fibers/FiberManager.cpp \
587 fibers/FiberManagerMap.cpp \
588 fibers/GuardPageAllocator.cpp \
589 fibers/Semaphore.cpp \
590 fibers/TimeoutController.cpp
593 libfollybasesse42_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
594 libfollybasesse42_la_CXXFLAGS = -msse4.2
596 libfollybase_la_LIBADD = libfollybasesse42.la
597 libfollybase_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
599 libfolly_la_LIBADD = libfollybase.la
600 libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) -lssl
602 FingerprintTables.cpp: generate_fingerprint_tables
603 ./generate_fingerprint_tables
604 CLEANFILES += FingerprintTables.cpp
606 libfollybenchmark_la_SOURCES = Benchmark.cpp
607 libfollybenchmark_la_LIBADD = libfolly.la
608 libfollybenchmark_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
610 # install pkg-config metadata file
611 pkgconfigdir = $(libdir)/pkgconfig
612 nodist_pkgconfig_DATA = libfolly.pc