[GTK] Move libLevelDB.la setup into a separate GNUmakefile.am
[WebKit-https.git] / Source / ThirdParty / leveldb / GNUmakefile.am
1 if ENABLE_INDEXED_DATABASE
2 noinst_LTLIBRARIES += \
3         libLevelDB.la
4 endif
5
6 libLevelDB_la_CXXFLAGS = $(global_cxxflags)
7 libLevelDB_la_CFLAGS = $(global_cflags)
8 libLevelDB_la_CPPFLAGS = \
9         $(global_cppflags) \
10         -fno-builtin-memcmp \
11         -I$(srcdir)/Source/ThirdParty/leveldb \
12         -I$(srcdir)/Source/ThirdParty/leveldb/include \
13         -DLEVELDB_PLATFORM_POSIX
14
15 if OS_WIN32
16 libLevelDB_la_CPPFLAGS += \
17         -DOS_WIN
18 else
19 libLevelDB_la_CPPFLAGS += \
20         -pthread
21 endif
22
23 if OS_LINUX
24 libLevelDB_la_CPPFLAGS += \
25         -DOS_LINUX
26 endif
27
28 if OS_FREEBSD
29 libLevelDB_la_CPPFLAGS += \
30         -DOS_FREEBSD
31 endif
32
33 if OS_DARWIN
34 libLevelDB_la_CPPFLAGS += \
35         -DOS_MACOSX
36 endif
37
38 libLevelDB_la_SOURCES = \
39         Source/ThirdParty/leveldb/db/builder.cc\
40         Source/ThirdParty/leveldb/db/builder.h \
41         Source/ThirdParty/leveldb/db/c.cc \
42         Source/ThirdParty/leveldb/db/dbformat.cc \
43         Source/ThirdParty/leveldb/db/dbformat.h \
44         Source/ThirdParty/leveldb/db/db_impl.cc \
45         Source/ThirdParty/leveldb/db/db_impl.h \
46         Source/ThirdParty/leveldb/db/db_iter.cc \
47         Source/ThirdParty/leveldb/db/db_iter.h \
48         Source/ThirdParty/leveldb/db/filename.cc \
49         Source/ThirdParty/leveldb/db/filename.h \
50         Source/ThirdParty/leveldb/db/log_format.h \
51         Source/ThirdParty/leveldb/db/log_reader.cc \
52         Source/ThirdParty/leveldb/db/log_reader.h \
53         Source/ThirdParty/leveldb/db/log_writer.cc \
54         Source/ThirdParty/leveldb/db/log_writer.h \
55         Source/ThirdParty/leveldb/db/memtable.cc \
56         Source/ThirdParty/leveldb/db/memtable.h \
57         Source/ThirdParty/leveldb/db/repair.cc \
58         Source/ThirdParty/leveldb/db/skiplist.h \
59         Source/ThirdParty/leveldb/db/snapshot.h \
60         Source/ThirdParty/leveldb/db/table_cache.cc \
61         Source/ThirdParty/leveldb/db/table_cache.h \
62         Source/ThirdParty/leveldb/db/version_edit.cc \
63         Source/ThirdParty/leveldb/db/version_edit.h \
64         Source/ThirdParty/leveldb/db/version_set.cc \
65         Source/ThirdParty/leveldb/db/version_set.h \
66         Source/ThirdParty/leveldb/db/write_batch.cc \
67         Source/ThirdParty/leveldb/db/write_batch_internal.h \
68         Source/ThirdParty/leveldb/helpers/memenv/memenv.cc \
69         Source/ThirdParty/leveldb/helpers/memenv/memenv.h \
70         Source/ThirdParty/leveldb/include/leveldb/cache.h \
71         Source/ThirdParty/leveldb/include/leveldb/c.h \
72         Source/ThirdParty/leveldb/include/leveldb/comparator.h \
73         Source/ThirdParty/leveldb/include/leveldb/db.h \
74         Source/ThirdParty/leveldb/include/leveldb/env.h \
75         Source/ThirdParty/leveldb/include/leveldb/filter_policy.h \
76         Source/ThirdParty/leveldb/include/leveldb/iterator.h \
77         Source/ThirdParty/leveldb/include/leveldb/options.h \
78         Source/ThirdParty/leveldb/include/leveldb/slice.h \
79         Source/ThirdParty/leveldb/include/leveldb/status.h \
80         Source/ThirdParty/leveldb/include/leveldb/table_builder.h \
81         Source/ThirdParty/leveldb/include/leveldb/table.h \
82         Source/ThirdParty/leveldb/include/leveldb/write_batch.h \
83         Source/ThirdParty/leveldb/port/atomic_pointer.h \
84         Source/ThirdParty/leveldb/port/port_example.h \
85         Source/ThirdParty/leveldb/port/port.h \
86         Source/ThirdParty/leveldb/port/port_posix.cc \
87         Source/ThirdParty/leveldb/port/port_posix.h \
88         Source/ThirdParty/leveldb/port/thread_annotations.h \
89         Source/ThirdParty/leveldb/port/win/stdint.h \
90         Source/ThirdParty/leveldb/table/block_builder.cc \
91         Source/ThirdParty/leveldb/table/block_builder.h \
92         Source/ThirdParty/leveldb/table/block.cc \
93         Source/ThirdParty/leveldb/table/block.h \
94         Source/ThirdParty/leveldb/table/filter_block.cc \
95         Source/ThirdParty/leveldb/table/filter_block.h \
96         Source/ThirdParty/leveldb/table/format.cc \
97         Source/ThirdParty/leveldb/table/format.h \
98         Source/ThirdParty/leveldb/table/iterator.cc \
99         Source/ThirdParty/leveldb/table/iterator_wrapper.h \
100         Source/ThirdParty/leveldb/table/merger.cc \
101         Source/ThirdParty/leveldb/table/merger.h \
102         Source/ThirdParty/leveldb/table/table_builder.cc \
103         Source/ThirdParty/leveldb/table/table.cc \
104         Source/ThirdParty/leveldb/table/two_level_iterator.cc \
105         Source/ThirdParty/leveldb/table/two_level_iterator.h \
106         Source/ThirdParty/leveldb/util/arena.cc \
107         Source/ThirdParty/leveldb/util/arena.h \
108         Source/ThirdParty/leveldb/util/bloom.cc \
109         Source/ThirdParty/leveldb/util/cache.cc \
110         Source/ThirdParty/leveldb/util/coding.cc \
111         Source/ThirdParty/leveldb/util/coding.h \
112         Source/ThirdParty/leveldb/util/comparator.cc \
113         Source/ThirdParty/leveldb/util/crc32c.cc \
114         Source/ThirdParty/leveldb/util/crc32c.h \
115         Source/ThirdParty/leveldb/util/env.cc \
116         Source/ThirdParty/leveldb/util/env_posix.cc \
117         Source/ThirdParty/leveldb/util/filter_policy.cc \
118         Source/ThirdParty/leveldb/util/hash.cc \
119         Source/ThirdParty/leveldb/util/hash.h \
120         Source/ThirdParty/leveldb/util/histogram.cc \
121         Source/ThirdParty/leveldb/util/histogram.h \
122         Source/ThirdParty/leveldb/util/logging.cc \
123         Source/ThirdParty/leveldb/util/logging.h \
124         Source/ThirdParty/leveldb/util/mutexlock.h \
125         Source/ThirdParty/leveldb/util/options.cc \
126         Source/ThirdParty/leveldb/util/posix_logger.h \
127         Source/ThirdParty/leveldb/util/random.h \
128         Source/ThirdParty/leveldb/util/status.cc