forked from sipwise/rtpengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
44 lines (34 loc) · 948 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
RTPENGINE_ROOT_DIR=.
include lib/lib.Makefile
.PHONY: all distclean clean coverity
all:
$(MAKE) -C daemon
$(MAKE) -C recording-daemon
$(MAKE) -C iptables-extension
.PHONY: with-kernel
with-kernel: all
$(MAKE) -C kernel-module
distclean clean:
$(MAKE) -C daemon clean
$(MAKE) -C recording-daemon clean
$(MAKE) -C iptables-extension clean
$(MAKE) -C kernel-module clean
$(MAKE) -C t clean
rm -rf project.tgz cov-int
.DEFAULT:
$(MAKE) -C daemon $@
$(MAKE) -C recording-daemon $@
$(MAKE) -C iptables-extension $@
$(MAKE) -C kernel-module $@
.PHONY: check
check: all
$(MAKE) -C t
coverity:
cov-build --dir cov-int $(MAKE) check
tar -czf project.tgz cov-int
curl --form token=$(COVERITY_RTPENGINE_TOKEN) \
--form email=$(DEBEMAIL) \
--form [email protected] \
--form version="$(RTPENGINE_VERSION)" \
--form description="automatic upload" \
https://scan.coverity.com/builds?project=$(COVERITY_RTPENGINE_PROJECT)