make it really clear that wangle/rx is deprecated
[folly.git] / folly / Makefile.am
1 SUBDIRS = . test
2
3 ACLOCAL_AMFLAGS = -I m4
4
5 CLEANFILES =
6
7 noinst_PROGRAMS = generate_fingerprint_tables
8 generate_fingerprint_tables_SOURCES = build/GenerateFingerprintTables.cpp
9 generate_fingerprint_tables_LDADD = libfollybase.la
10
11 noinst_LTLIBRARIES = \
12         libfollybase.la
13
14 lib_LTLIBRARIES = \
15         libfolly.la \
16         libfollybenchmark.la
17
18 follyincludedir = $(includedir)/folly
19
20 nobase_follyinclude_HEADERS = \
21         ApplyTuple.h \
22         Arena.h \
23         Arena-inl.h \
24         AtomicBitSet.h \
25         AtomicHashArray.h \
26         AtomicHashArray-inl.h \
27         AtomicHashMap.h \
28         AtomicHashMap-inl.h \
29         AtomicLinkedList.h \
30         AtomicStruct.h \
31         AtomicUnorderedMap.h \
32         Baton.h \
33         Benchmark.h \
34         Bits.h \
35         Checksum.h \
36         Chrono.h \
37         ConcurrentSkipList.h \
38         ConcurrentSkipList-inl.h \
39         Conv.h \
40         CpuId.h \
41         CPortability.h \
42         detail/AtomicHashUtils.h \
43         detail/AtomicUnorderedMapUtils.h \
44         detail/BitIteratorDetail.h \
45         detail/BitsDetail.h \
46         detail/CacheLocality.h \
47         detail/ChecksumDetail.h \
48         detail/Clock.h \
49         detail/DiscriminatedPtrDetail.h \
50         detail/ExceptionWrapper.h \
51         detail/FileUtilDetail.h \
52         detail/FingerprintPolynomial.h \
53         detail/FunctionalExcept.h \
54         detail/Futex.h \
55         detail/GroupVarintDetail.h \
56         detail/IPAddress.h \
57         detail/Malloc.h \
58         detail/MemoryIdler.h \
59         detail/MPMCPipelineDetail.h \
60         detail/SlowFingerprint.h \
61         detail/SpinLockImpl.h \
62         detail/Stats.h \
63         detail/ThreadLocalDetail.h \
64         detail/TurnSequencer.h \
65         detail/UncaughtExceptionCounter.h \
66         Demangle.h \
67         DiscriminatedPtr.h \
68         DynamicConverter.h \
69         dynamic.h \
70         dynamic-inl.h \
71         Exception.h \
72         ExceptionWrapper.h \
73         Executor.h \
74         EvictingCacheMap.h \
75         experimental/AutoTimer.h \
76         experimental/Bits.h \
77         experimental/ExecutionObserver.h \
78         experimental/EliasFanoCoding.h \
79         experimental/EventCount.h \
80         experimental/Instructions.h \
81         experimental/fibers/AddTasks.h \
82         experimental/fibers/AddTasks-inl.h \
83         experimental/fibers/Baton.h \
84         experimental/fibers/Baton-inl.h \
85         experimental/fibers/BoostContextCompatibility.h \
86         experimental/fibers/EventBaseLoopController.h \
87         experimental/fibers/EventBaseLoopController-inl.h \
88         experimental/fibers/Fiber.h \
89         experimental/fibers/Fiber-inl.h \
90         experimental/fibers/FiberManager.h \
91         experimental/fibers/FiberManager-inl.h \
92         experimental/fibers/FiberManagerMap.h \
93         experimental/fibers/ForEach.h \
94         experimental/fibers/ForEach-inl.h \
95         experimental/fibers/GenericBaton.h \
96         experimental/fibers/GuardPageAllocator.h \
97         experimental/fibers/LoopController.h \
98         experimental/fibers/Promise.h \
99         experimental/fibers/Promise-inl.h \
100         experimental/fibers/SimpleLoopController.h \
101         experimental/fibers/TimedMutex.h \
102         experimental/fibers/TimedMutex-inl.h \
103         experimental/fibers/TimeoutController.h \
104         experimental/fibers/traits.h \
105         experimental/fibers/WhenN.h \
106         experimental/fibers/WhenN-inl.h \
107         experimental/FunctionScheduler.h \
108         experimental/FutureDAG.h \
109         experimental/io/FsUtil.h \
110         experimental/JSONSchema.h \
111         experimental/LockFreeRingBuffer.h \
112         experimental/Select64.h \
113         experimental/StringKeyedCommon.h \
114         experimental/StringKeyedUnorderedMap.h \
115         experimental/StringKeyedUnorderedSet.h \
116         experimental/TestUtil.h \
117         experimental/TupleOps.h \
118         FBString.h \
119         FBVector.h \
120         File.h \
121         FileUtil.h \
122         Fingerprint.h \
123         folly-config.h \
124         Foreach.h \
125         FormatArg.h \
126         FormatTraits.h \
127         Format.h \
128         Format-inl.h \
129         futures/Deprecated.h \
130         futures/DrivableExecutor.h \
131         futures/Future-pre.h \
132         futures/helpers.h \
133         futures/Future.h \
134         futures/Future-inl.h \
135         futures/FutureException.h \
136         futures/InlineExecutor.h \
137         futures/ManualExecutor.h \
138         futures/OpaqueCallbackShunt.h \
139         futures/Promise-inl.h \
140         futures/Promise.h \
141         futures/QueuedImmediateExecutor.h \
142         futures/ScheduledExecutor.h \
143         futures/SharedPromise.h \
144         futures/SharedPromise-inl.h \
145         futures/Timekeeper.h \
146         futures/Try-inl.h \
147         futures/Try.h \
148         futures/Unit.h \
149         futures/detail/Core.h \
150         futures/detail/FSM.h \
151         futures/detail/ThreadWheelTimekeeper.h \
152         futures/detail/Types.h \
153         gen/Base.h \
154         gen/Base-inl.h \
155         gen/Combine.h \
156         gen/Combine-inl.h \
157         gen/Core.h \
158         gen/Core-inl.h \
159         gen/File.h \
160         gen/File-inl.h \
161         gen/Parallel.h \
162         gen/Parallel-inl.h \
163         gen/ParallelMap.h \
164         gen/ParallelMap-inl.h \
165         gen/String.h \
166         gen/String-inl.h \
167         GroupVarint.h \
168         Hash.h \
169         IPAddress.h \
170         IPAddressV4.h \
171         IPAddressV6.h \
172         IPAddressException.h \
173         IndexedMemPool.h \
174         IntrusiveList.h \
175         io/Compression.h \
176         io/Cursor.h \
177         io/IOBuf.h \
178         io/IOBufQueue.h \
179         io/RecordIO.h \
180         io/RecordIO-inl.h \
181         io/TypedIOBuf.h \
182         io/ShutdownSocketSet.h \
183         io/async/AsyncTimeout.h \
184         io/async/AsyncTransport.h \
185         io/async/AsyncUDPServerSocket.h \
186         io/async/AsyncUDPSocket.h \
187         io/async/AsyncServerSocket.h \
188         io/async/AsyncSignalHandler.h \
189         io/async/AsyncSocket.h \
190         io/async/AsyncSocketBase.h \
191         io/async/AsyncSSLSocket.h \
192         io/async/AsyncSocketException.h \
193         io/async/DelayedDestruction.h \
194         io/async/EventBase.h \
195         io/async/EventBaseManager.h \
196         io/async/EventFDWrapper.h \
197         io/async/EventHandler.h \
198         io/async/EventUtil.h \
199         io/async/NotificationQueue.h \
200         io/async/HHWheelTimer.h \
201         io/async/Request.h \
202         io/async/SSLContext.h \
203         io/async/TimeoutManager.h \
204         io/async/test/AsyncSSLSocketTest.h \
205         io/async/test/BlockingSocket.h \
206         io/async/test/MockAsyncSocket.h \
207         io/async/test/MockAsyncServerSocket.h \
208         io/async/test/MockAsyncSSLSocket.h \
209         io/async/test/MockAsyncTransport.h \
210         io/async/test/TimeUtil.h \
211         io/async/test/UndelayedDestruction.h \
212         io/async/test/Util.h \
213         json.h \
214         Lazy.h \
215         LifoSem.h \
216         Likely.h \
217         Logging.h \
218         MacAddress.h \
219         Malloc.h \
220         MapUtil.h \
221         Memory.h \
222         MemoryMapping.h \
223         MoveWrapper.h \
224         MPMCPipeline.h \
225         MPMCQueue.h \
226         Optional.h \
227         PackedSyncPtr.h \
228         Padded.h \
229         Portability.h \
230         Preprocessor.h \
231         ProducerConsumerQueue.h \
232         Random.h \
233         Random-inl.h \
234         Range.h \
235         RWSpinLock.h \
236         ScopeGuard.h \
237         SharedMutex.h \
238         Singleton.h \
239         Singleton-inl.h \
240         SmallLocks.h \
241         small_vector.h \
242         SocketAddress.h \
243         sorted_vector_types.h \
244         SpinLock.h \
245         SpookyHashV1.h \
246         SpookyHashV2.h \
247         stats/BucketedTimeSeries-defs.h \
248         stats/BucketedTimeSeries.h \
249         stats/Histogram-defs.h \
250         stats/Histogram.h \
251         stats/MultiLevelTimeSeries-defs.h \
252         stats/MultiLevelTimeSeries.h \
253         String.h \
254         String-inl.h \
255         Subprocess.h \
256         Synchronized.h \
257         test/FBStringTestBenchmarks.cpp.h \
258         test/FBVectorTestBenchmarks.cpp.h \
259         test/function_benchmark/benchmark_impl.h \
260         test/function_benchmark/test_functions.h \
261         test/SynchronizedTestLib.h \
262         test/SynchronizedTestLib-inl.h \
263         ThreadCachedArena.h \
264         ThreadCachedInt.h \
265         ThreadLocal.h \
266         ThreadName.h \
267         TimeoutQueue.h \
268         Traits.h \
269         Unicode.h \
270         Uri.h \
271         Uri-inl.h \
272         Varint.h \
273         VersionCheck.h \
274         wangle/acceptor/Acceptor.h \
275         wangle/acceptor/ConnectionCounter.h \
276         wangle/acceptor/ConnectionManager.h \
277         wangle/acceptor/DomainNameMisc.h \
278         wangle/acceptor/LoadShedConfiguration.h \
279         wangle/acceptor/ManagedConnection.h \
280         wangle/acceptor/NetworkAddress.h \
281         wangle/acceptor/ServerSocketConfig.h \
282         wangle/acceptor/SocketOptions.h \
283         wangle/acceptor/TransportInfo.h \
284         wangle/bootstrap/ServerBootstrap.h \
285         wangle/bootstrap/ServerBootstrap-inl.h \
286         wangle/bootstrap/ServerSocketFactory.h \
287         wangle/bootstrap/ClientBootstrap.h \
288         wangle/channel/AsyncSocketHandler.h \
289         wangle/channel/EventBaseHandler.h \
290         wangle/channel/FileRegion.h \
291         wangle/channel/Handler.h \
292         wangle/channel/HandlerContext.h \
293         wangle/channel/HandlerContext-inl.h \
294         wangle/channel/OutputBufferingHandler.h \
295         wangle/channel/Pipeline.h \
296         wangle/channel/Pipeline-inl.h \
297         wangle/channel/StaticPipeline.h \
298         wangle/concurrent/BlockingQueue.h \
299         wangle/concurrent/Codel.h \
300         wangle/concurrent/CPUThreadPoolExecutor.h \
301         wangle/concurrent/FiberIOExecutor.h \
302         wangle/concurrent/FutureExecutor.h \
303         wangle/concurrent/IOExecutor.h \
304         wangle/concurrent/IOObjectCache.h \
305         wangle/concurrent/IOThreadPoolExecutor.h \
306         wangle/concurrent/GlobalExecutor.h \
307         wangle/concurrent/LifoSemMPMCQueue.h \
308         wangle/concurrent/NamedThreadFactory.h \
309         wangle/concurrent/ThreadFactory.h \
310         wangle/concurrent/ThreadPoolExecutor.h \
311         wangle/deprecated/rx/Observable.h \
312         wangle/deprecated/rx/Observer.h \
313         wangle/deprecated/rx/Subject.h \
314         wangle/deprecated/rx/Subscription.h \
315         wangle/deprecated/rx/types.h \
316         wangle/ssl/ClientHelloExtStats.h \
317         wangle/ssl/DHParam.h \
318         wangle/ssl/PasswordInFile.h \
319         wangle/ssl/SSLCacheOptions.h \
320         wangle/ssl/SSLCacheProvider.h \
321         wangle/ssl/SSLContextConfig.h \
322         wangle/ssl/SSLContextManager.h \
323         wangle/ssl/SSLSessionCacheManager.h \
324         wangle/ssl/SSLStats.h \
325         wangle/ssl/SSLUtil.h \
326         wangle/ssl/TLSTicketKeyManager.h \
327         wangle/ssl/TLSTicketKeySeeds.h
328
329 FormatTables.cpp: build/generate_format_tables.py
330         $(PYTHON) build/generate_format_tables.py
331 CLEANFILES += FormatTables.cpp
332
333 EscapeTables.cpp: build/generate_escape_tables.py
334         $(PYTHON) build/generate_escape_tables.py
335 CLEANFILES += EscapeTables.cpp
336
337 GroupVarintTables.cpp: build/generate_varint_tables.py
338         $(PYTHON) build/generate_varint_tables.py
339 CLEANFILES += GroupVarintTables.cpp
340
341 libfollybase_la_SOURCES = \
342         Conv.cpp \
343         Demangle.cpp \
344         EscapeTables.cpp \
345         Format.cpp \
346         FormatTables.cpp \
347         Malloc.cpp \
348         Range.cpp \
349         StringBase.cpp \
350         String.cpp \
351         Unicode.cpp
352
353 libfolly_la_SOURCES = \
354         Bits.cpp \
355         detail/CacheLocality.cpp \
356         dynamic.cpp \
357         File.cpp \
358         FileUtil.cpp \
359         FingerprintTables.cpp \
360         futures/detail/ThreadWheelTimekeeper.cpp \
361         futures/Future.cpp \
362         futures/InlineExecutor.cpp \
363         futures/ManualExecutor.cpp \
364         futures/QueuedImmediateExecutor.cpp \
365         detail/Futex.cpp \
366         GroupVarint.cpp \
367         GroupVarintTables.cpp \
368         IPAddress.cpp \
369         IPAddressV4.cpp \
370         IPAddressV6.cpp \
371         LifoSem.cpp \
372         io/Compression.cpp \
373         io/IOBuf.cpp \
374         io/IOBufQueue.cpp \
375         io/RecordIO.cpp \
376         io/ShutdownSocketSet.cpp \
377         io/async/AsyncTimeout.cpp \
378         io/async/AsyncUDPSocket.cpp \
379         io/async/AsyncServerSocket.cpp \
380         io/async/AsyncSignalHandler.cpp \
381         io/async/AsyncSocket.cpp \
382         io/async/AsyncSSLSocket.cpp \
383         io/async/EventBase.cpp \
384         io/async/EventBaseManager.cpp \
385         io/async/EventHandler.cpp \
386         io/async/SSLContext.cpp \
387         io/async/HHWheelTimer.cpp \
388         io/async/test/TimeUtil.cpp \
389         json.cpp \
390         detail/MemoryIdler.cpp \
391         MacAddress.cpp \
392         MemoryMapping.cpp \
393         Random.cpp \
394         SafeAssert.cpp \
395         SharedMutex.cpp \
396         Singleton.cpp \
397         SocketAddress.cpp \
398         SpookyHashV1.cpp \
399         SpookyHashV2.cpp \
400         stats/Instantiations.cpp \
401         Subprocess.cpp \
402         ThreadCachedArena.cpp \
403         TimeoutQueue.cpp \
404         Uri.cpp \
405         Version.cpp \
406         experimental/fibers/Baton.cpp \
407         experimental/fibers/Fiber.cpp \
408         experimental/fibers/FiberManager.cpp \
409         experimental/fibers/FiberManagerMap.cpp \
410         experimental/fibers/GuardPageAllocator.cpp \
411         experimental/fibers/TimeoutController.cpp \
412         experimental/FunctionScheduler.cpp \
413         experimental/io/FsUtil.cpp \
414         experimental/JSONSchema.cpp \
415         experimental/Select64.cpp \
416         experimental/TestUtil.cpp \
417         wangle/acceptor/Acceptor.cpp \
418         wangle/acceptor/ConnectionManager.cpp \
419         wangle/acceptor/LoadShedConfiguration.cpp \
420         wangle/acceptor/ManagedConnection.cpp \
421         wangle/acceptor/SocketOptions.cpp \
422         wangle/acceptor/TransportInfo.cpp \
423         wangle/bootstrap/ServerBootstrap.cpp \
424         wangle/channel/Pipeline.cpp \
425         wangle/concurrent/CPUThreadPoolExecutor.cpp \
426         wangle/concurrent/Codel.cpp \
427         wangle/concurrent/IOThreadPoolExecutor.cpp \
428         wangle/concurrent/GlobalExecutor.cpp \
429         wangle/concurrent/ThreadPoolExecutor.cpp \
430         wangle/ssl/PasswordInFile.cpp \
431         wangle/ssl/SSLContextManager.cpp \
432         wangle/ssl/SSLSessionCacheManager.cpp \
433         wangle/ssl/SSLUtil.cpp \
434         wangle/ssl/TLSTicketKeyManager.cpp
435
436 if HAVE_LINUX
437 nobase_follyinclude_HEADERS += \
438         experimental/io/HugePages.h
439 libfolly_la_SOURCES += \
440         experimental/io/HugePages.cpp
441 endif
442
443 if !HAVE_LINUX
444 libfollybase_la_SOURCES += detail/Clock.cpp
445 endif
446
447 if !HAVE_WEAK_SYMBOLS
448 libfollybase_la_SOURCES += detail/MallocImpl.cpp
449 endif
450
451 if !HAVE_BITS_FUNCTEXCEPT
452 libfollybase_la_SOURCES += detail/FunctionalExcept.cpp
453 endif
454
455 libfollybase_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
456
457 libfolly_la_LIBADD = libfollybase.la
458 libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) -lssl
459
460 FingerprintTables.cpp: generate_fingerprint_tables
461         ./generate_fingerprint_tables
462 CLEANFILES += FingerprintTables.cpp
463
464 libfollybenchmark_la_SOURCES = Benchmark.cpp
465 libfollybenchmark_la_LIBADD = libfolly.la
466 libfollybenchmark_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)