Add Bob Jenkins's SpookyHash to folly.
[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         Arena.h \
19         Arena-inl.h \
20         AtomicHashArray.h \
21         AtomicHashArray-inl.h \
22         AtomicHashMap.h \
23         AtomicHashMap-inl.h \
24         Benchmark.h \
25         Bits.h \
26         ConcurrentSkipList.h \
27         ConcurrentSkipList-inl.h \
28         Conv.h \
29         detail/AtomicHashUtils.h \
30         detail/BitIteratorDetail.h \
31         detail/DiscriminatedPtrDetail.h \
32         detail/FingerprintPolynomial.h \
33         detail/GroupVarintDetail.h \
34         detail/SlowFingerprint.h \
35         detail/ThreadLocalDetail.h \
36         DiscriminatedPtr.h \
37         dynamic.h \
38         dynamic-inl.h \
39         eventfd.h \
40         FBString.h \
41         FBVector.h \
42         Fingerprint.h \
43         folly-config.h \
44         Foreach.h \
45         FormatArg.h \
46         Format.h \
47         Format-inl.h \
48         GroupVarint.h \
49         Hash.h \
50         Histogram.h \
51         Histogram-inl.h \
52         IntrusiveList.h \
53         json.h \
54         Likely.h \
55         Logging.h \
56         Malloc.h \
57         MapUtil.h \
58         PackedSyncPtr.h \
59         Portability.h \
60         Preprocessor.h \
61         ProducerConsumerQueue.h \
62         Random.h \
63         Range.h \
64         RWSpinLock.h \
65         ScopeGuard.h \
66         SmallLocks.h \
67         small_vector.h \
68         sorted_vector_types.h \
69         SpookyHash.h \
70         StlAllocator.h \
71         String.h \
72         String-inl.h \
73         Synchronized.h \
74         test/FBStringTestBenchmarks.cpp.h \
75         test/FBVectorTestBenchmarks.cpp.h \
76         test/function_benchmark/benchmark_impl.h \
77         test/function_benchmark/test_functions.h \
78         test/SynchronizedTestLib.h \
79         test/SynchronizedTestLib-inl.h \
80         ThreadCachedArena.h \
81         ThreadCachedInt.h \
82         ThreadLocal.h \
83         TimeoutQueue.h \
84         Traits.h \
85         Unicode.h
86
87 FormatTables.cpp: build/generate_format_tables.py
88         build/generate_format_tables.py
89
90 EscapeTables.cpp: build/generate_escape_tables.py
91         build/generate_escape_tables.py
92
93 GroupVarintTables.cpp: build/generate_varint_tables.py
94         build/generate_varint_tables.py
95
96 libfolly_la_SOURCES = \
97         Random.cpp \
98         Range.cpp \
99         Unicode.cpp \
100         Conv.cpp \
101         json.cpp \
102         dynamic.cpp \
103         GroupVarint.cpp \
104         GroupVarintTables.cpp \
105         EscapeTables.cpp \
106         ThreadCachedArena.cpp \
107         Format.cpp \
108         FormatTables.cpp \
109         String.cpp \
110         Bits.cpp \
111         SpookyHash.cpp
112
113 libfolly_la_LIBADD = $(BOOST_THREAD_LIB) -lpthread
114
115 FingerprintTables.cpp: generate_fingerprint_tables
116         ./generate_fingerprint_tables
117
118 libfollyfingerprint_la_SOURCES = \
119         FingerprintTables.cpp
120 libfollyfingerprint_la_LIBADD = libfolly.la
121
122 libfollybenchmark_la_SOURCES = Benchmark.cpp
123 libfollybenchmark_la_LIBADD = $(BOOST_REGEX_LIB) -lrt libfolly.la
124
125 libfollytimeout_queue_la_SOURCES = TimeoutQueue.cpp
126 libfollytimeout_queue_la_LIBADD = libfolly.la
127