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 \
44 ClockGettimeWrappers.h \
45 ConcurrentSkipList.h \
46 ConcurrentSkipList-inl.h \
52 detail/AtomicHashUtils.h \
53 detail/AtomicUnorderedMapUtils.h \
54 detail/BitIteratorDetail.h \
56 detail/CacheLocality.h \
57 detail/ChecksumDetail.h \
58 detail/DiscriminatedPtrDetail.h \
59 detail/ExceptionWrapper.h \
60 detail/FileUtilDetail.h \
61 detail/FingerprintPolynomial.h \
62 detail/FunctionalExcept.h \
64 detail/GroupVarintDetail.h \
66 detail/IPAddressSource.h \
68 detail/MemoryIdler.h \
69 detail/MPMCPipelineDetail.h \
70 detail/RangeCommon.h \
73 detail/SlowFingerprint.h \
74 detail/SocketFastOpen.h \
75 detail/SpinLockImpl.h \
76 detail/StaticSingletonManager.h \
78 detail/ThreadLocalDetail.h \
79 detail/TurnSequencer.h \
80 detail/UncaughtExceptionCounter.h \
92 experimental/AsymmetricMemoryBarrier.h \
93 experimental/AutoTimer.h \
95 experimental/BitVectorCoding.h \
96 experimental/DynamicParser.h \
97 experimental/DynamicParser-inl.h \
98 experimental/ExecutionObserver.h \
99 experimental/EliasFanoCoding.h \
100 experimental/EventCount.h \
101 experimental/Instructions.h \
102 experimental/bser/Bser.h \
103 experimental/FunctionScheduler.h \
104 experimental/FutureDAG.h \
105 experimental/io/FsUtil.h \
106 experimental/JSONSchema.h \
107 experimental/LockFreeRingBuffer.h \
108 experimental/NestedCommandLineApp.h \
109 experimental/ProgramOptions.h \
110 experimental/ReadMostlySharedPtr.h \
111 experimental/symbolizer/Elf.h \
112 experimental/symbolizer/ElfCache.h \
113 experimental/symbolizer/Dwarf.h \
114 experimental/symbolizer/LineReader.h \
115 experimental/symbolizer/SignalHandler.h \
116 experimental/symbolizer/StackTrace.cpp \
117 experimental/symbolizer/Symbolizer.h \
118 experimental/Select64.h \
119 experimental/StringKeyedCommon.h \
120 experimental/StringKeyedUnorderedMap.h \
121 experimental/StringKeyedUnorderedSet.h \
122 experimental/TestUtil.h \
123 experimental/TLRefCount.h \
124 experimental/TupleOps.h \
137 futures/DrivableExecutor.h \
138 futures/Future-pre.h \
141 futures/Future-inl.h \
142 futures/FutureException.h \
143 futures/InlineExecutor.h \
144 futures/ManualExecutor.h \
145 futures/OpaqueCallbackShunt.h \
146 futures/Promise-inl.h \
148 futures/QueuedImmediateExecutor.h \
149 futures/ScheduledExecutor.h \
150 futures/SharedPromise.h \
151 futures/SharedPromise-inl.h \
152 futures/ThreadWheelTimekeeper.h \
153 futures/Timekeeper.h \
154 futures/detail/Core.h \
155 futures/detail/FSM.h \
156 futures/detail/Types.h \
168 gen/ParallelMap-inl.h \
176 IPAddressException.h \
189 io/ShutdownSocketSet.h \
190 io/async/AsyncPipe.h \
191 io/async/AsyncTimeout.h \
192 io/async/AsyncTransport.h \
193 io/async/AsyncUDPServerSocket.h \
194 io/async/AsyncUDPSocket.h \
195 io/async/AsyncServerSocket.h \
196 io/async/AsyncSignalHandler.h \
197 io/async/AsyncSocket.h \
198 io/async/AsyncSocketBase.h \
199 io/async/AsyncSSLSocket.h \
200 io/async/AsyncSocketException.h \
201 io/async/DecoratedAsyncTransportWrapper.h \
202 io/async/DelayedDestructionBase.h \
203 io/async/DelayedDestruction.h \
204 io/async/EventBase.h \
205 io/async/EventBaseLocal.h \
206 io/async/EventBaseManager.h \
207 io/async/EventFDWrapper.h \
208 io/async/EventHandler.h \
209 io/async/EventUtil.h \
210 io/async/NotificationQueue.h \
211 io/async/HHWheelTimer.h \
212 io/async/ssl/OpenSSLPtrTypes.h \
213 io/async/ssl/OpenSSLUtils.h \
214 io/async/ssl/SSLErrors.h \
215 io/async/ssl/TLSDefinitions.h \
217 io/async/SSLContext.h \
218 io/async/ScopedEventBaseThread.h \
219 io/async/TimeoutManager.h \
220 io/async/WriteChainAsyncTransportWrapper.h \
221 io/async/test/AsyncSSLSocketTest.h \
222 io/async/test/BlockingSocket.h \
223 io/async/test/MockAsyncSocket.h \
224 io/async/test/MockAsyncServerSocket.h \
225 io/async/test/MockAsyncSSLSocket.h \
226 io/async/test/MockAsyncTransport.h \
227 io/async/test/MockAsyncUDPSocket.h \
228 io/async/test/MockTimeoutManager.h \
229 io/async/test/SocketPair.h \
230 io/async/test/TimeUtil.h \
231 io/async/test/UndelayedDestruction.h \
232 io/async/test/Util.h \
257 portability/Atomic.h \
258 portability/Builtins.h \
259 portability/Config.h \
260 portability/Constexpr.h \
261 portability/Dirent.h \
262 portability/Environment.h \
263 portability/Event.h \
264 portability/Fcntl.h \
265 portability/GFlags.h \
266 portability/IOVec.h \
267 portability/Libgen.h \
268 portability/Malloc.h \
270 portability/Memory.h \
271 portability/PThread.h \
272 portability/Sockets.h \
273 portability/Stdio.h \
274 portability/Stdlib.h \
275 portability/String.h \
276 portability/Syslog.h \
277 portability/SysFile.h \
278 portability/SysMembarrier.h \
279 portability/SysMman.h \
280 portability/SysResource.h \
281 portability/SysStat.h \
282 portability/SysSyscall.h \
283 portability/SysTime.h \
284 portability/SysTypes.h \
285 portability/SysUio.h \
287 portability/Windows.h \
288 portability/Unistd.h \
290 ProducerConsumerQueue.h \
299 SingletonThreadLocal.h \
303 sorted_vector_types.h \
309 stats/BucketedTimeSeries-defs.h \
310 stats/BucketedTimeSeries.h \
311 stats/Histogram-defs.h \
313 stats/MultiLevelTimeSeries-defs.h \
314 stats/MultiLevelTimeSeries.h \
315 stats/TimeseriesHistogram-defs.h \
316 stats/TimeseriesHistogram.h \
322 test/FBStringTestBenchmarks.cpp.h \
323 test/FBVectorTestBenchmarks.cpp.h \
324 test/function_benchmark/benchmark_impl.h \
325 test/function_benchmark/test_functions.h \
326 test/SynchronizedTestLib.h \
327 test/SynchronizedTestLib-inl.h \
329 ThreadCachedArena.h \
345 FormatTables.cpp: build/generate_format_tables.py
346 $(PYTHON) build/generate_format_tables.py
347 CLEANFILES += FormatTables.cpp
349 EscapeTables.cpp: build/generate_escape_tables.py
350 $(PYTHON) build/generate_escape_tables.py
351 CLEANFILES += EscapeTables.cpp
353 GroupVarintTables.cpp: build/generate_varint_tables.py
354 $(PYTHON) build/generate_varint_tables.py
355 CLEANFILES += GroupVarintTables.cpp
357 libfollybase_la_SOURCES = \
360 detail/RangeCommon.cpp \
361 detail/RangeSse42.cpp \
370 libfolly_la_SOURCES = \
374 ClockGettimeWrappers.cpp \
375 detail/CacheLocality.cpp \
376 detail/IPAddress.cpp \
380 FingerprintTables.cpp \
381 futures/Barrier.cpp \
383 futures/InlineExecutor.cpp \
384 futures/ManualExecutor.cpp \
385 futures/QueuedImmediateExecutor.cpp \
386 futures/ThreadWheelTimekeeper.cpp \
388 detail/StaticSingletonManager.cpp \
389 detail/ThreadLocalDetail.cpp \
391 GroupVarintTables.cpp \
401 io/ShutdownSocketSet.cpp \
402 io/async/AsyncPipe.cpp \
403 io/async/AsyncTimeout.cpp \
404 io/async/AsyncUDPSocket.cpp \
405 io/async/AsyncServerSocket.cpp \
406 io/async/AsyncSignalHandler.cpp \
407 io/async/AsyncSocket.cpp \
408 io/async/AsyncSSLSocket.cpp \
409 io/async/EventBase.cpp \
410 io/async/EventBaseLocal.cpp \
411 io/async/EventBaseManager.cpp \
412 io/async/EventHandler.cpp \
413 io/async/Request.cpp \
414 io/async/SSLContext.cpp \
415 io/async/ScopedEventBaseThread.cpp \
416 io/async/HHWheelTimer.cpp \
417 io/async/test/SocketPair.cpp \
418 io/async/test/TimeUtil.cpp \
419 io/async/ssl/OpenSSLUtils.cpp \
420 io/async/ssl/SSLErrors.cpp \
422 detail/MemoryIdler.cpp \
423 detail/SocketFastOpen.cpp \
426 portability/Dirent.cpp \
427 portability/Environment.cpp \
428 portability/Fcntl.cpp \
429 portability/Libgen.cpp \
430 portability/Malloc.cpp \
431 portability/Memory.cpp \
432 portability/Sockets.cpp \
433 portability/Stdio.cpp \
434 portability/Stdlib.cpp \
435 portability/String.cpp \
436 portability/SysFile.cpp \
437 portability/SysMembarrier.cpp \
438 portability/SysMman.cpp \
439 portability/SysResource.cpp \
440 portability/SysStat.cpp \
441 portability/SysTime.cpp \
442 portability/SysUio.cpp \
443 portability/Time.cpp \
444 portability/Unistd.cpp \
453 ssl/OpenSSLHash.cpp \
454 stats/Instantiations.cpp \
456 ThreadCachedArena.cpp \
460 experimental/AsymmetricMemoryBarrier.cpp \
461 experimental/bser/Dump.cpp \
462 experimental/bser/Load.cpp \
463 experimental/DynamicParser.cpp \
464 experimental/FunctionScheduler.cpp \
465 experimental/io/FsUtil.cpp \
466 experimental/JSONSchema.cpp \
467 experimental/NestedCommandLineApp.cpp \
468 experimental/ProgramOptions.cpp \
469 experimental/Select64.cpp \
470 experimental/TestUtil.cpp
473 nobase_follyinclude_HEADERS += \
474 experimental/io/HugePages.h
475 libfolly_la_SOURCES += \
476 experimental/io/HugePages.cpp
479 if !HAVE_WEAK_SYMBOLS
480 libfollybase_la_SOURCES += detail/MallocImpl.cpp
483 if !HAVE_BITS_FUNCTEXCEPT_H
484 libfollybase_la_SOURCES += detail/FunctionalExcept.cpp
487 if HAVE_BOOST_CONTEXT
488 nobase_follyinclude_HEADERS += \
490 fibers/AddTasks-inl.h \
493 fibers/BoostContextCompatibility.h \
494 fibers/EventBaseLoopController.h \
495 fibers/EventBaseLoopController-inl.h \
498 fibers/FiberManager.h \
499 fibers/FiberManager-inl.h \
500 fibers/FiberManagerMap.h \
502 fibers/ForEach-inl.h \
503 fibers/GenericBaton.h \
504 fibers/GuardPageAllocator.h \
505 fibers/LoopController.h \
507 fibers/Promise-inl.h \
508 fibers/SimpleLoopController.h \
509 fibers/TimedMutex.h \
510 fibers/TimedMutex-inl.h \
511 fibers/TimeoutController.h \
516 libfolly_la_SOURCES += \
519 fibers/FiberManager.cpp \
520 fibers/FiberManagerMap.cpp \
521 fibers/GuardPageAllocator.cpp \
522 fibers/TimeoutController.cpp
525 libfollybase_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
527 libfolly_la_LIBADD = libfollybase.la
528 libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) -lssl
530 FingerprintTables.cpp: generate_fingerprint_tables
531 ./generate_fingerprint_tables
532 CLEANFILES += FingerprintTables.cpp
534 libfollybenchmark_la_SOURCES = Benchmark.cpp
535 libfollybenchmark_la_LIBADD = libfolly.la
536 libfollybenchmark_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
538 # install pkg-config metadata file
539 pkgconfigdir = $(libdir)/pkgconfig
540 nodist_pkgconfig_DATA = libfolly.pc