mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-18 15:09:32 +08:00
clock() system call is used in some GDB tests thus it is necessary to implement it for testing purposes. A value for clock() is taken from a default timer (timer 0). If it is not presented than the error value (-1) is returned. Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
46 lines
905 B
Makefile
46 lines
905 B
Makefile
multilibtool_LIBRARIES += %D%/libnsim.a
|
|
%C%_libnsim_a_CPPFLAGS = -I$(srcdir)/arc
|
|
%C%_libnsim_a_SOURCES = \
|
|
arc/arc-timer.c \
|
|
arc/libcfunc.c \
|
|
arc/nsim-syscalls.c \
|
|
arc/sbrk.c
|
|
|
|
multilibtool_LIBRARIES += %D%/libhl.a
|
|
%C%_libhl_a_CFLAGS = -mvolatile-di
|
|
%C%_libhl_a_CPPFLAGS = -I$(srcdir)/arc
|
|
%C%_libhl_a_SOURCES = \
|
|
arc/arc-timer.c \
|
|
arc/hl-stub.c \
|
|
arc/hl-setup.c \
|
|
arc/libcfunc.c \
|
|
arc/sbrk.c \
|
|
arc/hl/hl_gw.c \
|
|
arc/hl/hl_api.c \
|
|
arc/hl/hl_open.c \
|
|
arc/hl/hl_close.c \
|
|
arc/hl/hl_read.c \
|
|
arc/hl/hl_write.c \
|
|
arc/hl/hl_lseek.c \
|
|
arc/hl/hl_unlink.c \
|
|
arc/hl/hl_isatty.c \
|
|
arc/hl/hl_clock.c \
|
|
arc/hl/hl_gettimeofday.c \
|
|
arc/hl/hl_argc.c \
|
|
arc/hl/hl_argv.c \
|
|
arc/hl/hl_exit.c
|
|
|
|
multilibtool_DATA += \
|
|
%D%/crt0.o \
|
|
%D%/crtn.o \
|
|
%D%/crti.o \
|
|
arc/arc-main-helper.o \
|
|
arc/nsim.specs \
|
|
arc/hl.specs
|
|
|
|
libobjs_a_SOURCES += \
|
|
%D%/crt0.S \
|
|
%D%/crtn.S \
|
|
%D%/crti.S \
|
|
arc/arc-main-helper.c
|