mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
4a4b754bf2
Issue #4094
55 lines
1.1 KiB
Makefile
55 lines
1.1 KiB
Makefile
GCOV_PORT_DIR := $(call select_from_ports,gcov)
|
|
|
|
GCOV_DIR := $(GCOV_PORT_DIR)/src/gcov
|
|
|
|
SRC_C = argv.c \
|
|
concat.c \
|
|
cp-demangle.c \
|
|
cplus-dem.c \
|
|
d-demangle.c \
|
|
filename_cmp.c \
|
|
fopen_unlocked.c \
|
|
hashtab.c \
|
|
hex.c \
|
|
lbasename.c \
|
|
md5.c \
|
|
obstack.c \
|
|
rust-demangle.c \
|
|
safe-ctype.c \
|
|
splay-tree.c \
|
|
vprintf-support.c \
|
|
xexit.c \
|
|
xmalloc.c \
|
|
xmemdup.c \
|
|
xasprintf.c \
|
|
xstrdup.c \
|
|
xstrerror.c \
|
|
xstrndup.c \
|
|
xvasprintf.c
|
|
|
|
CC_OPT += -DHAVE_CONFIG_H
|
|
|
|
LIBS += libc stdcxx
|
|
|
|
INC_DIR += $(GCOV_DIR)/include
|
|
|
|
ifeq ($(filter-out $(SPECS),arm),)
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/arm/libiberty
|
|
endif
|
|
|
|
ifeq ($(filter-out $(SPECS),arm_64),)
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/arm_64/libiberty
|
|
endif
|
|
|
|
ifeq ($(filter-out $(SPECS),x86_32),)
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/x86_32/libiberty
|
|
endif
|
|
|
|
ifeq ($(filter-out $(SPECS),x86_64),)
|
|
INC_DIR += $(GCOV_PORT_DIR)/include/x86_64/libiberty
|
|
endif
|
|
|
|
vpath %.c $(GCOV_DIR)/libiberty
|
|
|
|
CC_CXX_WARN_STRICT =
|