genode/repos/libports/lib/mk/libc-gen.inc

25 lines
788 B
PHP
Raw Normal View History

LIBC_GEN_DIR = $(LIBC_DIR)/lib/libc/gen
2011-12-22 15:19:25 +00:00
# this file produces a warning about a missing header file, lets drop it
FILTER_OUT_C += getosreldate.c sem.c valloc.c getpwent.c
2011-12-22 15:19:25 +00:00
# the following are superceded by our minimalist sysctl and sysconf
FILTER_OUT_C += \
devname.c feature_present.c getpagesizes.c getvfsbyname.c \
setproctitle.c sysconf.c sysctlbyname.c
# the following is a wrapper over rusage, which we cannot provide
FILTER_OUT_C += clock.c
2011-12-22 15:19:25 +00:00
SRC_C = $(filter-out $(FILTER_OUT_C),$(notdir $(wildcard $(LIBC_GEN_DIR)/*.c)))
# 'sysconf.c' includes the local 'stdtime/tzfile.h'
INC_DIR += $(REP_DIR)/src/lib/libc/stdtime
# '_pthread_stubs.c' includes the local 'libc_pdbg.h'
INC_DIR += $(REP_DIR)/src/lib/libc
2011-12-22 15:19:25 +00:00
include $(REP_DIR)/lib/mk/libc-common.inc
vpath %.c $(LIBC_GEN_DIR)