blob: 0a40b14407b1692c7a684bb2ea689d130df36805 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for ia64-specific library routines..
3#
4
Al Viro7f2084f2016-01-15 14:01:22 -05005lib-y := io.o __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -07006 __divdi3.o __udivdi3.o __moddi3.o __umoddi3.o \
Akinobu Mita2875aef2006-03-26 01:39:25 -08007 checksum.o clear_page.o csum_partial_copy.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 clear_user.o strncpy_from_user.o strlen_user.o strnlen_user.o \
9 flush.o ip_fast_csum.o do_csum.o \
Lee Schermerhorna27e5a12007-03-06 02:34:23 -080010 memset.o strlen.o xor.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
Al Viro7f2084f2016-01-15 14:01:22 -050012lib-$(CONFIG_ITANIUM) += copy_page.o copy_user.o memcpy.o
13lib-$(CONFIG_MCKINLEY) += copy_page_mck.o memcpy_mck.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070014lib-$(CONFIG_PERFMON) += carta_random.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
16AFLAGS___divdi3.o =
17AFLAGS___udivdi3.o = -DUNSIGNED
18AFLAGS___moddi3.o = -DMODULO
19AFLAGS___umoddi3.o = -DUNSIGNED -DMODULO
20
21AFLAGS___divsi3.o =
22AFLAGS___udivsi3.o = -DUNSIGNED
23AFLAGS___modsi3.o = -DMODULO
24AFLAGS___umodsi3.o = -DUNSIGNED -DMODULO
25
26$(obj)/__divdi3.o: $(src)/idiv64.S FORCE
Jan Beulichd8a6e3a2017-04-13 11:06:00 -070027 $(call if_changed_rule,as_o_S)
Linus Torvalds1da177e2005-04-16 15:20:36 -070028
29$(obj)/__udivdi3.o: $(src)/idiv64.S FORCE
Jan Beulichd8a6e3a2017-04-13 11:06:00 -070030 $(call if_changed_rule,as_o_S)
Linus Torvalds1da177e2005-04-16 15:20:36 -070031
32$(obj)/__moddi3.o: $(src)/idiv64.S FORCE
Jan Beulichd8a6e3a2017-04-13 11:06:00 -070033 $(call if_changed_rule,as_o_S)
Linus Torvalds1da177e2005-04-16 15:20:36 -070034
35$(obj)/__umoddi3.o: $(src)/idiv64.S FORCE
Jan Beulichd8a6e3a2017-04-13 11:06:00 -070036 $(call if_changed_rule,as_o_S)
Linus Torvalds1da177e2005-04-16 15:20:36 -070037
38$(obj)/__divsi3.o: $(src)/idiv32.S FORCE
Jan Beulichd8a6e3a2017-04-13 11:06:00 -070039 $(call if_changed_rule,as_o_S)
Linus Torvalds1da177e2005-04-16 15:20:36 -070040
41$(obj)/__udivsi3.o: $(src)/idiv32.S FORCE
Jan Beulichd8a6e3a2017-04-13 11:06:00 -070042 $(call if_changed_rule,as_o_S)
Linus Torvalds1da177e2005-04-16 15:20:36 -070043
44$(obj)/__modsi3.o: $(src)/idiv32.S FORCE
Jan Beulichd8a6e3a2017-04-13 11:06:00 -070045 $(call if_changed_rule,as_o_S)
Linus Torvalds1da177e2005-04-16 15:20:36 -070046
47$(obj)/__umodsi3.o: $(src)/idiv32.S FORCE
Jan Beulichd8a6e3a2017-04-13 11:06:00 -070048 $(call if_changed_rule,as_o_S)