folly: install missing headers from Makefile.am
[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         AtomicStruct.h \
29         Baton.h \
30         Benchmark.h \
31         Bits.h \
32         Chrono.h \
33         ConcurrentSkipList.h \
34         ConcurrentSkipList-inl.h \
35         Conv.h \
36         CpuId.h \
37         CPortability.h \
38         detail/AtomicHashUtils.h \
39         detail/BitIteratorDetail.h \
40         detail/BitsDetail.h \
41         detail/CacheLocality.h \
42         detail/ChecksumDetail.h \
43         detail/Clock.h \
44         detail/DiscriminatedPtrDetail.h \
45         detail/FileUtilDetail.h \
46         detail/FingerprintPolynomial.h \
47         detail/FunctionalExcept.h \
48         detail/Futex.h \
49         detail/GroupVarintDetail.h \
50         detail/Malloc.h \
51         detail/MemoryIdler.h \
52         detail/MPMCPipelineDetail.h \
53         detail/SlowFingerprint.h \
54         detail/Stats.h \
55         detail/ThreadLocalDetail.h \
56         detail/UncaughtExceptionCounter.h \
57         DiscriminatedPtr.h \
58         DynamicConverter.h \
59         dynamic.h \
60         dynamic-inl.h \
61         FBString.h \
62         FBVector.h \
63         File.h \
64         FileUtil.h \
65         Fingerprint.h \
66         folly-config.h \
67         Exception.h \
68         Foreach.h \
69         FormatArg.h \
70         Format.h \
71         Format-inl.h \
72         GroupVarint.h \
73         Hash.h \
74         IndexedMemPool.h \
75         IntrusiveList.h \
76         io/Cursor.h \
77         io/IOBuf.h \
78         io/IOBufQueue.h \
79         io/RecordIO.h \
80         io/RecordIO-inl.h \
81         io/TypedIOBuf.h \
82         json.h \
83         Lazy.h \
84         Likely.h \
85         Logging.h \
86         Malloc.h \
87         MapUtil.h \
88         Memory.h \
89         MemoryMapping.h \
90         MoveWrapper.h \
91         MPMCPipeline.h \
92         MPMCQueue.h \
93         Optional.h \
94         PackedSyncPtr.h \
95         Padded.h \
96         Portability.h \
97         Preprocessor.h \
98         ProducerConsumerQueue.h \
99         Random.h \
100         Range.h \
101         RWSpinLock.h \
102         ScopeGuard.h \
103         SmallLocks.h \
104         small_vector.h \
105         sorted_vector_types.h \
106         SpookyHashV1.h \
107         SpookyHashV2.h \
108         stats/BucketedTimeSeries-defs.h \
109         stats/BucketedTimeSeries.h \
110         stats/Histogram-defs.h \
111         stats/Histogram.h \
112         stats/MultiLevelTimeSeries-defs.h \
113         stats/MultiLevelTimeSeries.h \
114         String.h \
115         String-inl.h \
116         Subprocess.h \
117         Synchronized.h \
118         test/FBStringTestBenchmarks.cpp.h \
119         test/FBVectorTestBenchmarks.cpp.h \
120         test/function_benchmark/benchmark_impl.h \
121         test/function_benchmark/test_functions.h \
122         test/SynchronizedTestLib.h \
123         test/SynchronizedTestLib-inl.h \
124         ThreadCachedArena.h \
125         ThreadCachedInt.h \
126         ThreadLocal.h \
127         TimeoutQueue.h \
128         Traits.h \
129         Unicode.h \
130         Uri.h \
131         Uri-inl.h \
132         Varint.h \
133         wangle/Executor.h \
134         wangle/Future-inl.h \
135         wangle/Future.h \
136         wangle/GenericThreadGate.h \
137         wangle/InlineExecutor.h \
138         wangle/Later-inl.h \
139         wangle/Later.h \
140         wangle/ManualExecutor.h \
141         wangle/Promise-inl.h \
142         wangle/Promise.h \
143         wangle/ThreadGate.h \
144         wangle/Try-inl.h \
145         wangle/Try.h \
146         wangle/WangleException.h \
147         wangle/detail.h
148
149 FormatTables.cpp: build/generate_format_tables.py
150         build/generate_format_tables.py
151 CLEANFILES += FormatTables.cpp
152
153 EscapeTables.cpp: build/generate_escape_tables.py
154         build/generate_escape_tables.py
155 CLEANFILES += EscapeTables.cpp
156
157 GroupVarintTables.cpp: build/generate_varint_tables.py
158         build/generate_varint_tables.py
159 CLEANFILES += GroupVarintTables.cpp
160
161 libfolly_la_SOURCES = \
162         Benchmark.cpp \
163         Bits.cpp \
164         Conv.cpp \
165         detail/CacheLocality.cpp \
166         dynamic.cpp \
167         EscapeTables.cpp \
168         File.cpp \
169         FileUtil.cpp \
170         Format.cpp \
171         FormatTables.cpp \
172         GroupVarint.cpp \
173         GroupVarintTables.cpp \
174         io/IOBuf.cpp \
175         io/IOBufQueue.cpp \
176         io/RecordIO.cpp \
177         json.cpp \
178         detail/MemoryIdler.cpp \
179         MemoryMapping.cpp \
180         Random.cpp \
181         Range.cpp \
182         SpookyHashV1.cpp \
183         SpookyHashV2.cpp \
184         stats/Instantiations.cpp \
185         String.cpp \
186         Subprocess.cpp \
187         ThreadCachedArena.cpp \
188         TimeoutQueue.cpp \
189         Unicode.cpp \
190         Uri.cpp \
191         wangle/InlineExecutor.cpp \
192         wangle/ManualExecutor.cpp \
193         wangle/ThreadGate.cpp
194
195 if !HAVE_LINUX
196 nobase_follyinclude_HEADERS += detail/Clock.h
197 libfolly_la_SOURCES += detail/Clock.cpp
198 endif
199
200 if !HAVE_WEAK_SYMBOLS
201 libfolly_la_SOURCES += detail/Malloc.cpp
202 endif
203
204 if !HAVE_BITS_FUNCTEXCEPT
205 libfolly_la_SOURCES += detail/FunctionalExcept.cpp
206 endif
207
208 FingerprintTables.cpp: generate_fingerprint_tables
209         ./generate_fingerprint_tables
210 CLEANFILES += FingerprintTables.cpp
211
212 libfollyfingerprint_la_SOURCES = \
213         FingerprintTables.cpp
214 libfollyfingerprint_la_LIBADD = libfolly.la
215
216 libfollybenchmark_la_SOURCES = Benchmark.cpp
217 libfollybenchmark_la_LIBADD = libfolly.la
218
219 libfollytimeout_queue_la_SOURCES = TimeoutQueue.cpp
220 libfollytimeout_queue_la_LIBADD = libfolly.la