-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
31 lines (20 loc) · 1.09 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
include ./Makefile.llvm
.PHONY: compile clean install cleaninstall tags ci
all: compile
compile:
$(MAKE) -C $(PWD)/common && $(MAKE) -C $(PWD)/partha && $(MAKE) -C $(PWD)/server
clean:
$(MAKE) -C $(PWD)/common clean && $(MAKE) -C $(PWD)/partha clean && $(MAKE) -C $(PWD)/server clean
install:
$(MAKE) -C $(PWD)/common install && $(MAKE) -C $(PWD)/partha install && $(MAKE) -C $(PWD)/server install && ./scripts/checkinstall.sh --check
cleaninstall:
$(MAKE) -C $(PWD)/common cleaninstall && $(MAKE) -C $(PWD)/partha cleaninstall && $(MAKE) -C $(PWD)/server cleaninstall
ci:
$(MAKE) cleaninstall
ciprof:
$(MAKE) ci profile=yes
test:
$(MAKE) -C $(PWD)/test ciprof
tags:
$(shell set -x; rm -f ./tags 2> /dev/null; find `pwd` $(BCC_BASE_DIR) $(LIBBPF_DIR) \( -name \*.c -o -name \*.h -o -name \*.cc -o -name \*.cpp -o -name \*.C -o -name \*.cxx -o -name \*.H -o -name \*.hpp -o -name \*.hh -o -name \*.hxx -o -name \*.py -o -name \*.java -o -name \*.go -o -name \*.lua -o -name \*.rs -o -name \*.swift -o -name \*.php -o -name \*.sh -o -name \*.bash \) -a -type f | ctags -a --sort=yes -L-)
@echo