forked from sonic-net/sonic-swss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
66 lines (62 loc) · 1.1 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
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
LIBNAME=libgcovpreload
# Fallback to gcc when $CC is not in $PATH.
CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++')
DYLIBSUFFIX=so
DYLIBNAME=$(LIBNAME).$(DYLIBSUFFIX)
DYLIB_MAKE_CMD=$(CC) -shared -fpic gcovpreload.cpp -o ${DYLIBNAME}
all:
$(DYLIB_MAKE_CMD)
sudo cp $(DYLIBNAME) /usr/lib
sudo chmod 777 -R /usr/lib/$(DYLIBNAME)
sudo cp lcov_cobertura.py ../
Makefile:
install-binPROGRAMS:
uninstall-binPROGRAMS:
clean-binPROGRAMS:
gcovpreload:
mostlyclean-compile:
distclean-compile:
.cpp.o:
.cpp.obj:
.cpp.lo:
install:
check-am:
check:
install:
install-exec:
install-data:
uninstall:
install-am:
installcheck:
install-strip:
mostlyclean-generic:
clean-generic:
distclean-generic:
maintainer-clean-generic:
clean:
clean-am:
distclean:
distclean-am:
dvi:
dvi-am:
html:
info:
install-data-am:
install-dvi:
install-exec-am:
install-html:
install-info:
install-man:
install-pdf:
install-ps:
installcheck-am:
maintainer-clean:
mostlyclean:
pdf:
ps:
uninstall-am:
.MAKE:
.PHONY:
.PRECIOUS:
.NOEXPORT: