forked from axbryd/FlowBlaze
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
42 lines (37 loc) · 1.08 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
default:
@python flow_blaze_banner.py
@echo "Please use make firewall, make elephant,"
@echo "make policer, make load-balancer or make clean"
firewall:
@python flow_blaze_banner.py
- rm -f *.json
- rm -f *.xli
- rm -f elfgen.h
java -jar ../XL-toolchain/xlc.jar -i ../UseCases/port_knocking_firewall.xl -o ../UseCases/firewall.json
@python flow_blaze_banner.py
elephant:
@python flow_blaze_banner.py
- rm -f *.json
- rm -f *.xli
- rm -f elfgen.h
java -jar ../XL-toolchain/xlc.jar -i ../UseCases/elephant.xl -o ../UseCases/elephant.json
@python flow_blaze_banner.py
policer:
@python flow_blaze_banner.py
- rm -f *.json
- rm -f *.xli
- rm -f elfgen.h
java -jar ../XL-toolchain/xlc.jar -i ../UseCases/traffic_policer.xl -o ../UseCases/policer.json
@python flow_blaze_banner.py
load-balancer:
@python flow_blaze_banner.py
- rm -f *.json
- rm -f *.xli
- rm -f elfgen.h
java -jar ../XL-toolchain/xlc.jar -i ../UseCases/load_balancer.xl -o ../UseCases/load_balancer.json
@python flow_blaze_banner.py
clean:
@python flow_blaze_banner.py
- rm -f *.json
- rm -f *.xli
- rm -f elfgen.h