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 = \
16 libfollybasesse42.la \
23 follyincludedir = $(includedir)/folly
25 nobase_follyinclude_HEADERS = \
33 AtomicHashArray-inl.h \
36 AtomicIntrusiveLinkedList.h \
39 AtomicUnorderedMap.h \
46 ClockGettimeWrappers.h \
47 ConcurrentSkipList.h \
48 ConcurrentSkipList-inl.h \
54 detail/AtomicHashUtils.h \
55 detail/AtomicUnorderedMapUtils.h \
56 detail/BitIteratorDetail.h \
58 detail/CacheLocality.h \
59 detail/CachelinePaddedImpl.h \
60 detail/ChecksumDetail.h \
61 detail/DiscriminatedPtrDetail.h \
62 detail/ExceptionWrapper.h \
63 detail/FileUtilDetail.h \
64 detail/FingerprintPolynomial.h \
66 detail/GroupVarintDetail.h \
68 detail/IPAddressSource.h \
70 detail/MemoryIdler.h \
71 detail/MPMCPipelineDetail.h \
72 detail/RangeCommon.h \
75 detail/SlowFingerprint.h \
76 detail/SocketFastOpen.h \
77 detail/SpinLockImpl.h \
78 detail/StaticSingletonManager.h \
80 detail/ThreadLocalDetail.h \
82 detail/TurnSequencer.h \
83 detail/UncaughtExceptionCounter.h \
96 experimental/AsymmetricMemoryBarrier.h \
97 experimental/AutoTimer.h \
99 experimental/BitVectorCoding.h \
100 experimental/DynamicParser.h \
101 experimental/DynamicParser-inl.h \
102 experimental/ExecutionObserver.h \
103 experimental/EliasFanoCoding.h \
104 experimental/EventCount.h \
105 experimental/Instructions.h \
106 experimental/bser/Bser.h \
107 experimental/FunctionScheduler.h \
108 experimental/FutureDAG.h \
109 experimental/io/FsUtil.h \
110 experimental/JSONSchema.h \
111 experimental/LockFreeRingBuffer.h \
112 experimental/NestedCommandLineApp.h \
113 experimental/observer/detail/Core.h \
114 experimental/observer/detail/GraphCycleDetector.h \
115 experimental/observer/detail/ObserverManager.h \
116 experimental/observer/detail/Observer-pre.h \
117 experimental/observer/Observable.h \
118 experimental/observer/Observable-inl.h \
119 experimental/observer/Observer.h \
120 experimental/observer/Observer-inl.h \
121 experimental/observer/SimpleObservable.h \
122 experimental/observer/SimpleObservable-inl.h \
123 experimental/ProgramOptions.h \
124 experimental/ReadMostlySharedPtr.h \
125 experimental/symbolizer/Elf.h \
126 experimental/symbolizer/ElfCache.h \
127 experimental/symbolizer/Dwarf.h \
128 experimental/symbolizer/LineReader.h \
129 experimental/symbolizer/SignalHandler.h \
130 experimental/symbolizer/StackTrace.cpp \
131 experimental/symbolizer/Symbolizer.h \
132 experimental/Select64.h \
133 experimental/StringKeyedCommon.h \
134 experimental/StringKeyedMap.h \
135 experimental/StringKeyedSet.h \
136 experimental/StringKeyedUnorderedMap.h \
137 experimental/StringKeyedUnorderedSet.h \
138 experimental/TestUtil.h \
139 experimental/TLRefCount.h \
140 experimental/TupleOps.h \
153 futures/DrivableExecutor.h \
154 futures/Future-pre.h \
157 futures/Future-inl.h \
158 futures/FutureException.h \
159 futures/InlineExecutor.h \
160 futures/ManualExecutor.h \
161 futures/OpaqueCallbackShunt.h \
162 futures/Promise-inl.h \
164 futures/QueuedImmediateExecutor.h \
165 futures/ScheduledExecutor.h \
166 futures/SharedPromise.h \
167 futures/SharedPromise-inl.h \
168 futures/ThreadWheelTimekeeper.h \
169 futures/Timekeeper.h \
170 futures/detail/Core.h \
171 futures/detail/FSM.h \
172 futures/detail/Types.h \
184 gen/ParallelMap-inl.h \
192 IPAddressException.h \
205 io/ShutdownSocketSet.h \
206 io/async/AsyncPipe.h \
207 io/async/AsyncTimeout.h \
208 io/async/AsyncTransport.h \
209 io/async/AsyncUDPServerSocket.h \
210 io/async/AsyncUDPSocket.h \
211 io/async/AsyncServerSocket.h \
212 io/async/AsyncSignalHandler.h \
213 io/async/AsyncSocket.h \
214 io/async/AsyncSocketBase.h \
215 io/async/AsyncSSLSocket.h \
216 io/async/AsyncSocketException.h \
217 io/async/DecoratedAsyncTransportWrapper.h \
218 io/async/DelayedDestructionBase.h \
219 io/async/DelayedDestruction.h \
220 io/async/EventBase.h \
221 io/async/EventBaseLocal.h \
222 io/async/EventBaseManager.h \
223 io/async/EventFDWrapper.h \
224 io/async/EventHandler.h \
225 io/async/EventUtil.h \
226 io/async/NotificationQueue.h \
227 io/async/HHWheelTimer.h \
228 io/async/ssl/OpenSSLPtrTypes.h \
229 io/async/ssl/OpenSSLUtils.h \
230 io/async/ssl/SSLErrors.h \
231 io/async/ssl/TLSDefinitions.h \
233 io/async/SSLContext.h \
234 io/async/ScopedEventBaseThread.h \
235 io/async/TimeoutManager.h \
236 io/async/WriteChainAsyncTransportWrapper.h \
237 io/async/test/AsyncSSLSocketTest.h \
238 io/async/test/BlockingSocket.h \
239 io/async/test/MockAsyncSocket.h \
240 io/async/test/MockAsyncServerSocket.h \
241 io/async/test/MockAsyncSSLSocket.h \
242 io/async/test/MockAsyncTransport.h \
243 io/async/test/MockAsyncUDPSocket.h \
244 io/async/test/MockTimeoutManager.h \
245 io/async/test/ScopedBoundPort.h \
246 io/async/test/SocketPair.h \
247 io/async/test/TimeUtil.h \
248 io/async/test/UndelayedDestruction.h \
249 io/async/test/Util.h \
276 portability/Atomic.h \
277 portability/BitsFunctexcept.h \
278 portability/Builtins.h \
279 portability/Config.h \
280 portability/Constexpr.h \
281 portability/Dirent.h \
282 portability/Environment.h \
283 portability/Event.h \
284 portability/Fcntl.h \
285 portability/GFlags.h \
286 portability/GMock.h \
287 portability/GTest.h \
288 portability/IOVec.h \
289 portability/Libgen.h \
290 portability/Malloc.h \
292 portability/Memory.h \
293 portability/PThread.h \
294 portability/Sockets.h \
295 portability/Stdio.h \
296 portability/Stdlib.h \
297 portability/String.h \
298 portability/Syslog.h \
299 portability/SysFile.h \
300 portability/SysMembarrier.h \
301 portability/SysMman.h \
302 portability/SysResource.h \
303 portability/SysStat.h \
304 portability/SysSyscall.h \
305 portability/SysTime.h \
306 portability/SysTypes.h \
307 portability/SysUio.h \
309 portability/TypeTraits.h \
310 portability/Windows.h \
311 portability/Unistd.h \
313 ProducerConsumerQueue.h \
323 SingletonThreadLocal.h \
327 sorted_vector_types.h \
334 ssl/detail/OpenSSLVersionFinder.h \
335 ssl/detail/SSLSessionImpl.h \
336 stats/BucketedTimeSeries-defs.h \
337 stats/BucketedTimeSeries.h \
338 stats/Histogram-defs.h \
340 stats/MultiLevelTimeSeries-defs.h \
341 stats/MultiLevelTimeSeries.h \
342 stats/TimeseriesHistogram-defs.h \
343 stats/TimeseriesHistogram.h \
349 test/FBStringTestBenchmarks.cpp.h \
350 test/FBVectorTestBenchmarks.cpp.h \
351 test/function_benchmark/benchmark_impl.h \
352 test/function_benchmark/test_functions.h \
353 test/SynchronizedTestLib.h \
354 test/SynchronizedTestLib-inl.h \
356 ThreadCachedArena.h \
373 FormatTables.cpp: build/generate_format_tables.py
374 $(PYTHON) build/generate_format_tables.py
375 CLEANFILES += FormatTables.cpp
377 EscapeTables.cpp: build/generate_escape_tables.py
378 $(PYTHON) build/generate_escape_tables.py
379 CLEANFILES += EscapeTables.cpp
381 GroupVarintTables.cpp: build/generate_varint_tables.py
382 $(PYTHON) build/generate_varint_tables.py
383 CLEANFILES += GroupVarintTables.cpp
385 libfollybasesse42_la_SOURCES = \
386 detail/RangeSse42.cpp
388 libfollybase_la_SOURCES = \
391 detail/RangeCommon.cpp \
396 portability/BitsFunctexcept.cpp \
401 libfolly_la_SOURCES = \
405 ClockGettimeWrappers.cpp \
406 detail/CacheLocality.cpp \
407 detail/IPAddress.cpp \
411 FingerprintTables.cpp \
412 futures/Barrier.cpp \
414 futures/InlineExecutor.cpp \
415 futures/ManualExecutor.cpp \
416 futures/QueuedImmediateExecutor.cpp \
417 futures/ThreadWheelTimekeeper.cpp \
419 detail/StaticSingletonManager.cpp \
420 detail/ThreadLocalDetail.cpp \
422 GroupVarintTables.cpp \
432 io/ShutdownSocketSet.cpp \
433 io/async/AsyncPipe.cpp \
434 io/async/AsyncTimeout.cpp \
435 io/async/AsyncUDPSocket.cpp \
436 io/async/AsyncServerSocket.cpp \
437 io/async/AsyncSignalHandler.cpp \
438 io/async/AsyncSocket.cpp \
439 io/async/AsyncSSLSocket.cpp \
440 io/async/EventBase.cpp \
441 io/async/EventBaseLocal.cpp \
442 io/async/EventBaseManager.cpp \
443 io/async/EventHandler.cpp \
444 io/async/Request.cpp \
445 io/async/SSLContext.cpp \
446 io/async/ScopedEventBaseThread.cpp \
447 io/async/HHWheelTimer.cpp \
448 io/async/test/ScopedBoundPort.cpp \
449 io/async/test/SocketPair.cpp \
450 io/async/test/TimeUtil.cpp \
451 io/async/ssl/OpenSSLUtils.cpp \
452 io/async/ssl/SSLErrors.cpp \
454 detail/MemoryIdler.cpp \
455 detail/SocketFastOpen.cpp \
458 portability/Dirent.cpp \
459 portability/Environment.cpp \
460 portability/Fcntl.cpp \
461 portability/Libgen.cpp \
462 portability/Malloc.cpp \
463 portability/Memory.cpp \
464 portability/Sockets.cpp \
465 portability/Stdio.cpp \
466 portability/Stdlib.cpp \
467 portability/String.cpp \
468 portability/SysFile.cpp \
469 portability/SysMembarrier.cpp \
470 portability/SysMman.cpp \
471 portability/SysResource.cpp \
472 portability/SysStat.cpp \
473 portability/SysTime.cpp \
474 portability/SysUio.cpp \
475 portability/Time.cpp \
476 portability/Unistd.cpp \
486 ssl/OpenSSLHash.cpp \
487 ssl/detail/SSLSessionImpl.cpp \
488 stats/Instantiations.cpp \
490 ThreadCachedArena.cpp \
494 experimental/AsymmetricMemoryBarrier.cpp \
495 experimental/bser/Dump.cpp \
496 experimental/bser/Load.cpp \
497 experimental/DynamicParser.cpp \
498 experimental/FunctionScheduler.cpp \
499 experimental/io/FsUtil.cpp \
500 experimental/JSONSchema.cpp \
501 experimental/NestedCommandLineApp.cpp \
502 experimental/observer/detail/Core.cpp \
503 experimental/observer/detail/ObserverManager.cpp \
504 experimental/ProgramOptions.cpp \
505 experimental/Select64.cpp \
506 experimental/TestUtil.cpp
509 nobase_follyinclude_HEADERS += \
510 experimental/io/HugePages.h
511 libfolly_la_SOURCES += \
512 experimental/io/HugePages.cpp
515 if !HAVE_WEAK_SYMBOLS
516 libfollybase_la_SOURCES += detail/MallocImpl.cpp
519 if HAVE_BOOST_CONTEXT
520 nobase_follyinclude_HEADERS += \
522 fibers/AddTasks-inl.h \
523 fibers/AtomicBatchDispatcher.h \
524 fibers/AtomicBatchDispatcher-inl.h \
527 fibers/BatchDispatcher.h \
528 fibers/BoostContextCompatibility.h \
529 fibers/EventBaseLoopController.h \
530 fibers/EventBaseLoopController-inl.h \
533 fibers/FiberManager.h \
534 fibers/FiberManager-inl.h \
535 fibers/FiberManagerInternal.h \
536 fibers/FiberManagerInternal-inl.h \
537 fibers/FiberManagerMap.h \
539 fibers/ForEach-inl.h \
540 fibers/GenericBaton.h \
541 fibers/GuardPageAllocator.h \
542 fibers/LoopController.h \
544 fibers/Promise-inl.h \
546 fibers/SimpleLoopController.h \
547 fibers/TimedMutex.h \
548 fibers/TimedMutex-inl.h \
549 fibers/TimeoutController.h \
554 libfolly_la_SOURCES += \
557 fibers/FiberManager.cpp \
558 fibers/FiberManagerMap.cpp \
559 fibers/GuardPageAllocator.cpp \
560 fibers/Semaphore.cpp \
561 fibers/TimeoutController.cpp
564 libfollybasesse42_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
565 libfollybasesse42_la_CXXFLAGS = -msse4.2
567 libfollybase_la_LIBADD = libfollybasesse42.la
568 libfollybase_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
570 libfolly_la_LIBADD = libfollybase.la
571 libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) -lssl
573 FingerprintTables.cpp: generate_fingerprint_tables
574 ./generate_fingerprint_tables
575 CLEANFILES += FingerprintTables.cpp
577 libfollybenchmark_la_SOURCES = Benchmark.cpp
578 libfollybenchmark_la_LIBADD = libfolly.la
579 libfollybenchmark_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
581 # install pkg-config metadata file
582 pkgconfigdir = $(libdir)/pkgconfig
583 nodist_pkgconfig_DATA = libfolly.pc