Remove lib-adaptor as it is not used anymore
[platform/core/uifw/dali-adaptor.git] / build / tizen / Makefile.am
1 #
2 # Copyright (c) 2014 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 = common dali-application
18
19 if ! LITE_PROFILE
20 if ! WEARABLE_PROFILE
21 SUBDIRS += plugins
22 endif
23 endif
24
25 pkgconfigdir = $(libdir)/pkgconfig
26 pkgconfig_DATA = dali.pc \
27                  dali-application.pc
28
29 MAINTAINERCLEANFILES = \
30     aclocal.m4 \
31     autom4te.cache \
32     config.guess \
33     config.sub \
34     configure \
35     depcomp \
36     install-sh \
37     ltmain.sh \
38     missing \
39     `find "$(srcdir)" -type f -name Makefile.in -print` \
40     `find . \( -name "*.gcov" -o -name "*.gcno" -o -name "*.gcda" \) -print`
41
42 CLEANFILES = \
43         `find . \( -name "*.gcov" -o -name "*.gcno" -o -name "*.gcda" \) -print`
44
45 COVERAGE_DIR=.cov
46 COVERAGE_OUTPUT_DIR=doc/coverage
47
48 cov_data:
49         @test -z $(COVERAGE_DIR) || mkdir -p $(COVERAGE_DIR)
50         @rm -f $(COVERAGE_DIR)/*
51         @-cp common/.libs/*.gcda common/.libs/*.gcno  $(COVERAGE_DIR)
52         @for i in `find $(COVERAGE_DIR) -name "libdali_adaptor_common_la-*.gcda" -o -name "libdali_adaptor_common_la-*.gcno"` ;\
53                 do mv $$i `echo $$i | sed s/libdali_adaptor_common_la-//` ; echo $$i ; done
54         @cd $(COVERAGE_DIR) ; lcov --base-directory . --directory . -c -o dali.info
55         @cd $(COVERAGE_DIR) ; lcov --remove dali.info "*boost*" "dali-env/*" "/usr/include/*" -o dali.info
56         @test -z $(COVERAGE_OUTPUT_DIR) || mkdir -p $(COVERAGE_OUTPUT_DIR)
57
58 coverage: cov_data
59         @genhtml -o $(COVERAGE_OUTPUT_DIR) $(COVERAGE_DIR)/dali.info
60
61 reset_coverage:
62         @lcov -z --directory `pwd`