Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for ia64-specific library routines.. |
| 3 | # |
| 4 | |
Al Viro | 7f2084f | 2016-01-15 14:01:22 -0500 | [diff] [blame] | 5 | lib-y := io.o __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | __divdi3.o __udivdi3.o __moddi3.o __umoddi3.o \ |
Akinobu Mita | 2875aef | 2006-03-26 01:39:25 -0800 | [diff] [blame] | 7 | checksum.o clear_page.o csum_partial_copy.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | clear_user.o strncpy_from_user.o strlen_user.o strnlen_user.o \ |
| 9 | flush.o ip_fast_csum.o do_csum.o \ |
Lee Schermerhorn | a27e5a1 | 2007-03-06 02:34:23 -0800 | [diff] [blame] | 10 | memset.o strlen.o xor.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
Al Viro | 7f2084f | 2016-01-15 14:01:22 -0500 | [diff] [blame] | 12 | lib-$(CONFIG_ITANIUM) += copy_page.o copy_user.o memcpy.o |
| 13 | lib-$(CONFIG_MCKINLEY) += copy_page_mck.o memcpy_mck.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | lib-$(CONFIG_PERFMON) += carta_random.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
| 16 | AFLAGS___divdi3.o = |
| 17 | AFLAGS___udivdi3.o = -DUNSIGNED |
| 18 | AFLAGS___moddi3.o = -DMODULO |
| 19 | AFLAGS___umoddi3.o = -DUNSIGNED -DMODULO |
| 20 | |
| 21 | AFLAGS___divsi3.o = |
| 22 | AFLAGS___udivsi3.o = -DUNSIGNED |
| 23 | AFLAGS___modsi3.o = -DMODULO |
| 24 | AFLAGS___umodsi3.o = -DUNSIGNED -DMODULO |
| 25 | |
| 26 | $(obj)/__divdi3.o: $(src)/idiv64.S FORCE |
Jan Beulich | d8a6e3a | 2017-04-13 11:06:00 -0700 | [diff] [blame] | 27 | $(call if_changed_rule,as_o_S) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | |
| 29 | $(obj)/__udivdi3.o: $(src)/idiv64.S FORCE |
Jan Beulich | d8a6e3a | 2017-04-13 11:06:00 -0700 | [diff] [blame] | 30 | $(call if_changed_rule,as_o_S) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | |
| 32 | $(obj)/__moddi3.o: $(src)/idiv64.S FORCE |
Jan Beulich | d8a6e3a | 2017-04-13 11:06:00 -0700 | [diff] [blame] | 33 | $(call if_changed_rule,as_o_S) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 34 | |
| 35 | $(obj)/__umoddi3.o: $(src)/idiv64.S FORCE |
Jan Beulich | d8a6e3a | 2017-04-13 11:06:00 -0700 | [diff] [blame] | 36 | $(call if_changed_rule,as_o_S) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | |
| 38 | $(obj)/__divsi3.o: $(src)/idiv32.S FORCE |
Jan Beulich | d8a6e3a | 2017-04-13 11:06:00 -0700 | [diff] [blame] | 39 | $(call if_changed_rule,as_o_S) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | |
| 41 | $(obj)/__udivsi3.o: $(src)/idiv32.S FORCE |
Jan Beulich | d8a6e3a | 2017-04-13 11:06:00 -0700 | [diff] [blame] | 42 | $(call if_changed_rule,as_o_S) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | |
| 44 | $(obj)/__modsi3.o: $(src)/idiv32.S FORCE |
Jan Beulich | d8a6e3a | 2017-04-13 11:06:00 -0700 | [diff] [blame] | 45 | $(call if_changed_rule,as_o_S) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | |
| 47 | $(obj)/__umodsi3.o: $(src)/idiv32.S FORCE |
Jan Beulich | d8a6e3a | 2017-04-13 11:06:00 -0700 | [diff] [blame] | 48 | $(call if_changed_rule,as_o_S) |