forked from liblogdb/liblogdb
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile.am
59 lines (52 loc) · 1.32 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
59
ACLOCAL_AMFLAGS = -I build-aux/m4
.PHONY: gen
.INTERMEDIATE: $(GENBIN)
lib_LTLIBRARIES = liblogdb.la
include_HEADERS = \
include/logdb/logdb.h \
include/logdb/logdb_base.h \
include/logdb/logdb_core.h \
include/logdb/logdb_rec.h \
include/logdb/logdb_memdb_llist.h \
include/logdb/logdb_memdb_rbtree.h \
include/logdb/cstr.h \
include/logdb/serialize.h \
include/logdb/buffer.h \
include/logdb/sha2.h \
include/logdb/utils.h \
include/logdb/portable_endian.h \
include/logdb/red_black_tree.h
noinst_HEADERS =
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = liblogdb.pc
liblogdb_la_SOURCES = \
src/sha2.c \
src/utils.c \
src/buffer.c \
src/cstr.c \
src/serialize.c \
src/logdb_core.c \
src/logdb_memdb_llist.c \
src/logdb_memdb_rbtree.c \
src/logdb_rec.c \
src/red_black_tree.c
liblogdb_la_CFLAGS = -I$(top_srcdir)/include
if USE_TESTS
noinst_PROGRAMS = tests
tests_LDADD = liblogdb.la
tests_SOURCES = \
test/utest.h \
test/unittester.c \
test/sha2_tests.c \
test/cstr_tests.c \
test/buffer_tests.c \
test/utils_tests.c \
test/serialize_tests.c \
test/logdb_tests_sample.h \
test/logdb_tests.c \
test/tests_red_black_tree.c
tests_CFLAGS = -I$(top_srcdir)/include
tests_CPPFLAGS = -I$(top_srcdir)/src
tests_LDFLAGS = -static
TESTS = tests
endif