forked from traildb/traildb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
58 lines (52 loc) · 1.76 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
lib_LTLIBRARIES = libtraildb.la
ACLOCAL_AMFLAGS = -I m4
libtraildb_la_CFLAGS = -std=c99 \
-DJUDYERROR=judyerror_macro_missing_fix_this \
-O3 \
-fvisibility=hidden \
-g \
-Wall \
-Wextra \
-Wconversion \
-Wcast-qual \
-Wformat-security \
-Wmissing-declarations \
-Wmissing-prototypes \
-Wnested-externs \
-Wpointer-arith \
-Wshadow \
-Wstrict-prototypes
AM_CPPFLAGS = -Isrc/xxhash -Isrc/dsfmt
AM_CFLAGS=-O3 -g -fvisibility=hidden
libtraildb_la_LIBADD = src/xxhash/xxhash.lo src/dsfmt/dSFMT.lo
libtraildb_la_SOURCES = \
src/tdb.c \
src/tdb_cons.c \
src/tdb_uuid.c \
src/tdb_decode.c \
src/tdb_encode.c \
src/tdb_encode_model.c \
src/tdb_queue.c \
src/tdb_huffman.c \
src/tdb_cons_package.c \
src/tdb_package.c \
src/arena.c \
src/judy_str_map.c \
src/judy_128_map.c
EXTRA_libtraildb_la_SOURCES = src/xxhash/xxhash.c src/dsfmt/dSFMT.c
include_HEADERS = \
src/traildb.h \
src/tdb_error.h \
src/tdb_types.h \
src/tdb_limits.h
bin_PROGRAMS = util/traildb_bench tdbcli/tdb
util_traildb_bench_SOURCES = util/traildb_bench.c
util_traildb_bench_CFLAGS = ${libtraildb_la_CFLAGS} -Isrc/
util_traildb_bench_LDADD = libtraildb.la
tdbcli_tdb_CFLAGS = -Isrc/ \
-DJUDYERROR=judyerror_macro_missing_fix_this \
-O3 \
-g \
-Wall
tdbcli_tdb_SOURCES = tdbcli/main.c tdbcli/op_dump.c tdbcli/op_make.c tdbcli/jsmn/jsmn.c
tdbcli_tdb_LDADD = libtraildb.la