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