# # Copyright (c) 2014 Samsung Electronics Co., Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # CC = g++ TARGETS = include file.list PKGS = dali-core dali dali-toolkit dali-test-suite-utils include ../../rules.mk include ../../coverage.mk TOOLKIT_TEST_UTILS_DIR=../../dali-toolkit-test-utils/ CXXFLAGS += -I$(TOOLKIT_TEST_UTILS_DIR) TOOLKIT_TEST_UTILS_SRC_FILES = \ $(TOOLKIT_TEST_UTILS_DIR)/toolkit-application.cpp \ $(TOOLKIT_TEST_UTILS_DIR)/toolkit-adaptor.cpp \ $(TOOLKIT_TEST_UTILS_DIR)/toolkit-clipboard-event-notifier.cpp \ $(TOOLKIT_TEST_UTILS_DIR)/toolkit-accessibility-manager.cpp \ $(TOOLKIT_TEST_UTILS_DIR)/toolkit-physical-keyboard.cpp \ $(TOOLKIT_TEST_UTILS_DIR)/toolkit-style-monitor.cpp \ $(TOOLKIT_TEST_UTILS_DIR)/toolkit-timer.cpp \ $(TOOLKIT_TEST_UTILS_DIR)/toolkit-orientation.cpp all: $(TARGETS) %: %.cpp $(TOOLKIT_TEST_UTILS_SRC_FILES) $(CC) -o $@ $^ $(CXXFLAGS) $(LDFLAGS) clean: @rm -f $(notdir $(TARGETS)) @rm -f tet_captured @rm -f *~ @rm -f *.gcda *.gcno coverage: @lcov --directory . -c -o dali.info @lcov --remove dali.info "*boost*" "/usr/include/*" "*/automated-tests/*" -o dali.info