TextInput - Disable markup processor
[platform/core/uifw/dali-toolkit.git] / build / slp / Makefile.am
1 #
2 # Copyright (c) 2014 Samsung Electronics Co., Ltd.
3 #
4 # Licensed under the Flora License, Version 1.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://floralicense.org/license/
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-base \
18           dali-toolkit
19
20 pkgconfigdir = $(libdir)/pkgconfig
21 pkgconfig_DATA = dali-toolkit.pc
22
23 MAINTAINERCLEANFILES = \
24     aclocal.m4 \
25     autom4te.cache \
26     config.guess \
27     config.sub \
28     configure \
29     depcomp \
30     install-sh \
31     ltmain.sh \
32     missing \
33     `find "$(srcdir)" -type f -name Makefile.in -print` \
34     `find . \( -name "*.gcov" -o -name "*.gcno" -o -name "*.gcda" \) -print`
35
36 CLEANFILES = \
37         `find . \( -name "*.gcov" -o -name "*.gcno" -o -name "*.gcda" \) -print`
38
39 COVERAGE_DIR=.cov
40 COVERAGE_OUTPUT_DIR=doc/coverage
41
42 cov_data:
43         @test -z $(COVERAGE_DIR) || mkdir -p $(COVERAGE_DIR)
44         @rm -f $(COVERAGE_DIR)/*
45         @cp dali-toolkit/.libs/*.gcda dali-toolkit/.libs/*.gcno  $(COVERAGE_DIR)
46         @for i in `find $(COVERAGE_DIR) -name "libdali_toolkit_la-*.gcda" -o -name "libdali_toolkit_la-*.gcno"` ;\
47                 do mv $$i `echo $$i | sed s/libdali_toolkit_la-//` ; echo $$i ; done
48         @cd $(COVERAGE_DIR) ; lcov --base-directory . --directory . -c -o dali.info
49         @cd $(COVERAGE_DIR) ; lcov --remove dali.info "*boost*" "/usr/include/*" "*/dali-env/*" -o dali.info
50         @test -z $(COVERAGE_OUTPUT_DIR) || mkdir -p $(COVERAGE_OUTPUT_DIR)
51
52 coverage: cov_data
53         @genhtml -o $(COVERAGE_OUTPUT_DIR) $(COVERAGE_DIR)/dali.info
54
55 reset_coverage:
56         @lcov -z --directory `pwd`