79 lines
1.8 KiB
Makefile
79 lines
1.8 KiB
Makefile
multilibtool_DATA += \
|
|
%D%/nano.specs \
|
|
%D%/sim.specs \
|
|
%D%/semihost.specs \
|
|
%D%/crt0.o
|
|
|
|
multilibtool_LIBRARIES += %D%/libgloss.a
|
|
%C%_libgloss_a_CPPFLAGS = -I$(srcdir)/%D%
|
|
%C%_libgloss_a_SOURCES = \
|
|
%D%/sys_access.c \
|
|
%D%/sys_chdir.c \
|
|
%D%/sys_chmod.c \
|
|
%D%/sys_chown.c \
|
|
%D%/sys_close.c \
|
|
%D%/sys_conv_stat.c \
|
|
%D%/sys_execve.c \
|
|
%D%/sys_exit.c \
|
|
%D%/sys_faccessat.c \
|
|
%D%/sys_fork.c \
|
|
%D%/sys_fstat.c \
|
|
%D%/sys_fstatat.c \
|
|
%D%/sys_ftime.c \
|
|
%D%/sys_getcwd.c \
|
|
%D%/sys_getpid.c \
|
|
%D%/sys_gettimeofday.c \
|
|
%D%/sys_isatty.c \
|
|
%D%/sys_kill.c \
|
|
%D%/sys_link.c \
|
|
%D%/sys_lseek.c \
|
|
%D%/sys_lstat.c \
|
|
%D%/sys_open.c \
|
|
%D%/sys_openat.c \
|
|
%D%/sys_read.c \
|
|
%D%/sys_sbrk.c \
|
|
%D%/sys_stat.c \
|
|
%D%/sys_sysconf.c \
|
|
%D%/sys_times.c \
|
|
%D%/sys_unlink.c \
|
|
%D%/sys_utime.c \
|
|
%D%/sys_wait.c \
|
|
%D%/sys_write.c
|
|
|
|
multilibtool_LIBRARIES += %D%/libsim.a
|
|
%C%_libsim_a_CPPFLAGS = $(%C%_libgloss_a_CPPFLAGS) -DUSING_SIM_SPECS
|
|
%C%_libsim_a_SOURCES = $(%C%_libgloss_a_SOURCES)
|
|
|
|
multilibtool_LIBRARIES += %D%/libsemihost.a
|
|
%C%_libsemihost_a_CPPFLAGS = -I$(srcdir)/%D%
|
|
%C%_libsemihost_a_SOURCES = \
|
|
%D%/nanosleep.c \
|
|
%D%/sys_chdir.c \
|
|
%D%/sys_chmod.c \
|
|
%D%/sys_chown.c \
|
|
%D%/sys_execve.c \
|
|
%D%/sys_fork.c \
|
|
%D%/sys_getcwd.c \
|
|
%D%/sys_getpid.c \
|
|
%D%/sys_kill.c \
|
|
%D%/sys_utime.c \
|
|
%D%/sys_wait.c \
|
|
%D%/semihost-sys_close.c \
|
|
%D%/semihost-sys_exit.c \
|
|
%D%/semihost-sys_fdtable.c \
|
|
%D%/semihost-sys_fstat.c \
|
|
%D%/semihost-sys_ftime.c \
|
|
%D%/semihost-sys_isatty.c \
|
|
%D%/semihost-sys_link.c \
|
|
%D%/semihost-sys_lseek.c \
|
|
%D%/semihost-sys_open.c \
|
|
%D%/semihost-sys_read.c \
|
|
%D%/semihost-sys_sbrk.c \
|
|
%D%/semihost-sys_stat.c \
|
|
%D%/semihost-sys_stat_common.c \
|
|
%D%/semihost-sys_unlink.c \
|
|
%D%/semihost-sys_write.c
|
|
|
|
includemachinetooldir = $(tooldir)/include/machine
|
|
includemachinetool_DATA = %D%/machine/syscall.h
|