detail/CacheLocality.h - utilities for dynamic cache optimizations
[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/CacheLocality.h \
40         detail/DiscriminatedPtrDetail.h \
41         detail/FileUtilDetail.h \
42         detail/FingerprintPolynomial.h \
43         detail/Futex.h \
44         detail/GroupVarintDetail.h \
45         detail/Malloc.h \
46         detail/MPMCPipelineDetail.h \
47         detail/SlowFingerprint.h \
48         detail/Stats.h \
49         detail/ThreadLocalDetail.h \
50         DiscriminatedPtr.h \
51         DynamicConverter.h \
52         dynamic.h \
53         dynamic-inl.h \
54         FBString.h \
55         FBVector.h \
56         File.h \
57         FileUtil.h \
58         Fingerprint.h \
59         folly-config.h \
60         Foreach.h \
61         FormatArg.h \
62         Format.h \
63         Format-inl.h \
64         GroupVarint.h \
65         Hash.h \
66         IntrusiveList.h \
67         io/Cursor.h \
68         io/IOBuf.h \
69         io/IOBufQueue.h \
70         io/RecordIO.h \
71         io/RecordIO-inl.h \
72         io/TypedIOBuf.h \
73         json.h \
74         Lazy.h \
75         Likely.h \
76         Logging.h \
77         Malloc.h \
78         MapUtil.h \
79         Memory.h \
80         MemoryMapping.h \
81         MoveWrapper.h \
82         MPMCPipeline.h \
83         MPMCQueue.h \
84         Optional.h \
85         PackedSyncPtr.h \
86         Padded.h \
87         Portability.h \
88         Preprocessor.h \
89         ProducerConsumerQueue.h \
90         Random.h \
91         Range.h \
92         RWSpinLock.h \
93         ScopeGuard.h \
94         SmallLocks.h \
95         small_vector.h \
96         sorted_vector_types.h \
97         SpookyHashV1.h \
98         SpookyHashV2.h \
99         stats/BucketedTimeSeries-defs.h \
100         stats/BucketedTimeSeries.h \
101         stats/Histogram-defs.h \
102         stats/Histogram.h \
103         stats/MultiLevelTimeSeries-defs.h \
104         stats/MultiLevelTimeSeries.h \
105         String.h \
106         String-inl.h \
107         Subprocess.h \
108         Synchronized.h \
109         test/FBStringTestBenchmarks.cpp.h \
110         test/FBVectorTestBenchmarks.cpp.h \
111         test/function_benchmark/benchmark_impl.h \
112         test/function_benchmark/test_functions.h \
113         test/SynchronizedTestLib.h \
114         test/SynchronizedTestLib-inl.h \
115         ThreadCachedArena.h \
116         ThreadCachedInt.h \
117         ThreadLocal.h \
118         TimeoutQueue.h \
119         Traits.h \
120         Unicode.h \
121         Uri.h \
122         Uri-inl.h \
123         Varint.h
124
125 FormatTables.cpp: build/generate_format_tables.py
126         build/generate_format_tables.py
127 CLEANFILES += FormatTables.cpp
128
129 EscapeTables.cpp: build/generate_escape_tables.py
130         build/generate_escape_tables.py
131 CLEANFILES += EscapeTables.cpp
132
133 GroupVarintTables.cpp: build/generate_varint_tables.py
134         build/generate_varint_tables.py
135 CLEANFILES += GroupVarintTables.cpp
136
137 libfolly_la_SOURCES = \
138         Benchmark.cpp \
139         Bits.cpp \
140         Conv.cpp \
141         detail/CacheLocality.cpp \
142         dynamic.cpp \
143         EscapeTables.cpp \
144         File.cpp \
145         FileUtil.cpp \
146         Format.cpp \
147         FormatTables.cpp \
148         GroupVarint.cpp \
149         GroupVarintTables.cpp \
150         io/IOBuf.cpp \
151         io/IOBufQueue.cpp \
152         io/RecordIO.cpp \
153         json.cpp \
154         MemoryMapping.cpp \
155         Random.cpp \
156         Range.cpp \
157         SpookyHashV1.cpp \
158         SpookyHashV2.cpp \
159         stats/Instantiations.cpp \
160         String.cpp \
161         Subprocess.cpp \
162         ThreadCachedArena.cpp \
163         TimeoutQueue.cpp \
164         Unicode.cpp \
165         Uri.cpp
166
167 if !HAVE_LINUX
168 nobase_follyinclude_HEADERS += detail/Clock.h
169 libfolly_la_SOURCES += detail/Clock.cpp
170 endif
171
172 if !HAVE_WEAK_SYMBOLS
173 libfolly_la_SOURCES += detail/Malloc.cpp
174 endif
175
176 FingerprintTables.cpp: generate_fingerprint_tables
177         ./generate_fingerprint_tables
178 CLEANFILES += FingerprintTables.cpp
179
180 libfollyfingerprint_la_SOURCES = \
181         FingerprintTables.cpp
182 libfollyfingerprint_la_LIBADD = libfolly.la
183
184 libfollybenchmark_la_SOURCES = Benchmark.cpp
185 libfollybenchmark_la_LIBADD = libfolly.la
186
187 libfollytimeout_queue_la_SOURCES = TimeoutQueue.cpp
188 libfollytimeout_queue_la_LIBADD = libfolly.la
189