-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
36 lines (28 loc) · 1.38 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
all: iperf/src/iperf \
empirical-traffic-gen/bin/etgClient empirical-traffic-gen/bin/etgServer \
bundler/target/release/inbox bundler/target/release/outbox \
mahimahi/src/frontend/mm-delay mahimahi/src/frontend/mm-link
iperf/src/iperf: iperf/src/*.c
cd iperf && ./autogen.sh && ./configure
make -C iperf
empirical-traffic-gen/bin/etgClient empirical-traffic-gen/bin/etgServer: empirical-traffic-gen/src/*.c
make -C empirical-traffic-gen
rustup.sh:
curl https://sh.rustup.rs -sSf > rustup.sh
~/.cargo/bin/cargo: rustup.sh
sh rustup.sh -y --default-toolchain=nightly
bundler/target/release/inbox bundler/target/release/outbox: ~/.cargo/bin/cargo .FORCE
sudo apt update && sudo DEBIAN_FRONTEND=noninteractive apt install -y \
llvm llvm-dev clang libclang-dev \
libnl-3-dev libnl-genl-3-dev libnl-route-3-dev libnfnetlink-dev \
bison flex libpcap-dev
cd bundler && ~/.cargo/bin/cargo build --release
mahimahi/src/frontend/mm-delay mahimahi/src/frontend/mm-link: $(shell find mahimahi -name "*.cc")
sudo apt update && sudo DEBIAN_FRONTEND=noninteractive apt install -y \
protobuf-compiler libprotobuf-dev autotools-dev dh-autoreconf \
iptables pkg-config dnsmasq-base apache2-bin apache2-dev \
debhelper libssl-dev ssl-cert libxcb-present-dev libcairo2-dev libpango1.0-dev
cd mahimahi && ./autogen.sh && ./configure
cd mahimahi && make -j && sudo make install
.FORCE:
.PHONY: .FORCE