Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #
  2. # Makefile for ia64-specific library routines..
  3. #
  4. lib-y := io.o __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \
  5. __divdi3.o __udivdi3.o __moddi3.o __umoddi3.o \
  6. checksum.o clear_page.o csum_partial_copy.o \
  7. clear_user.o strncpy_from_user.o strlen_user.o strnlen_user.o \
  8. flush.o ip_fast_csum.o do_csum.o \
  9. memset.o strlen.o xor.o
  10. lib-$(CONFIG_ITANIUM) += copy_page.o copy_user.o memcpy.o
  11. lib-$(CONFIG_MCKINLEY) += copy_page_mck.o memcpy_mck.o
  12. lib-$(CONFIG_PERFMON) += carta_random.o
  13. AFLAGS___divdi3.o =
  14. AFLAGS___udivdi3.o = -DUNSIGNED
  15. AFLAGS___moddi3.o = -DMODULO
  16. AFLAGS___umoddi3.o = -DUNSIGNED -DMODULO
  17. AFLAGS___divsi3.o =
  18. AFLAGS___udivsi3.o = -DUNSIGNED
  19. AFLAGS___modsi3.o = -DMODULO
  20. AFLAGS___umodsi3.o = -DUNSIGNED -DMODULO
  21. $(obj)/__divdi3.o: $(src)/idiv64.S FORCE
  22. $(call if_changed_dep,as_o_S)
  23. $(obj)/__udivdi3.o: $(src)/idiv64.S FORCE
  24. $(call if_changed_dep,as_o_S)
  25. $(obj)/__moddi3.o: $(src)/idiv64.S FORCE
  26. $(call if_changed_dep,as_o_S)
  27. $(obj)/__umoddi3.o: $(src)/idiv64.S FORCE
  28. $(call if_changed_dep,as_o_S)
  29. $(obj)/__divsi3.o: $(src)/idiv32.S FORCE
  30. $(call if_changed_dep,as_o_S)
  31. $(obj)/__udivsi3.o: $(src)/idiv32.S FORCE
  32. $(call if_changed_dep,as_o_S)
  33. $(obj)/__modsi3.o: $(src)/idiv32.S FORCE
  34. $(call if_changed_dep,as_o_S)
  35. $(obj)/__umodsi3.o: $(src)/idiv32.S FORCE
  36. $(call if_changed_dep,as_o_S)