Fixed EffectView background color to match Visual defaults
[platform/core/uifw/dali-toolkit.git] / build / tizen / Makefile.am
1 #
2 # Copyright (c) 2019 Samsung Electronics Co., Ltd.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16
17 SUBDIRS = dali-toolkit
18
19 # perform documentation last, so it doesn't prevent code from building if there's an error
20 SUBDIRS += docs
21
22 pkgconfigdir = $(libdir)/pkgconfig
23
24 pkgconfig_DATA = dali-toolkit.pc
25
26 MAINTAINERCLEANFILES = \
27     aclocal.m4 \
28     autom4te.cache \
29     config.guess \
30     config.sub \
31     configure \
32     depcomp \
33     install-sh \
34     ltmain.sh \
35     missing \
36     `find "$(srcdir)" -type f -name Makefile.in -print` \
37     `find . \( -name "*.gcov" -o -name "*.gcno" -o -name "*.gcda" \) -print`
38
39 CLEANFILES = \
40         `find . \( -name "*.gcov" -o -name "*.gcno" -o -name "*.gcda" \) -print`
41
42 COVERAGE_DIR=.cov
43 COVERAGE_OUTPUT_DIR=doc/coverage
44
45 # From lcov version 1.10 onwards, branch coverage is off by default and earlier versions do not support the rc option
46 LCOV_OPTS=`if [ \`printf "\\\`lcov --version | cut -d' ' -f4\\\`\n1.10\n" | sort -V | head -n 1\` = 1.10 ] ; then echo "--rc lcov_branch_coverage=1" ; fi`
47
48 rename_cov_data:
49         @test -z $(COVERAGE_DIR) || mkdir -p $(COVERAGE_DIR)
50         @rm -f $(COVERAGE_DIR)/*
51         @cp dali-toolkit/.libs/*.gcda dali-toolkit/.libs/*.gcno  $(COVERAGE_DIR)
52         @for i in `find $(COVERAGE_DIR) -name "libdali_toolkit*_la-*.gcda" -o -name "libdali_toolkit*_la-*.gcno"` ;\
53                 do dest=`echo $$i | sed s/libdali_.*_la-//` ; mv $$i $$dest ; echo $$i ; done
54
55 cov_data: rename_cov_data
56         @cd $(COVERAGE_DIR) ; lcov $(LCOV_OPTS) --base-directory . --directory . -c -o dali.info
57         @cd $(COVERAGE_DIR) ; lcov $(LCOV_OPTS) --remove dali.info "/usr/include/*" "*/dali-env/*" "*solid-color-actor*" "*/dali-toolkit/third-party/*"  -o dali.info
58         @test -z $(COVERAGE_OUTPUT_DIR) || mkdir -p $(COVERAGE_OUTPUT_DIR)
59
60 coverage: cov_data
61         @genhtml $(LCOV_OPTS) -o $(COVERAGE_OUTPUT_DIR) $(COVERAGE_DIR)/dali.info
62
63 reset_coverage:
64         @lcov -z --directory `pwd`