forked from Enlightenment/edi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
96 lines (81 loc) · 2.06 KB
/
Makefile.am
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
87
88
89
90
91
92
93
94
95
MAINTAINERCLEANFILES = \
ABOUT-NLS \
Makefile.in \
aclocal.m4 \
compile \
config.guess \
config.h.in \
config.rpath \
config.sub \
configure \
depcomp \
install-sh \
ltmain.sh \
missing \
m4/intl.m4 \
m4/intldir.m4 \
m4/intlmacosx.m4 \
m4/libtool.m4 \
m4/ltoptions.m4 \
m4/ltsugar.m4 \
m4/ltversion.m4 \
m4/lt~obsolete.m4 \
po/boldquot.sed \
po/[email protected] \
po/[email protected] \
po/insert-header.sin \
po/Makefile.in.in \
po/Makevars.template \
po/quot.sed \
po/remove-potcdate.sin \
po/Rules-quot \
$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz \
$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.bz2
SUBDIRS = data doc packaging po elm_code src
ACLOCAL_AMFLAGS = -I m4
filesdir = $(docdir)
files_DATA = \
AUTHORS \
COPYING \
ChangeLog \
GPLv2.txt \
INSTALL \
NEWS \
README \
TODO
EXTRA_DIST = \
GPLv2.txt \
autogen.sh \
config.rpath \
configure \
m4/efl_attribute.m4 \
m4/efl_binary.m4 \
m4/efl_compiler_flag.m4 \
m4/efl_path_max.m4
if EFL_HAVE_LCOV
lcov-reset:
@rm -rf $(top_builddir)/coverage
@find $(top_builddir) -name "*.gcda" -delete
@lcov --zerocounters --directory $(top_builddir)
lcov-report:
@mkdir $(top_builddir)/coverage
lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir)/src/lib --base-directory $(top_srcdir)/src/lib
lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info
genhtml --branch-coverage -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned2.info
@echo "Coverage Report at $(top_builddir)/coverage/html"
endif
if EFL_HAVE_TESTS
TESTS = elm_code/tests/elm_code_suite src/tests/edi_suite
lcov-check:
if EFL_HAVE_LCOV
@$(MAKE) $(AM_MAKEFLAGS) lcov-reset
endif
@$(MAKE) $(AM_MAKEFLAGS) check
if EFL_HAVE_LCOV
@$(MAKE) $(AM_MAKEFLAGS) lcov-report
endif
endif
# cleaning
clean-local:
rm -rf benchmark coverage