-
Notifications
You must be signed in to change notification settings - Fork 103
/
GNUmakefile
87 lines (61 loc) · 1.6 KB
/
GNUmakefile
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
83
84
85
86
SRCDIR:= src
CHECKTESTSDIR:= tests/check
TESTPROXYTESTSDIR:= tests/testproxy
TARGET:= sslproxy
all: $(TARGET)
$(TARGET):
$(MAKE) -C $(SRCDIR)
test: $(TARGET)
$(MAKE) unittest
$(MAKE) e2etest
unittest: $(TARGET)
$(MAKE) -C $(CHECKTESTSDIR)
e2etest: $(TARGET)
$(MAKE) -C $(TESTPROXYTESTSDIR)
e2etest_split: $(TARGET)
$(MAKE) -C $(TESTPROXYTESTSDIR) test_split
clean:
$(MAKE) -C $(SRCDIR) clean
$(MAKE) -C $(CHECKTESTSDIR) clean
travis: $(TARGET)
$(MAKE) travisunittest
# The e2e tests with all of the openssl/libressl versions in .travis.yml run
# without any error locally, but fail on travis-ci.com now. So disable until fixed.
#$(MAKE) travise2etest
travisunittest: $(TARGET)
$(MAKE) -C $(CHECKTESTSDIR) travis
travise2etest: $(TARGET)
$(MAKE) -C $(TESTPROXYTESTSDIR) travis
install:
$(MAKE) -C $(SRCDIR) install
deinstall:
$(MAKE) -C $(SRCDIR) deinstall
lint:
$(MAKE) -C $(SRCDIR) lint
manlint:
$(MAKE) -C $(SRCDIR) manlint
mantest:
$(MAKE) -C $(SRCDIR) mantest
copyright: *.c *.h *.1 *.5 extra/*/*.c
Mk/bin/copyright.py $^
man:
$(MAKE) -C $(SRCDIR) man
manclean:
$(MAKE) -C $(SRCDIR) manclean
fetchdeps:
$(WGET) -O- $(KHASH_URL) >$(SRCDIR)/khash.h
#$(RM) -rf xnu/xnu-*
$(MAKE) -C xnu fetch
dist:
$(MAKE) -C $(SRCDIR) dist
disttest:
$(MAKE) -C $(SRCDIR) disttest
distclean:
$(MAKE) -C $(SRCDIR) distclean
realclean:
$(MAKE) -C $(SRCDIR) realclean
$(MAKE) -C $(CHECKTESTSDIR) realclean
FORCE:
.PHONY: all config clean buildtest test sudotest travis lint \
install deinstall copyright manlint mantest man manclean fetchdeps \
dist disttest distclean realclean