-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
77 lines (56 loc) · 2.32 KB
/
Makefile
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
#----------------------------------------------------------------------------
# get everything downloaded and built for the first time
#----------------------------------------------------------------------------
all: download build test1-build
build: elfutils-build dyninst-config dyninst-build test1-build
#----------------------------------------------------------------------------
# download cilktools, elfutils, boost, and dyninst
#
# warning:
# the download step may overwrite any changes you have made
# understand what you are doing before running this again
#----------------------------------------------------------------------------
download: cilktools-download elfutils-download boost-install dyninst-download
echo > download
#----------------------------------------------------------------------------
# dyninst test harness for detecting races caused by libdw in elfutils
#----------------------------------------------------------------------------
test1-build:
make -C test1
#----------------------------------------------------------------------------
# dyninst
#----------------------------------------------------------------------------
dyninst-download:
scripts/dyninst-download.sh
dyninst-config:
scripts/dyninst-config.sh
dyninst-build:
make -C dyninst/dyninst-build install
dyninst-remove:
scripts/dyninst-remove.sh
#----------------------------------------------------------------------------
# boost
#----------------------------------------------------------------------------
boost-install:
scripts/boost-install.sh
#----------------------------------------------------------------------------
# cilktools
#----------------------------------------------------------------------------
cilktools-download:
scripts/cilktools-install.sh
#----------------------------------------------------------------------------
# elfutils
#----------------------------------------------------------------------------
elfutils-download:
scripts/elfutils-download.sh
elfutils-build:
make -j -C elfutils/elfutils-build install
elfutils-remove:
/bin/rm -rf elfutils
#----------------------------------------------------------------------------
# maintenance
#----------------------------------------------------------------------------
distclean:
scripts/cilktools-uninstall.sh
/bin/rm -rf boost_1_61_0
/bin/rm -rf pkgs