forked from stellar/stellar-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
82 lines (60 loc) · 2.38 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
## Process this file with automake to produce Makefile.in
bin_PROGRAMS =
SUBDIRS = lib src
AM_EXTRA_RECURSIVE_TARGETS = check-valgrind
ACLOCAL_AMFLAGS = -I m4
dist_doc_DATA = docs/stellar-core_example.cfg \
docs/stellar-core_standalone.cfg \
docs/stellar-core_testnet.cfg docs/software/admin.md \
docs/software/commands.md
include $(top_srcdir)/common.mk
.PHONY: always
always:
@:
if USE_CLANG_FORMAT
format: always
cd src && $(MAKE) $(AM_MAKEFLAGS) $@
endif # USE_CLANG_FORMAT
if USE_AFL_FUZZ
fuzz-testcases fuzz fuzz-clean: all
cd src && $(MAKE) $(AM_MAKEFLAGS) $@
endif # USE_AFL_FUZZ
if USE_TRACY_GUI
TRACY_GUI_DIR=$(top_srcdir)/lib/tracy/profiler
TRACY_GUI_SOURCE=$(TRACY_GUI_DIR)/src
TRACY_GUI_BUILD=$(TRACY_GUI_DIR)/build/unix
$(TRACY_GUI_BUILD)/Tracy-release: $(wildcard $(TRACY_GUI_SOURCE)/*.*)
$(MAKE) -C $(TRACY_GUI_BUILD) release CC="$(CC)" CXX="$(CXX)" TRACY_NO_ISA_EXTENSIONS=1
tracy-gui: $(TRACY_GUI_BUILD)/Tracy-release
cp -v $< $@
bin_PROGRAMS += tracy-gui
endif # USE_TRACY_GUI
if USE_TRACY_CAPTURE
TRACY_CAPTURE_DIR=$(top_srcdir)/lib/tracy/capture
TRACY_CAPTURE_SOURCE=$(TRACY_CAPTURE_DIR)/src
TRACY_CAPTURE_BUILD=$(TRACY_CAPTURE_DIR)/build/unix
$(TRACY_CAPTURE_BUILD)/capture-release: $(wildcard $(TRACY_CAPTURE_SOURCE)/*.*)
$(MAKE) -C $(TRACY_CAPTURE_BUILD) release CC="$(CC)" CXX="$(CXX)" TRACY_NO_ISA_EXTENSIONS=1
tracy-capture: $(TRACY_CAPTURE_BUILD)/capture-release
cp -v $< $@
bin_PROGRAMS += tracy-capture
endif # USE_TRACY_CAPTURE
if USE_TRACY_CSVEXPORT
TRACY_CSVEXPORT_DIR=$(top_srcdir)/lib/tracy/csvexport
TRACY_CSVEXPORT_SOURCE=$(TRACY_CSVEXPORT_DIR)/src
TRACY_CSVEXPORT_BUILD=$(TRACY_CSVEXPORT_DIR)/build/unix
$(TRACY_CSVEXPORT_BUILD)/csvexport-release: $(wildcard $(TRACY_CSVEXPORT_SOURCE)/*.*)
$(MAKE) -C $(TRACY_CSVEXPORT_BUILD) release CC="$(CC)" CXX="$(CXX)" TRACY_NO_ISA_EXTENSIONS=1
tracy-csvexport: $(TRACY_CSVEXPORT_BUILD)/csvexport-release
cp -v $< $@
bin_PROGRAMS += tracy-csvexport
endif # USE_TRACY_CSVEXPORT
EXTRA_DIST = stellar-core.supp test/testnet/multitail.conf \
test/testnet/run-test.sh README.md make-mks
@VALGRIND_CHECK_RULES@
VALGRIND_FLAGS = --num-callers=30 --trace-children=yes \
--trace-children-skip=hostname,aws,gcutil,gcloud,azure,node,python
VALGRIND_SUPPRESSIONS_FILES = stellar-core.supp
maintainer-clean-local:
cd $(srcdir) && rm -rf `sed -ne 's!^/!!p' .gitignore` *~ .gitignore~
CLEANFILES = test-suite.log .gitignore~ *~