Makefile 549 B

12345678910111213141516171819202122232425
  1. # Linux/m68k uses Motorola asm syntax and the ELF format.
  2. m68k-syntax-flag = -DMOTOROLA_SYNTAX
  3. ifeq ($(subdir),csu)
  4. sysdep_routines += m68k-helpers
  5. ifeq (yes,$(build-shared))
  6. sysdep_routines += divdi3
  7. shared-only-routines += divdi3
  8. CPPFLAGS-divdi3.c = -Din_divdi3_c
  9. endif
  10. endif
  11. ifeq ($(subdir),misc)
  12. sysdep_routines += mremap
  13. sysdep_headers += sys/reg.h
  14. endif
  15. ifeq ($(subdir),elf)
  16. sysdep-dl-routines += dl-static
  17. sysdep_routines += dl-vdso libc-m68k-vdso
  18. sysdep-rtld-routines += m68k-vdso
  19. sysdep-others += lddlibc4
  20. install-bin += lddlibc4
  21. endif