mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-30 02:28:54 +00:00
106e322f82
Issue #4827
34 lines
696 B
Makefile
34 lines
696 B
Makefile
GCOV_PORT_DIR := $(call select_from_ports,gcov)
|
|
|
|
GCOV_DIR := $(GCOV_PORT_DIR)/src/gcov
|
|
|
|
SRC_CC = charset.cc \
|
|
errors.cc \
|
|
files.cc \
|
|
line-map.cc
|
|
|
|
LIBS += libc stdcxx
|
|
|
|
INC_DIR += $(GCOV_DIR)/include \
|
|
$(GCOV_DIR)/libcpp/include
|
|
|
|
ifeq ($(filter-out $(SPECS),arm),)
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/arm/libcpp
|
|
endif
|
|
|
|
ifeq ($(filter-out $(SPECS),arm_64),)
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/arm_64/libcpp
|
|
endif
|
|
|
|
ifeq ($(filter-out $(SPECS),x86_32),)
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/x86_32/libcpp
|
|
endif
|
|
|
|
ifeq ($(filter-out $(SPECS),x86_64),)
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/x86_64/libcpp
|
|
endif
|
|
|
|
vpath %.cc $(GCOV_DIR)/libcpp
|
|
|
|
CC_CXX_WARN_STRICT =
|