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