# Linux/m68k uses Motorola asm syntax and the ELF format.

m68k-syntax-flag = -DMOTOROLA_SYNTAX

ifeq ($(subdir),csu)
sysdep_routines += m68k_read_tp m68k_write_tp m68k_vdso
#sysdep_routines += libc-m68k_read_tp libc-m68k_write_tp
#static-only-routines += m68k_read_tp m68k_write_tp
#shared-only-routines += libc-m68k_read_tp libc-m68k_write_tp
endif

ifeq ($(subdir),misc)
sysdep_routines += mremap
sysdep_headers += sys/reg.h
endif

ifeq ($(subdir),elf)
sysdep_routines += dl-vdso
#sysdep-rtld-routines += m68k_read_tp m68k_write_tp
sysdep-others += lddlibc4
install-bin += lddlibc4
endif

ifeq ($(subdir),resource)
sysdep_routines += oldgetrlimit64
endif
