Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for ia64-specific library routines.. |
| 3 | # |
| 4 | |
| 5 | obj-y := io.o |
| 6 | |
| 7 | lib-y := __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \ |
| 8 | __divdi3.o __udivdi3.o __moddi3.o __umoddi3.o \ |
Kenneth Chen | f8220c7 | 2005-08-26 14:57:00 -0700 | [diff] [blame] | 9 | bitop.o checksum.o clear_page.o csum_partial_copy.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | clear_user.o strncpy_from_user.o strlen_user.o strnlen_user.o \ |
| 11 | flush.o ip_fast_csum.o do_csum.o \ |
John W. Linville | 6c654b5 | 2005-09-29 14:42:42 -0700 | [diff] [blame] | 12 | memset.o strlen.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
| 14 | lib-$(CONFIG_ITANIUM) += copy_page.o copy_user.o memcpy.o |
| 15 | lib-$(CONFIG_MCKINLEY) += copy_page_mck.o memcpy_mck.o |
| 16 | lib-$(CONFIG_PERFMON) += carta_random.o |
| 17 | lib-$(CONFIG_MD_RAID5) += xor.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | |
| 19 | AFLAGS___divdi3.o = |
| 20 | AFLAGS___udivdi3.o = -DUNSIGNED |
| 21 | AFLAGS___moddi3.o = -DMODULO |
| 22 | AFLAGS___umoddi3.o = -DUNSIGNED -DMODULO |
| 23 | |
| 24 | AFLAGS___divsi3.o = |
| 25 | AFLAGS___udivsi3.o = -DUNSIGNED |
| 26 | AFLAGS___modsi3.o = -DMODULO |
| 27 | AFLAGS___umodsi3.o = -DUNSIGNED -DMODULO |
| 28 | |
| 29 | $(obj)/__divdi3.o: $(src)/idiv64.S FORCE |
| 30 | $(call if_changed_dep,as_o_S) |
| 31 | |
| 32 | $(obj)/__udivdi3.o: $(src)/idiv64.S FORCE |
| 33 | $(call if_changed_dep,as_o_S) |
| 34 | |
| 35 | $(obj)/__moddi3.o: $(src)/idiv64.S FORCE |
| 36 | $(call if_changed_dep,as_o_S) |
| 37 | |
| 38 | $(obj)/__umoddi3.o: $(src)/idiv64.S FORCE |
| 39 | $(call if_changed_dep,as_o_S) |
| 40 | |
| 41 | $(obj)/__divsi3.o: $(src)/idiv32.S FORCE |
| 42 | $(call if_changed_dep,as_o_S) |
| 43 | |
| 44 | $(obj)/__udivsi3.o: $(src)/idiv32.S FORCE |
| 45 | $(call if_changed_dep,as_o_S) |
| 46 | |
| 47 | $(obj)/__modsi3.o: $(src)/idiv32.S FORCE |
| 48 | $(call if_changed_dep,as_o_S) |
| 49 | |
| 50 | $(obj)/__umodsi3.o: $(src)/idiv32.S FORCE |
| 51 | $(call if_changed_dep,as_o_S) |