forked from sipwise/rtpengine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (30 loc) · 865 Bytes
/
Makefile
File metadata and controls
37 lines (30 loc) · 865 Bytes
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
RTPENGINE_ROOT_DIR=.
include lib/lib.Makefile
.PHONY: all distclean clean coverity
all:
$(MAKE) -C daemon
$(MAKE) -C recording-daemon
$(MAKE) -C iptables-extension
with-kernel:
$(MAKE)
$(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
rm -rf project.tgz cov-int
.DEFAULT:
$(MAKE) -C daemon $@
$(MAKE) -C recording-daemon $@
$(MAKE) -C iptables-extension $@
$(MAKE) -C kernel-module $@
coverity:
cov-build --dir cov-int $(MAKE)
tar -czf project.tgz cov-int
curl --form token=$(COVERITY_RTPENGINE_TOKEN) \
--form email=$(DEBEMAIL) \
--form file=@project.tgz \
--form version="$(RTPENGINE_VERSION)" \
--form description="automatic upload" \
https://scan.coverity.com/builds?project=$(COVERITY_RTPENGINE_PROJECT)