Makefile 1015 B

12345678910111213141516171819202122232425262728293031323334353637
  1. abi-variants := 32 64-v1 64-v2
  2. abi-32-condition := __WORDSIZE == 32
  3. abi-64-v1-condition := __WORDSIZE == 64 && _CALL_ELF != 2
  4. abi-64-v2-condition := __WORDSIZE == 64 && _CALL_ELF == 2
  5. ifeq ($(subdir),rt)
  6. librt-routines += rt-sysdep
  7. librt-shared-only-routines += rt-sysdep
  8. endif
  9. ifeq ($(subdir),stdlib)
  10. gen-as-const-headers += ucontext_i.sym
  11. endif
  12. ifeq ($(subdir),elf)
  13. sysdep_routines += dl-vdso
  14. ifeq ($(build-shared),yes)
  15. # This is needed for DSO loading from static binaries.
  16. sysdep-dl-routines += dl-static
  17. endif
  18. # Otherwise tst-tls-dlinfo fails due to tst-tlsmod2.so using static tls.
  19. LDFLAGS-tst-tlsmod2.so += -Wl,--no-tls-get-addr-optimize
  20. endif
  21. ifeq ($(subdir),misc)
  22. sysdep_headers += bits/ppc.h
  23. sysdep_routines += get_timebase_freq
  24. tests += test-gettimebasefreq
  25. tests += test-powerpc-linux-sysconf
  26. endif
  27. ifeq ($(subdir),nptl)
  28. libpthread-routines += sysdep
  29. libpthread-sysdep_routines += elision-lock elision-unlock elision-timed \
  30. elision-trylock
  31. libpthread-shared-only-routines += sysdep
  32. endif