Pull from FB rev 63ce89e2f2301e6bba44a111cc7d4218022156f6
[folly.git] / folly / Makefile.am
1 SUBDIRS = . test
2
3 ACLOCAL_AMFLAGS = -I m4
4
5 lib_LTLIBRARIES = \
6         libfolly.la \
7         libfollybenchmark.la \
8         libfollytimeout_queue.la
9
10 follyincludedir = $(includedir)/folly
11
12 nobase_follyinclude_HEADERS = \
13         FBVector.h \
14         detail/ThreadLocalDetail.h \
15         detail/DiscriminatedPtrDetail.h \
16         detail/AtomicHashUtils.h \
17         detail/BitIteratorDetail.h \
18         detail/GroupVarintDetail.h \
19         IntrusiveList.h \
20         TimeoutQueue.h \
21         String.h \
22         PackedSyncPtr.h \
23         Conv.h \
24         ThreadLocal.h \
25         ProducerConsumerQueue.h \
26         Histogram-inl.h \
27         ThreadCachedInt.h \
28         ConcurrentSkipList.h \
29         json.h \
30         folly-config.h \
31         FBString.h \
32         Unicode.h \
33         test/function_benchmark/test_functions.h \
34         test/function_benchmark/benchmark_impl.h \
35         test/FBStringTestBenchmarks.cpp.h \
36         test/SynchronizedTestLib.h \
37         test/FBVectorTestBenchmarks.cpp.h \
38         test/SynchronizedTestLib-inl.h \
39         Synchronized.h \
40         Malloc.h \
41         dynamic.h \
42         AtomicHashArray.h \
43         dynamic-inl.h \
44         Bits.h \
45         sorted_vector_types.h \
46         Hash.h \
47         DiscriminatedPtr.h \
48         ConcurrentSkipList-inl.h \
49         Random.h \
50         GroupVarint.h \
51         Range.h \
52         Benchmark.h \
53         Likely.h \
54         Histogram.h \
55         AtomicHashMap.h \
56         Portability.h \
57         AtomicHashArray-inl.h \
58         eventfd.h \
59         SmallLocks.h \
60         ScopeGuard.h \
61         Traits.h \
62         RWSpinLock.h \
63         small_vector.h \
64         Foreach.h \
65         AtomicHashMap-inl.h \
66         MapUtil.h
67
68 FormatTables.cpp: build/generate_format_tables.py
69         build/generate_format_tables.py
70
71 libfolly_la_SOURCES = \
72         Random.cpp \
73         Range.cpp \
74         Unicode.cpp \
75         Conv.cpp \
76         Format.cpp \
77         FormatTables.cpp \
78         String.cpp \
79         json.cpp \
80         dynamic.cpp \
81 libfolly_la_LIBADD = $(BOOST_THREAD_LIBS) -lpthread
82
83 libfollybenchmark_la_SOURCES = Benchmark.cpp
84 libfollybenchmark_la_LIBADD = -lboost_regex -lpthread -lrt
85
86 libfollytimeout_queue_la_SOURCES = TimeoutQueue.cpp