genode/repos/libports/lib/mk/x86_64/libc-gen.mk
2014-05-27 11:14:42 +02:00

19 lines
444 B
Makefile

include $(REP_DIR)/lib/mk/libc-gen.inc
LIBC_GEN_AMD64_DIR = $(LIBC_DIR)/lib/libc/amd64/gen
FILTER_OUT_S += rfork_thread.S setjmp.S _setjmp.S
FILTER_OUT_C += _set_tp.c
#
# Filter functions conflicting with libm
#
FILTER_OUT_S += fabs.S modf.S
FILTER_OUT_C += frexp.c
SRC_S = $(filter-out $(FILTER_OUT_S),$(notdir $(wildcard $(LIBC_GEN_AMD64_DIR)/*.S)))
SRC_C += flt_rounds.c
vpath %.c $(LIBC_GEN_AMD64_DIR)
vpath %.S $(LIBC_GEN_AMD64_DIR)