move python/NotificationQueueExecutor to futures/
[folly.git] / folly / Makefile.am
1 if FOLLY_TESTMAIN
2 MAYBE_INIT = init
3 endif
4
5 # Note that the order of SUBDIRS matters.
6 # Many subdirectories depend on libfollytest from the test directory,
7 # so it must appear before other directories
8 SUBDIRS = . test experimental $(MAYBE_INIT) io/test stats/test
9
10 ACLOCAL_AMFLAGS = -I m4
11
12 CLEANFILES =
13
14
15 noinst_PROGRAMS = generate_fingerprint_tables
16 generate_fingerprint_tables_SOURCES = build/GenerateFingerprintTables.cpp
17 generate_fingerprint_tables_LDADD = libfollybase.la
18
19 noinst_LTLIBRARIES = \
20         libfollybasesse42.la \
21         libfollybase.la
22
23 lib_LTLIBRARIES = \
24         libfolly.la \
25         libfollybenchmark.la
26
27 follyincludedir = $(includedir)/folly
28
29 nobase_follyinclude_HEADERS = \
30         ApplyTuple.h \
31         Arena.h \
32         Arena-inl.h \
33         Array.h \
34         Assume.h \
35         AtomicBitSet.h \
36         AtomicHashArray.h \
37         AtomicHashArray-inl.h \
38         AtomicHashMap.h \
39         AtomicHashMap-inl.h \
40         AtomicIntrusiveLinkedList.h \
41         AtomicLinkedList.h \
42         AtomicStruct.h \
43         AtomicUnorderedMap.h \
44         Baton.h \
45         Benchmark.h \
46         Bits.h \
47         CachelinePadded.h \
48         CallOnce.h \
49         Chrono.h \
50         ClockGettimeWrappers.h \
51         ConcurrentSkipList.h \
52         ConcurrentSkipList-inl.h \
53         ContainerTraits.h \
54         Conv.h \
55         CppAttributes.h \
56         CpuId.h \
57         CPortability.h \
58         concurrency/CacheLocality.h \
59         concurrency/ConcurrentHashMap.h \
60         concurrency/CoreCachedSharedPtr.h \
61         concurrency/GlobalThreadPoolList.h \
62         concurrency/detail/ConcurrentHashMap-detail.h \
63         ConstexprMath.h \
64         detail/AtomicHashUtils.h \
65         detail/AtomicUnorderedMapUtils.h \
66         detail/AtomicUtils.h \
67         detail/BitIteratorDetail.h \
68         detail/DiscriminatedPtrDetail.h \
69         detail/FileUtilDetail.h \
70         detail/FingerprintPolynomial.h \
71         detail/Futex.h \
72         detail/GroupVarintDetail.h \
73         detail/IPAddress.h \
74         detail/IPAddressSource.h \
75         detail/MallocImpl.h \
76         detail/MemoryIdler.h \
77         detail/MPMCPipelineDetail.h \
78         detail/RangeCommon.h \
79         detail/RangeSse42.h \
80         detail/Sleeper.h \
81         detail/SlowFingerprint.h \
82         detail/SocketFastOpen.h \
83         detail/StaticSingletonManager.h \
84         detail/ThreadLocalDetail.h \
85         detail/TurnSequencer.h \
86         detail/UncaughtExceptionCounter.h \
87         executors/Async.h \
88         executors/BlockingQueue.h \
89         executors/CPUThreadPoolExecutor.h \
90         executors/Codel.h \
91         executors/FiberIOExecutor.h \
92         executors/FutureExecutor.h \
93         executors/GlobalExecutor.h \
94         executors/IOExecutor.h \
95         executors/IOObjectCache.h \
96         executors/IOThreadPoolExecutor.h \
97         executors/LifoSemMPMCQueue.h \
98         executors/NamedThreadFactory.h \
99         executors/NotificationQueueExecutor.h \
100         executors/PriorityLifoSemMPMCQueue.h \
101         executors/PriorityThreadFactory.h \
102         executors/SerialExecutor.h \
103         executors/ThreadFactory.h \
104         executors/ThreadPoolExecutor.h \
105         executors/ThreadedExecutor.h \
106         executors/UnboundedBlockingQueue.h \
107         Demangle.h \
108         DiscriminatedPtr.h \
109         DynamicConverter.h \
110         dynamic.h \
111         dynamic-inl.h \
112         Enumerate.h \
113         EvictingCacheMap.h \
114         Exception.h \
115         ExceptionString.h \
116         ExceptionWrapper.h \
117         ExceptionWrapper-inl.h \
118         Executor.h \
119         Expected.h \
120         concurrency/AtomicSharedPtr.h \
121         concurrency/detail/AtomicSharedPtr-detail.h \
122         experimental/AsymmetricMemoryBarrier.h \
123         experimental/AutoTimer.h \
124         experimental/ThreadedRepeatingFunctionRunner.h \
125         experimental/Bits.h \
126         experimental/BitVectorCoding.h \
127         experimental/CodingDetail.h \
128         experimental/DynamicParser.h \
129         experimental/DynamicParser-inl.h \
130         experimental/ExecutionObserver.h \
131         experimental/EliasFanoCoding.h \
132         experimental/EnvUtil.h \
133         experimental/EventCount.h \
134         experimental/Instructions.h \
135         experimental/bser/Bser.h \
136         experimental/exception_tracer/ExceptionAbi.h \
137         experimental/exception_tracer/ExceptionCounterLib.h \
138         experimental/exception_tracer/ExceptionTracer.h \
139         experimental/exception_tracer/ExceptionTracerLib.h \
140         experimental/exception_tracer/StackTrace.h \
141         experimental/FunctionScheduler.h \
142         experimental/FutureDAG.h \
143         experimental/hazptr/debug.h \
144         experimental/hazptr/hazptr.h \
145         experimental/hazptr/hazptr-impl.h \
146         experimental/hazptr/memory_resource.h \
147         experimental/io/FsUtil.h \
148         experimental/JemallocNodumpAllocator.h \
149         experimental/JSONSchema.h \
150         experimental/LockFreeRingBuffer.h \
151         experimental/logging/AsyncFileWriter.h \
152         experimental/logging/GlogStyleFormatter.h \
153         experimental/logging/ImmediateFileWriter.h \
154         experimental/logging/Init.h \
155         experimental/logging/LogCategory.h \
156         experimental/logging/LogFormatter.h \
157         experimental/logging/Logger.h \
158         experimental/logging/LoggerDB.h \
159         experimental/logging/LogHandler.h \
160         experimental/logging/LogLevel.h \
161         experimental/logging/LogMessage.h \
162         experimental/logging/LogName.h \
163         experimental/logging/LogStream.h \
164         experimental/logging/LogStreamProcessor.h \
165         experimental/logging/LogWriter.h \
166         experimental/logging/printf.h \
167         experimental/logging/RateLimiter.h \
168         experimental/logging/StandardLogHandler.h \
169         experimental/logging/xlog.h \
170         experimental/NestedCommandLineApp.h \
171         experimental/observer/detail/Core.h \
172         experimental/observer/detail/GraphCycleDetector.h \
173         experimental/observer/detail/ObserverManager.h \
174         experimental/observer/detail/Observer-pre.h \
175         experimental/observer/Observable.h \
176         experimental/observer/Observable-inl.h \
177         experimental/observer/Observer.h \
178         experimental/observer/Observer-inl.h \
179         experimental/observer/SimpleObservable.h \
180         experimental/observer/SimpleObservable-inl.h \
181         experimental/ProgramOptions.h \
182         experimental/ReadMostlySharedPtr.h \
183         experimental/Select64.h \
184         experimental/StampedPtr.h \
185         experimental/StringKeyedCommon.h \
186         experimental/StringKeyedMap.h \
187         experimental/StringKeyedSet.h \
188         experimental/StringKeyedUnorderedMap.h \
189         experimental/StringKeyedUnorderedSet.h \
190         experimental/TestUtil.h \
191         experimental/TLRefCount.h \
192         experimental/TupleOps.h \
193         FBString.h \
194         FBVector.h \
195         File.h \
196         FileUtil.h \
197         Fingerprint.h \
198         FixedString.h \
199         folly-config.h \
200         Foreach.h \
201         Foreach-inl.h \
202         FormatArg.h \
203         FormatTraits.h \
204         Format.h \
205         Format-inl.h \
206         futures/Barrier.h \
207         futures/DrivableExecutor.h \
208         futures/Future-pre.h \
209         futures/helpers.h \
210         futures/Future.h \
211         futures/Future-inl.h \
212         futures/FutureException.h \
213         futures/FutureSplitter.h \
214         futures/InlineExecutor.h \
215         futures/ManualExecutor.h \
216         futures/Promise-inl.h \
217         futures/Promise.h \
218         futures/QueuedImmediateExecutor.h \
219         futures/Retrying.h \
220         futures/ScheduledExecutor.h \
221         futures/SharedPromise.h \
222         futures/SharedPromise-inl.h \
223         futures/ThreadWheelTimekeeper.h \
224         futures/Timekeeper.h \
225         futures/detail/Core.h \
226         futures/detail/FSM.h \
227         futures/detail/Types.h \
228         futures/test/TestExecutor.h \
229         hash/Checksum.h \
230         hash/detail/ChecksumDetail.h \
231         hash/SpookyHashV1.h \
232         hash/SpookyHashV2.h \
233         gen/Base.h \
234         gen/Base-inl.h \
235         gen/Combine.h \
236         gen/Combine-inl.h \
237         gen/Core.h \
238         gen/Core-inl.h \
239         gen/File.h \
240         gen/File-inl.h \
241         gen/Parallel.h \
242         gen/Parallel-inl.h \
243         gen/ParallelMap.h \
244         gen/ParallelMap-inl.h \
245         gen/String.h \
246         gen/String-inl.h \
247         GroupVarint.h \
248         Hash.h \
249         IPAddress.h \
250         IPAddressV4.h \
251         IPAddressV6.h \
252         IPAddressException.h \
253         Indestructible.h \
254         IndexedMemPool.h \
255         init/Init.h \
256         IntrusiveList.h \
257         io/Compression.h \
258         io/Cursor.h \
259         io/Cursor-inl.h \
260         io/IOBuf.h \
261         io/IOBufQueue.h \
262         io/RecordIO.h \
263         io/RecordIO-inl.h \
264         io/TypedIOBuf.h \
265         io/ShutdownSocketSet.h \
266         io/async/AsyncPipe.h \
267         io/async/AsyncTimeout.h \
268         io/async/AsyncTransport.h \
269         io/async/AsyncUDPServerSocket.h \
270         io/async/AsyncUDPSocket.h \
271         io/async/AsyncServerSocket.h \
272         io/async/AsyncSignalHandler.h \
273         io/async/AsyncSocket.h \
274         io/async/AsyncSocketBase.h \
275         io/async/AsyncSSLSocket.h \
276         io/async/AsyncSocketException.h \
277         io/async/DecoratedAsyncTransportWrapper.h \
278         io/async/DelayedDestructionBase.h \
279         io/async/DelayedDestruction.h \
280         io/async/DestructorCheck.h \
281         io/async/EventBase.h \
282         io/async/EventBaseLocal.h \
283         io/async/EventBaseManager.h \
284         io/async/EventBaseThread.h \
285         io/async/EventFDWrapper.h \
286         io/async/EventHandler.h \
287         io/async/EventUtil.h \
288         io/async/NotificationQueue.h \
289         io/async/HHWheelTimer.h \
290         io/async/ssl/OpenSSLUtils.h \
291         io/async/ssl/SSLErrors.h \
292         io/async/ssl/TLSDefinitions.h \
293         io/async/Request.h \
294         io/async/SSLContext.h \
295         io/async/SSLOptions.h \
296         io/async/ScopedEventBaseThread.h \
297         io/async/TimeoutManager.h \
298         io/async/VirtualEventBase.h \
299         io/async/WriteChainAsyncTransportWrapper.h \
300         io/async/test/AsyncSSLSocketTest.h \
301         io/async/test/AsyncSocketTest2.h \
302         io/async/test/BlockingSocket.h \
303         io/async/test/MockAsyncSocket.h \
304         io/async/test/MockAsyncServerSocket.h \
305         io/async/test/MockAsyncSSLSocket.h \
306         io/async/test/MockAsyncTransport.h \
307         io/async/test/MockAsyncUDPSocket.h \
308         io/async/test/MockTimeoutManager.h \
309         io/async/test/ScopedBoundPort.h \
310         io/async/test/SocketPair.h \
311         io/async/test/TestSSLServer.h \
312         io/async/test/TimeUtil.h \
313         io/async/test/UndelayedDestruction.h \
314         io/async/test/Util.h \
315         io/compression/Utils.h \
316         io/compression/Zlib.h \
317         Iterator.h \
318         json.h \
319         Launder.h \
320         Lazy.h \
321         LifoSem.h \
322         Likely.h \
323         LockTraits.h \
324         LockTraitsBoost.h \
325         Logging.h \
326         MacAddress.h \
327         MallctlHelper.h \
328         Malloc.h \
329         MapUtil.h \
330         Math.h \
331         Memory.h \
332         MemoryMapping.h \
333         memory/UninitializedMemoryHacks.h \
334         MicroSpinLock.h \
335         MicroLock.h \
336         MoveWrapper.h \
337         MPMCPipeline.h \
338         MPMCQueue.h \
339         Optional.h \
340         Overload.h \
341         PackedSyncPtr.h \
342         Padded.h \
343         Partial.h \
344         PicoSpinLock.h \
345         Portability.h \
346         portability/Asm.h \
347         portability/Atomic.h \
348         portability/BitsFunctexcept.h \
349         portability/Builtins.h \
350         portability/Config.h \
351         portability/Constexpr.h \
352         portability/Dirent.h \
353         portability/Event.h \
354         portability/Fcntl.h \
355         portability/GFlags.h \
356         portability/GMock.h \
357         portability/GTest.h \
358         portability/IOVec.h \
359         portability/Libgen.h \
360         portability/Malloc.h \
361         portability/Math.h \
362         portability/Memory.h \
363         portability/OpenSSL.h \
364         portability/PThread.h \
365         portability/Semaphore.h \
366         portability/Sockets.h \
367         portability/Stdio.h \
368         portability/Stdlib.h \
369         portability/String.h \
370         portability/Syslog.h \
371         portability/SysFile.h \
372         portability/SysMembarrier.h \
373         portability/SysMman.h \
374         portability/SysResource.h \
375         portability/SysStat.h \
376         portability/SysSyscall.h \
377         portability/SysTime.h \
378         portability/SysTypes.h \
379         portability/SysUio.h \
380         portability/Time.h \
381         portability/TypeTraits.h \
382         portability/Unistd.h \
383         portability/Windows.h \
384         Preprocessor.h \
385         PriorityMPMCQueue.h \
386         ProducerConsumerQueue.h \
387         Random.h \
388         Random-inl.h \
389         Range.h \
390         Replaceable.h \
391         RWSpinLock.h \
392         SafeAssert.h \
393         ScopeGuard.h \
394         SharedMutex.h \
395         Shell.h \
396         Singleton.h \
397         Singleton-inl.h \
398         SingletonThreadLocal.h \
399         SmallLocks.h \
400         small_vector.h \
401         SocketAddress.h \
402         sorted_vector_types.h \
403         SparseByteSet.h \
404         SpinLock.h \
405         ssl/Init.h \
406         ssl/OpenSSLCertUtils.h \
407         ssl/OpenSSLHash.h \
408         ssl/OpenSSLPtrTypes.h \
409         ssl/OpenSSLVersionFinder.h \
410         ssl/SSLSession.h \
411         ssl/OpenSSLLockTypes.h \
412         ssl/detail/OpenSSLThreading.h \
413         ssl/detail/SSLSessionImpl.h \
414         stats/detail/Bucket.h \
415         stats/BucketedTimeSeries-defs.h \
416         stats/BucketedTimeSeries.h \
417         stats/Histogram-defs.h \
418         stats/Histogram.h \
419         stats/MultiLevelTimeSeries-defs.h \
420         stats/MultiLevelTimeSeries.h \
421         stats/TimeseriesHistogram-defs.h \
422         stats/TimeseriesHistogram.h \
423         stop_watch.h \
424         String.h \
425         String-inl.h \
426         Subprocess.h \
427         Synchronized.h \
428         SynchronizedPtr.h \
429         test/FBStringTestBenchmarks.cpp.h \
430         test/FBVectorTestBenchmarks.cpp.h \
431         test/function_benchmark/benchmark_impl.h \
432         test/function_benchmark/test_functions.h \
433         test/SynchronizedTestLib.h \
434         test/SynchronizedTestLib-inl.h \
435         test/TestUtils.h \
436         ThreadCachedArena.h \
437         ThreadCachedInt.h \
438         ThreadId.h \
439         ThreadLocal.h \
440         ThreadName.h \
441         TimeoutQueue.h \
442         TokenBucket.h \
443         tracing/StaticTracepoint.h \
444         tracing/ScopedTraceSection.h \
445         Traits.h \
446         Try-inl.h \
447         Try.h \
448         Unicode.h \
449         Function.h \
450         Functional.h \
451         UncaughtExceptions.h \
452         Unit.h \
453         Uri.h \
454         Uri-inl.h \
455         Utility.h \
456         Varint.h \
457         VersionCheck.h
458
459 FormatTables.cpp: build/generate_format_tables.py
460         $(PYTHON) build/generate_format_tables.py
461 CLEANFILES += FormatTables.cpp
462
463 EscapeTables.cpp: build/generate_escape_tables.py
464         $(PYTHON) build/generate_escape_tables.py
465 CLEANFILES += EscapeTables.cpp
466
467 GroupVarintTables.cpp: build/generate_varint_tables.py
468         $(PYTHON) build/generate_varint_tables.py
469 CLEANFILES += GroupVarintTables.cpp
470
471 libfollybasesse42_la_SOURCES = \
472         detail/RangeSse42.cpp \
473         hash/detail/ChecksumDetail.cpp \
474         hash/detail/Crc32cDetail.cpp
475
476 libfollybase_la_SOURCES = \
477         Conv.cpp \
478         Demangle.cpp \
479         detail/RangeCommon.cpp \
480         EscapeTables.cpp \
481         Format.cpp \
482         FormatArg.cpp \
483         FormatTables.cpp \
484         MallctlHelper.cpp \
485         portability/BitsFunctexcept.cpp \
486         String.cpp \
487         Unicode.cpp
488
489 libfolly_la_SOURCES = \
490         Assume.cpp \
491         ClockGettimeWrappers.cpp \
492         concurrency/CacheLocality.cpp \
493         concurrency/GlobalThreadPoolList.cpp \
494         detail/Futex.cpp \
495         detail/IPAddress.cpp \
496         detail/StaticSingletonManager.cpp \
497         detail/ThreadLocalDetail.cpp \
498         dynamic.cpp \
499         ExceptionWrapper.cpp \
500         Executor.cpp \
501         File.cpp \
502         FileUtil.cpp \
503         FingerprintTables.cpp \
504         futures/Barrier.cpp \
505         futures/Future.cpp \
506         futures/FutureException.cpp \
507         futures/ManualExecutor.cpp \
508         futures/QueuedImmediateExecutor.cpp \
509         futures/ThreadWheelTimekeeper.cpp \
510         futures/test/TestExecutor.cpp \
511         executors/CPUThreadPoolExecutor.cpp \
512         executors/Codel.cpp \
513         executors/GlobalExecutor.cpp \
514         executors/IOThreadPoolExecutor.cpp \
515         executors/SerialExecutor.cpp \
516         executors/ThreadPoolExecutor.cpp \
517         executors/ThreadedExecutor.cpp \
518         experimental/hazptr/hazptr.cpp \
519         experimental/hazptr/memory_resource.cpp \
520         GroupVarint.cpp \
521         GroupVarintTables.cpp \
522         hash/Checksum.cpp \
523         hash/SpookyHashV1.cpp \
524         hash/SpookyHashV2.cpp \
525         IPAddress.cpp \
526         IPAddressV4.cpp \
527         IPAddressV6.cpp \
528         LifoSem.cpp \
529         init/Init.cpp \
530         io/Compression.cpp \
531         io/Cursor.cpp \
532         io/IOBuf.cpp \
533         io/IOBufQueue.cpp \
534         io/RecordIO.cpp \
535         io/ShutdownSocketSet.cpp \
536         io/async/AsyncPipe.cpp \
537         io/async/AsyncTimeout.cpp \
538         io/async/AsyncUDPSocket.cpp \
539         io/async/AsyncServerSocket.cpp \
540         io/async/AsyncSignalHandler.cpp \
541         io/async/AsyncSocket.cpp \
542         io/async/AsyncSocketException.cpp \
543         io/async/AsyncSSLSocket.cpp \
544         io/async/EventBase.cpp \
545         io/async/EventBaseLocal.cpp \
546         io/async/EventBaseManager.cpp \
547         io/async/EventBaseThread.cpp \
548         io/async/EventHandler.cpp \
549         io/async/Request.cpp \
550         io/async/SSLContext.cpp \
551         io/async/SSLOptions.cpp \
552         io/async/ScopedEventBaseThread.cpp \
553         io/async/VirtualEventBase.cpp \
554         io/async/HHWheelTimer.cpp \
555         io/async/TimeoutManager.cpp \
556         io/async/test/ScopedBoundPort.cpp \
557         io/async/test/SocketPair.cpp \
558         io/async/test/TimeUtil.cpp \
559         io/async/ssl/OpenSSLUtils.cpp \
560         io/async/ssl/SSLErrors.cpp \
561         io/compression/Zlib.cpp \
562         json.cpp \
563         detail/MemoryIdler.cpp \
564         detail/SocketFastOpen.cpp \
565         MacAddress.cpp \
566         MemoryMapping.cpp \
567         portability/Dirent.cpp \
568         portability/Fcntl.cpp \
569         portability/Libgen.cpp \
570         portability/Malloc.cpp \
571         portability/Memory.cpp \
572         portability/OpenSSL.cpp \
573         portability/PThread.cpp \
574         portability/Sockets.cpp \
575         portability/Stdio.cpp \
576         portability/Stdlib.cpp \
577         portability/String.cpp \
578         portability/SysFile.cpp \
579         portability/SysMembarrier.cpp \
580         portability/SysMman.cpp \
581         portability/SysResource.cpp \
582         portability/SysStat.cpp \
583         portability/SysTime.cpp \
584         portability/SysUio.cpp \
585         portability/Time.cpp \
586         portability/Unistd.cpp \
587         Random.cpp \
588         SafeAssert.cpp \
589         ScopeGuard.cpp \
590         SharedMutex.cpp \
591         Shell.cpp \
592         MicroLock.cpp \
593         Optional.cpp \
594         Singleton.cpp \
595         SocketAddress.cpp \
596         ssl/Init.cpp \
597         ssl/OpenSSLCertUtils.cpp \
598         ssl/OpenSSLHash.cpp \
599         ssl/detail/OpenSSLThreading.cpp \
600         ssl/detail/SSLSessionImpl.cpp \
601         stats/BucketedTimeSeries.cpp \
602         stats/Histogram.cpp \
603         stats/MultiLevelTimeSeries.cpp \
604         stats/TimeseriesHistogram.cpp \
605         Subprocess.cpp \
606         ThreadCachedArena.cpp \
607         ThreadName.cpp \
608         TimeoutQueue.cpp \
609         Try.cpp \
610         Uri.cpp \
611         Version.cpp \
612         experimental/AsymmetricMemoryBarrier.cpp \
613         experimental/ThreadedRepeatingFunctionRunner.cpp \
614         experimental/bser/Dump.cpp \
615         experimental/bser/Load.cpp \
616         experimental/DynamicParser.cpp \
617         experimental/EnvUtil.cpp \
618         experimental/FunctionScheduler.cpp \
619         experimental/io/FsUtil.cpp \
620         experimental/JemallocNodumpAllocator.cpp \
621         experimental/JSONSchema.cpp \
622         experimental/NestedCommandLineApp.cpp \
623         experimental/observer/detail/Core.cpp \
624         experimental/observer/detail/ObserverManager.cpp \
625         experimental/ProgramOptions.cpp \
626         experimental/Select64.cpp \
627         experimental/TestUtil.cpp
628
629 if HAVE_LINUX
630 nobase_follyinclude_HEADERS += \
631         experimental/io/HugePages.h
632 libfolly_la_SOURCES += \
633         experimental/io/HugePages.cpp
634 endif
635
636 if !HAVE_WEAK_SYMBOLS
637 libfollybase_la_SOURCES += detail/MallocImpl.cpp
638 endif
639
640 if HAVE_BOOST_CONTEXT
641 nobase_follyinclude_HEADERS += \
642         fibers/AddTasks.h \
643         fibers/AddTasks-inl.h \
644         fibers/AtomicBatchDispatcher.h \
645         fibers/AtomicBatchDispatcher-inl.h \
646         fibers/Baton.h \
647         fibers/Baton-inl.h \
648         fibers/BatchDispatcher.h \
649         fibers/BoostContextCompatibility.h \
650         fibers/detail/AtomicBatchDispatcher.h \
651         fibers/EventBaseLoopController.h \
652         fibers/EventBaseLoopController-inl.h \
653         fibers/Fiber.h \
654         fibers/Fiber-inl.h \
655         fibers/FiberManager.h \
656         fibers/FiberManager-inl.h \
657         fibers/FiberManagerInternal.h \
658         fibers/FiberManagerInternal-inl.h \
659         fibers/FiberManagerMap.h \
660         fibers/ForEach.h \
661         fibers/ForEach-inl.h \
662         fibers/GenericBaton.h \
663         fibers/GuardPageAllocator.h \
664         fibers/LoopController.h \
665         fibers/Promise.h \
666         fibers/Promise-inl.h \
667         fibers/Semaphore.h \
668         fibers/SimpleLoopController.h \
669         fibers/TimedMutex.h \
670         fibers/TimedMutex-inl.h \
671         fibers/TimeoutController.h \
672         fibers/traits.h \
673         fibers/WhenN.h \
674         fibers/WhenN-inl.h
675
676 libfolly_la_SOURCES += \
677         fibers/Baton.cpp \
678         fibers/detail/AtomicBatchDispatcher.cpp \
679         fibers/Fiber.cpp \
680         fibers/FiberManager.cpp \
681         fibers/FiberManagerMap.cpp \
682         fibers/GuardPageAllocator.cpp \
683         fibers/Semaphore.cpp \
684         fibers/TimeoutController.cpp
685 endif
686
687 if USE_SYMBOLIZER
688 nobase_follyinclude_HEADERS += \
689         experimental/symbolizer/Elf.h \
690         experimental/symbolizer/Elf-inl.h \
691         experimental/symbolizer/ElfCache.h \
692         experimental/symbolizer/Dwarf.h \
693         experimental/symbolizer/LineReader.h \
694         experimental/symbolizer/SignalHandler.h \
695         experimental/symbolizer/StackTrace.h \
696         experimental/symbolizer/Symbolizer.h
697
698 libfolly_la_SOURCES += \
699         experimental/symbolizer/Elf.cpp \
700         experimental/symbolizer/ElfCache.cpp \
701         experimental/symbolizer/Dwarf.cpp \
702         experimental/symbolizer/LineReader.cpp \
703         experimental/symbolizer/SignalHandler.cpp \
704         experimental/symbolizer/StackTrace.cpp \
705         experimental/symbolizer/Symbolizer.cpp
706 endif
707
708 libfollybasesse42_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
709 libfollybasesse42_la_CXXFLAGS = -msse4.2 -mpclmul
710
711 libfollybase_la_LIBADD = libfollybasesse42.la
712 libfollybase_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
713
714 libfolly_la_LIBADD = libfollybase.la
715 libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) -lssl
716
717 FingerprintTables.cpp: generate_fingerprint_tables
718         ./generate_fingerprint_tables
719 CLEANFILES += FingerprintTables.cpp
720
721 libfollybenchmark_la_SOURCES = Benchmark.cpp
722 libfollybenchmark_la_LIBADD = libfolly.la
723 libfollybenchmark_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
724
725 # install pkg-config metadata file
726 pkgconfigdir = $(libdir)/pkgconfig
727 nodist_pkgconfig_DATA = libfolly.pc