2011-12-22 15:19:25 +00:00
|
|
|
include $(REP_DIR)/lib/mk/libc-gen.inc
|
|
|
|
|
2014-05-07 21:52:52 +00:00
|
|
|
LIBC_GEN_I386_DIR = $(LIBC_DIR)/lib/libc/i386/gen
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2014-03-07 17:26:26 +00:00
|
|
|
FILTER_OUT_S += rfork_thread.S _setjmp.S setjmp.S
|
2011-12-22 15:19:25 +00:00
|
|
|
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_I386_DIR)/*.S)))
|
|
|
|
SRC_C += flt_rounds.c
|
|
|
|
|
|
|
|
#
|
|
|
|
# Additional functions for shared libraries
|
|
|
|
#
|
|
|
|
SRC_C += makecontext.c
|
|
|
|
|
|
|
|
vpath %.c $(LIBC_GEN_I386_DIR)
|
|
|
|
vpath %.S $(LIBC_GEN_I386_DIR)
|