Udp Acceptor
[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         AtomicStruct.h \
30         Baton.h \
31         Benchmark.h \
32         Bits.h \
33         Checksum.h \
34         Chrono.h \
35         ConcurrentSkipList.h \
36         ConcurrentSkipList-inl.h \
37         Conv.h \
38         CpuId.h \
39         CPortability.h \
40         detail/AtomicHashUtils.h \
41         detail/BitIteratorDetail.h \
42         detail/BitsDetail.h \
43         detail/CacheLocality.h \
44         detail/ChecksumDetail.h \
45         detail/Clock.h \
46         detail/DiscriminatedPtrDetail.h \
47         detail/ExceptionWrapper.h \
48         detail/FileUtilDetail.h \
49         detail/FingerprintPolynomial.h \
50         detail/FunctionalExcept.h \
51         detail/Futex.h \
52         detail/GroupVarintDetail.h \
53         detail/IPAddress.h \
54         detail/Malloc.h \
55         detail/MemoryIdler.h \
56         detail/MPMCPipelineDetail.h \
57         detail/SlowFingerprint.h \
58         detail/SpinLockImpl.h \
59         detail/Stats.h \
60         detail/ThreadLocalDetail.h \
61         detail/UncaughtExceptionCounter.h \
62         Demangle.h \
63         DiscriminatedPtr.h \
64         DynamicConverter.h \
65         dynamic.h \
66         dynamic-inl.h \
67         Exception.h \
68         ExceptionWrapper.h \
69         Executor.h \
70         EvictingCacheMap.h \
71         experimental/AutoTimer.h \
72         experimental/Bits.h \
73         experimental/EliasFanoCoding.h \
74         experimental/EventCount.h \
75         experimental/FunctionScheduler.h \
76         experimental/io/FsUtil.h \
77         experimental/JSONSchema.h \
78         experimental/Select64.h \
79         experimental/SharedMutex.h \
80         experimental/Singleton.h \
81         experimental/Singleton-inl.h \
82         experimental/StringKeyedCommon.h \
83         experimental/StringKeyedUnorderedMap.h \
84         experimental/StringKeyedUnorderedSet.h \
85         experimental/TestUtil.h \
86         FBString.h \
87         FBVector.h \
88         File.h \
89         FileUtil.h \
90         Fingerprint.h \
91         folly-config.h \
92         Foreach.h \
93         FormatArg.h \
94         Format.h \
95         Format-inl.h \
96         futures/Deprecated.h \
97         futures/DrivableExecutor.h \
98         futures/Future-inl.h \
99         futures/Future.h \
100         futures/FutureException.h \
101         futures/InlineExecutor.h \
102         futures/ManualExecutor.h \
103         futures/OpaqueCallbackShunt.h \
104         futures/Promise-inl.h \
105         futures/Promise.h \
106         futures/QueuedImmediateExecutor.h \
107         futures/ScheduledExecutor.h \
108         futures/Timekeeper.h \
109         futures/Try-inl.h \
110         futures/Try.h \
111         futures/detail/Core.h \
112         futures/detail/FSM.h \
113         futures/detail/ThreadWheelTimekeeper.h \
114         futures/detail/Types.h \
115         gen/Base.h \
116         gen/Base-inl.h \
117         gen/Combine.h \
118         gen/Combine-inl.h \
119         gen/Core.h \
120         gen/Core-inl.h \
121         gen/File.h \
122         gen/File-inl.h \
123         gen/Parallel.h \
124         gen/Parallel-inl.h \
125         gen/ParallelMap.h \
126         gen/ParallelMap-inl.h \
127         gen/String.h \
128         gen/String-inl.h \
129         GroupVarint.h \
130         Hash.h \
131         IPAddress.h \
132         IPAddressV4.h \
133         IPAddressV6.h \
134         IPAddressException.h \
135         IndexedMemPool.h \
136         IntrusiveList.h \
137         io/Compression.h \
138         io/Cursor.h \
139         io/IOBuf.h \
140         io/IOBufQueue.h \
141         io/RecordIO.h \
142         io/RecordIO-inl.h \
143         io/TypedIOBuf.h \
144         io/ShutdownSocketSet.h \
145         io/async/AsyncTimeout.h \
146         io/async/AsyncTransport.h \
147         io/async/AsyncUDPServerSocket.h \
148         io/async/AsyncUDPSocket.h \
149         io/async/AsyncServerSocket.h \
150         io/async/AsyncSocket.h \
151         io/async/AsyncSocketBase.h \
152         io/async/AsyncSSLSocket.h \
153         io/async/AsyncSocketException.h \
154         io/async/DelayedDestruction.h \
155         io/async/EventBase.h \
156         io/async/EventBaseManager.h \
157         io/async/EventFDWrapper.h \
158         io/async/EventHandler.h \
159         io/async/EventUtil.h \
160         io/async/NotificationQueue.h \
161         io/async/HHWheelTimer.h \
162         io/async/Request.h \
163         io/async/SSLContext.h \
164         io/async/TimeoutManager.h \
165         io/async/test/TimeUtil.h \
166         io/async/test/UndelayedDestruction.h \
167         io/async/test/Util.h \
168         json.h \
169         Lazy.h \
170         LifoSem.h \
171         Likely.h \
172         Logging.h \
173         MacAddress.h \
174         Malloc.h \
175         MapUtil.h \
176         Memory.h \
177         MemoryMapping.h \
178         MoveWrapper.h \
179         MPMCPipeline.h \
180         MPMCQueue.h \
181         Optional.h \
182         PackedSyncPtr.h \
183         Padded.h \
184         Portability.h \
185         Preprocessor.h \
186         ProducerConsumerQueue.h \
187         Random.h \
188         Random-inl.h \
189         Range.h \
190         RWSpinLock.h \
191         ScopeGuard.h \
192         SmallLocks.h \
193         small_vector.h \
194         SocketAddress.h \
195         sorted_vector_types.h \
196         SpinLock.h \
197         SpookyHashV1.h \
198         SpookyHashV2.h \
199         stats/BucketedTimeSeries-defs.h \
200         stats/BucketedTimeSeries.h \
201         stats/Histogram-defs.h \
202         stats/Histogram.h \
203         stats/MultiLevelTimeSeries-defs.h \
204         stats/MultiLevelTimeSeries.h \
205         String.h \
206         String-inl.h \
207         Subprocess.h \
208         Synchronized.h \
209         test/FBStringTestBenchmarks.cpp.h \
210         test/FBVectorTestBenchmarks.cpp.h \
211         test/function_benchmark/benchmark_impl.h \
212         test/function_benchmark/test_functions.h \
213         test/SynchronizedTestLib.h \
214         test/SynchronizedTestLib-inl.h \
215         ThreadCachedArena.h \
216         ThreadCachedInt.h \
217         ThreadLocal.h \
218         ThreadName.h \
219         TimeoutQueue.h \
220         Traits.h \
221         Unicode.h \
222         Uri.h \
223         Uri-inl.h \
224         Varint.h \
225         VersionCheck.h \
226         wangle/acceptor/Acceptor.h \
227         wangle/acceptor/ConnectionCounter.h \
228         wangle/acceptor/ConnectionManager.h \
229         wangle/acceptor/DomainNameMisc.h \
230         wangle/acceptor/LoadShedConfiguration.h \
231         wangle/acceptor/ManagedConnection.h \
232         wangle/acceptor/NetworkAddress.h \
233         wangle/acceptor/ServerSocketConfig.h \
234         wangle/acceptor/SocketOptions.h \
235         wangle/acceptor/TransportInfo.h \
236         wangle/bootstrap/ServerBootstrap.h \
237         wangle/bootstrap/ServerBootstrap-inl.h \
238         wangle/bootstrap/ServerSocketFactory.h \
239         wangle/bootstrap/ClientBootstrap.h \
240         wangle/channel/AsyncSocketHandler.h \
241         wangle/channel/ChannelHandler.h \
242         wangle/channel/ChannelHandlerContext.h \
243         wangle/channel/ChannelPipeline.h \
244         wangle/channel/OutputBufferingHandler.h \
245         wangle/concurrent/BlockingQueue.h \
246         wangle/concurrent/Codel.h \
247         wangle/concurrent/CPUThreadPoolExecutor.h \
248         wangle/concurrent/FutureExecutor.h \
249         wangle/concurrent/IOExecutor.h \
250         wangle/concurrent/IOThreadPoolExecutor.h \
251         wangle/concurrent/GlobalExecutor.h \
252         wangle/concurrent/LifoSemMPMCQueue.h \
253         wangle/concurrent/NamedThreadFactory.h \
254         wangle/concurrent/ThreadFactory.h \
255         wangle/concurrent/ThreadPoolExecutor.h \
256         wangle/rx/Observable.h \
257         wangle/rx/Observer.h \
258         wangle/rx/Subject.h \
259         wangle/rx/Subscription.h \
260         wangle/rx/types.h \
261         wangle/ssl/ClientHelloExtStats.h \
262         wangle/ssl/DHParam.h \
263         wangle/ssl/PasswordInFile.h \
264         wangle/ssl/SSLCacheOptions.h \
265         wangle/ssl/SSLCacheProvider.h \
266         wangle/ssl/SSLContextConfig.h \
267         wangle/ssl/SSLContextManager.h \
268         wangle/ssl/SSLSessionCacheManager.h \
269         wangle/ssl/SSLStats.h \
270         wangle/ssl/SSLUtil.h \
271         wangle/ssl/TLSTicketKeyManager.h \
272         wangle/ssl/TLSTicketKeySeeds.h
273
274 FormatTables.cpp: build/generate_format_tables.py
275         build/generate_format_tables.py
276 CLEANFILES += FormatTables.cpp
277
278 EscapeTables.cpp: build/generate_escape_tables.py
279         build/generate_escape_tables.py
280 CLEANFILES += EscapeTables.cpp
281
282 GroupVarintTables.cpp: build/generate_varint_tables.py
283         build/generate_varint_tables.py
284 CLEANFILES += GroupVarintTables.cpp
285
286 libfollybase_la_SOURCES = \
287         Conv.cpp \
288         Demangle.cpp \
289         EscapeTables.cpp \
290         Format.cpp \
291         FormatTables.cpp \
292         Malloc.cpp \
293         Range.cpp \
294         String.cpp \
295         Unicode.cpp
296
297 libfolly_la_SOURCES = \
298         Bits.cpp \
299         detail/CacheLocality.cpp \
300         dynamic.cpp \
301         File.cpp \
302         FileUtil.cpp \
303         FingerprintTables.cpp \
304         futures/detail/ThreadWheelTimekeeper.cpp \
305         futures/Future.cpp \
306         futures/InlineExecutor.cpp \
307         futures/ManualExecutor.cpp \
308         futures/QueuedImmediateExecutor.cpp \
309         detail/Futex.cpp \
310         GroupVarint.cpp \
311         GroupVarintTables.cpp \
312         IPAddress.cpp \
313         IPAddressV4.cpp \
314         IPAddressV6.cpp \
315         LifoSem.cpp \
316         io/Compression.cpp \
317         io/IOBuf.cpp \
318         io/IOBufQueue.cpp \
319         io/RecordIO.cpp \
320         io/ShutdownSocketSet.cpp \
321         io/async/AsyncTimeout.cpp \
322         io/async/AsyncUDPSocket.cpp \
323         io/async/AsyncServerSocket.cpp \
324         io/async/AsyncSocket.cpp \
325         io/async/AsyncSSLSocket.cpp \
326         io/async/EventBase.cpp \
327         io/async/EventBaseManager.cpp \
328         io/async/EventHandler.cpp \
329         io/async/Request.cpp \
330         io/async/SSLContext.cpp \
331         io/async/HHWheelTimer.cpp \
332         io/async/test/TimeUtil.cpp \
333         json.cpp \
334         detail/MemoryIdler.cpp \
335         MacAddress.cpp \
336         MemoryMapping.cpp \
337         Random.cpp \
338         SafeAssert.cpp \
339         SocketAddress.cpp \
340         SpookyHashV1.cpp \
341         SpookyHashV2.cpp \
342         stats/Instantiations.cpp \
343         Subprocess.cpp \
344         ThreadCachedArena.cpp \
345         TimeoutQueue.cpp \
346         Uri.cpp \
347         Version.cpp \
348         experimental/FunctionScheduler.cpp \
349         experimental/io/FsUtil.cpp \
350         experimental/JSONSchema.cpp \
351         experimental/Select64.cpp \
352         experimental/SharedMutex.cpp \
353         experimental/Singleton.cpp \
354         experimental/TestUtil.cpp \
355         wangle/acceptor/Acceptor.cpp \
356         wangle/acceptor/ConnectionManager.cpp \
357         wangle/acceptor/LoadShedConfiguration.cpp \
358         wangle/acceptor/ManagedConnection.cpp \
359         wangle/acceptor/SocketOptions.cpp \
360         wangle/acceptor/TransportInfo.cpp \
361         wangle/bootstrap/ServerBootstrap.cpp \
362         wangle/concurrent/CPUThreadPoolExecutor.cpp \
363         wangle/concurrent/Codel.cpp \
364         wangle/concurrent/IOThreadPoolExecutor.cpp \
365         wangle/concurrent/GlobalExecutor.cpp \
366         wangle/concurrent/ThreadPoolExecutor.cpp \
367         wangle/ssl/PasswordInFile.cpp \
368         wangle/ssl/SSLContextManager.cpp \
369         wangle/ssl/SSLSessionCacheManager.cpp \
370         wangle/ssl/SSLUtil.cpp \
371         wangle/ssl/TLSTicketKeyManager.cpp
372
373 if HAVE_LINUX
374 nobase_follyinclude_HEADERS += \
375         experimental/io/HugePages.h
376 libfolly_la_SOURCES += \
377         experimental/io/HugePages.cpp
378 endif
379
380 if !HAVE_LINUX
381 nobase_follyinclude_HEADERS += detail/Clock.h
382 libfollybase_la_SOURCES += detail/Clock.cpp
383 endif
384
385 if !HAVE_WEAK_SYMBOLS
386 libfollybase_la_SOURCES += detail/MallocImpl.cpp
387 endif
388
389 if !HAVE_BITS_FUNCTEXCEPT
390 libfollybase_la_SOURCES += detail/FunctionalExcept.cpp
391 endif
392
393 libfollybase_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)
394
395 libfolly_la_LIBADD = libfollybase.la
396 libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) -lssl
397
398 FingerprintTables.cpp: generate_fingerprint_tables
399         ./generate_fingerprint_tables
400 CLEANFILES += FingerprintTables.cpp
401
402 libfollybenchmark_la_SOURCES = Benchmark.cpp
403 libfollybenchmark_la_LIBADD = libfolly.la
404 libfollybenchmark_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION)