-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
122 lines (95 loc) · 3.16 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#
# Copyright 2023 Geoffrey Ramseyer
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
CLOCAL_AMFLAGS = -I m4
SUBDIRS = $(PKGCONFIG_SUBDIRS)
CLEANFILES = *~ .*~
include $(srcdir)/lib/utility/Makefile.am.fragment
include $(srcdir)/lib/merkle_trie_toolkit/Makefile.am.fragment
X_FILES = \
xdr/storage.x \
xdr/types.x
XH_FILES = $(X_FILES:.x=.h)
#building x files
$(XH_FILES) : $(XDRC)
SUFFIXES = .x .h
.x.h:
$(XDRC) -hh -o $@ $<
CONFIG_SRCS = \
config/yield_config.cc
CRYPTO_SRCS = \
crypto/crypto_utils.cc
HASH_SET_SRCS = \
hash_set/atomic_set.cc
OBJECT_SRCS = \
object/comparators.cc \
object/make_delta.cc \
object/object_defaults.cc \
object/revertable_object.cc
THREADLOCAL_SRCS = \
threadlocal/threadlocal_context.cc
SRCS = \
$(CONFIG_SRCS) \
$(CRYPTO_SRCS) \
$(HASH_SET_SRCS) \
$(OBJECT_SRCS) \
$(THREADLOCAL_SRCS) \
$(utility_CCS_NOLDMB)
libptimc/build/libptimc.a: libptimc/libptimc.c libptimc/libimc/libimc_linux.c libptimc/libimc/master.c libptimc/libimc/worker.c
cd libptimc && make
exhaust-libptimc/build/libptimc.a: exhaust-libptimc/libptimc.c exhaust-libptimc/libimc/libimc_linux.c exhaust-libptimc/libimc/master.c exhaust-libptimc/libimc/worker.c
cd exhaust-libptimc && make
AM_CPPFLAGS = \
$(xdrpp_CFLAGS) \
$(libsodium_CFLAGS) \
$(tbb_CFLAGS) \
$(utility_CFLAGS) \
$(mtt_CFLAGS) \
-I./exhaust-libptimc/libimc/ \
-I./exhaust-libptimc
LDADD = \
$(xdrpp_LIBS) \
$(libsodium_LIBS) \
$(tbb_LIBS) \
$(utility_LIBS) \
$(mtt_LIBS) \
./exhaust-libptimc/build/libptimc.a
$(SRCS:.cc=.o) : $(XH_FILES)
bin_PROGRAMS = \
test_uint128_simple \
test_uint128_buggy \
test_hs_simple \
test_hs_ins_erase \
test_hs_tombstone_bug \
test_hs_tombstone_bug_shorter \
test_rbo_basic_empty \
test_rbo_basic_empty_sametc \
test_rbo_basic_empty_sametc2 \
test_ephemeraltrie_insert \
test_ephemeraltrie_insert2
test_uint128_simple_SOURCES = main/test_uint128_simple.cc $(SRCS)
test_uint128_buggy_SOURCES = main/test_uint128_buggy.cc $(SRCS)
test_hs_simple_SOURCES = main/test_hs_simple.cc $(SRCS)
test_hs_ins_erase_SOURCES = main/test_hs_ins_erase.cc $(SRCS)
test_hs_tombstone_bug_SOURCES = main/test_hs_tombstone_bug.cc $(SRCS)
test_hs_tombstone_bug_shorter_SOURCES = main/test_hs_tombstone_bug_shorter.cc $(SRCS)
test_rbo_basic_empty_SOURCES = main/test_rbo_basic_empty.cc $(SRCS)
test_rbo_basic_empty_sametc_SOURCES = main/test_rbo_basic_empty_sametc.cc $(SRCS)
test_rbo_basic_empty_sametc2_SOURCES = main/test_rbo_basic_empty_sametc2.cc $(SRCS)
test_ephemeraltrie_insert_SOURCES = main/test_ephemeraltrie_insert.cc $(SRCS)
test_ephemeraltrie_insert2_SOURCES = main/test_ephemeraltrie_insert2.cc $(SRCS)
clean-local:
$(RM) -r libptimc/build/
$(RM) -r exhaust-libptimc/build/