Revert "Change exception tracer to use per-thread caching in libunwind"
[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 = libfolly.la
10
11 lib_LTLIBRARIES = \
12         libfolly.la \
13         libfollybenchmark.la \
14         libfollytimeout_queue.la \
15         libfollyfingerprint.la
16
17 follyincludedir = $(includedir)/folly
18
19 nobase_follyinclude_HEADERS = \
20         ApplyTuple.h \
21         Arena.h \
22         Arena-inl.h \
23         AtomicBitSet.h \
24         AtomicHashArray.h \
25         AtomicHashArray-inl.h \
26         AtomicHashMap.h \
27         AtomicHashMap-inl.h \
28         Benchmark.h \
29         Bits.h \
30         Chrono.h \
31         ConcurrentSkipList.h \
32         ConcurrentSkipList-inl.h \
33         Conv.h \
34         CpuId.h \
35         CPortability.h \
36         detail/AtomicHashUtils.h \
37         detail/BitIteratorDetail.h \
38         detail/BitsDetail.h \
39         detail/DiscriminatedPtrDetail.h \
40         detail/FileUtilDetail.h \
41         detail/FingerprintPolynomial.h \
42         detail/Futex.h \
43         detail/GroupVarintDetail.h \
44         detail/Malloc.h \
45         detail/MPMCPipelineDetail.h \
46         detail/SlowFingerprint.h \
47         detail/Stats.h \
48         detail/ThreadLocalDetail.h \
49         DiscriminatedPtr.h \
50         DynamicConverter.h \
51         dynamic.h \
52         dynamic-inl.h \
53         FBString.h \
54         FBVector.h \
55         File.h \
56         FileUtil.h \
57         Fingerprint.h \
58         folly-config.h \
59         Foreach.h \
60         FormatArg.h \
61         Format.h \
62         Format-inl.h \
63         GroupVarint.h \
64         Hash.h \
65         IntrusiveList.h \
66         io/Cursor.h \
67         io/IOBuf.h \
68         io/IOBufQueue.h \
69         io/RecordIO.h \
70         io/RecordIO-inl.h \
71         io/TypedIOBuf.h \
72         json.h \
73         Lazy.h \
74         Likely.h \
75         Logging.h \
76         Malloc.h \
77         MapUtil.h \
78         Memory.h \
79         MemoryMapping.h \
80         MoveWrapper.h \
81         MPMCPipeline.h \
82         MPMCQueue.h \
83         Optional.h \
84         PackedSyncPtr.h \
85         Padded.h \
86         Portability.h \
87         Preprocessor.h \
88         ProducerConsumerQueue.h \
89         Random.h \
90         Range.h \
91         RWSpinLock.h \
92         ScopeGuard.h \
93         SmallLocks.h \
94         small_vector.h \
95         sorted_vector_types.h \
96         SpookyHashV1.h \
97         SpookyHashV2.h \
98         stats/BucketedTimeSeries-defs.h \
99         stats/BucketedTimeSeries.h \
100         stats/Histogram-defs.h \
101         stats/Histogram.h \
102         stats/MultiLevelTimeSeries-defs.h \
103         stats/MultiLevelTimeSeries.h \
104         String.h \
105         String-inl.h \
106         Subprocess.h \
107         Synchronized.h \
108         test/FBStringTestBenchmarks.cpp.h \
109         test/FBVectorTestBenchmarks.cpp.h \
110         test/function_benchmark/benchmark_impl.h \
111         test/function_benchmark/test_functions.h \
112         test/SynchronizedTestLib.h \
113         test/SynchronizedTestLib-inl.h \
114         ThreadCachedArena.h \
115         ThreadCachedInt.h \
116         ThreadLocal.h \
117         TimeoutQueue.h \
118         Traits.h \
119         Unicode.h \
120         Uri.h \
121         Uri-inl.h \
122         Varint.h
123
124 FormatTables.cpp: build/generate_format_tables.py
125         build/generate_format_tables.py
126 CLEANFILES += FormatTables.cpp
127
128 EscapeTables.cpp: build/generate_escape_tables.py
129         build/generate_escape_tables.py
130 CLEANFILES += EscapeTables.cpp
131
132 GroupVarintTables.cpp: build/generate_varint_tables.py
133         build/generate_varint_tables.py
134 CLEANFILES += GroupVarintTables.cpp
135
136 libfolly_la_SOURCES = \
137         Benchmark.cpp \
138         Bits.cpp \
139         Conv.cpp \
140         dynamic.cpp \
141         EscapeTables.cpp \
142         File.cpp \
143         FileUtil.cpp \
144         Format.cpp \
145         FormatTables.cpp \
146         GroupVarint.cpp \
147         GroupVarintTables.cpp \
148         io/IOBuf.cpp \
149         io/IOBufQueue.cpp \
150         io/RecordIO.cpp \
151         json.cpp \
152         MemoryMapping.cpp \
153         Random.cpp \
154         Range.cpp \
155         SpookyHashV1.cpp \
156         SpookyHashV2.cpp \
157         stats/Instantiations.cpp \
158         String.cpp \
159         Subprocess.cpp \
160         ThreadCachedArena.cpp \
161         TimeoutQueue.cpp \
162         Unicode.cpp \
163         Uri.cpp
164
165 if !HAVE_LINUX
166 nobase_follyinclude_HEADERS += detail/Clock.h
167 libfolly_la_SOURCES += detail/Clock.cpp
168 endif
169
170 if !HAVE_WEAK_SYMBOLS
171 libfolly_la_SOURCES += detail/Malloc.cpp
172 endif
173
174 FingerprintTables.cpp: generate_fingerprint_tables
175         ./generate_fingerprint_tables
176 CLEANFILES += FingerprintTables.cpp
177
178 libfollyfingerprint_la_SOURCES = \
179         FingerprintTables.cpp
180 libfollyfingerprint_la_LIBADD = libfolly.la
181
182 libfollybenchmark_la_SOURCES = Benchmark.cpp
183 libfollybenchmark_la_LIBADD = libfolly.la
184
185 libfollytimeout_queue_la_SOURCES = TimeoutQueue.cpp
186 libfollytimeout_queue_la_LIBADD = libfolly.la
187