forked from opennetworkinglab/flowvisor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
60 lines (39 loc) · 868 Bytes
/
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
# Because I am old and crotchety and my fingers can't stop from running
# `make` commands
.PHONY: docs doc all test tests count install clean
all:
ant
docs:
ant javadoc
doc:
ant javadoc
test: tests
tests: all setup-db unit-tests rmdb
setup-db:
./scripts/derby-interact.sh ./scripts/FlowVisorDB.sql > /dev/null
rmdb:
rm -rf FlowVisorDB
unit-tests:
ant tests
emma:
ant emma-report
emma-report: setup-db emma rmdb
regress:
./scripts/run-tests.sh $(REV)
regression: setup-db regress rmdb regressclean
count:
@find src -name \*.java | xargs wc -l | sort -n
install: all
./scripts/install-script.sh
pkg-install: all
./scripts/install-package.sh
whitespace:
./scripts/fix_trailing_whitespace.pl -fix `find src -name \*.java`
regressclean:
rm -rf flowvisor-test
clean:
ant clean
rm -rf pkgbuild
emmaclean:
rm -rf inst
rm -rf coverage