blob: 46edf8444c7ed0c9d3351e30e2c080e9a8fd7f0a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for ia64-specific library routines..
3#
4
5obj-y := io.o
6
7lib-y := __divsi3.o __udivsi3.o __modsi3.o __umodsi3.o \
8 __divdi3.o __udivdi3.o __moddi3.o __umoddi3.o \
Akinobu Mita2875aef2006-03-26 01:39:25 -08009 checksum.o clear_page.o csum_partial_copy.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -070010 clear_user.o strncpy_from_user.o strlen_user.o strnlen_user.o \
11 flush.o ip_fast_csum.o do_csum.o \
Lee Schermerhorna27e5a12007-03-06 02:34:23 -080012 memset.o strlen.o xor.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
14lib-$(CONFIG_ITANIUM) += copy_page.o copy_user.o memcpy.o
15lib-$(CONFIG_MCKINLEY) += copy_page_mck.o memcpy_mck.o
16lib-$(CONFIG_PERFMON) += carta_random.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
18AFLAGS___divdi3.o =
19AFLAGS___udivdi3.o = -DUNSIGNED
20AFLAGS___moddi3.o = -DMODULO
21AFLAGS___umoddi3.o = -DUNSIGNED -DMODULO
22
23AFLAGS___divsi3.o =
24AFLAGS___udivsi3.o = -DUNSIGNED
25AFLAGS___modsi3.o = -DMODULO
26AFLAGS___umodsi3.o = -DUNSIGNED -DMODULO
27
28$(obj)/__divdi3.o: $(src)/idiv64.S FORCE
29 $(call if_changed_dep,as_o_S)
30
31$(obj)/__udivdi3.o: $(src)/idiv64.S FORCE
32 $(call if_changed_dep,as_o_S)
33
34$(obj)/__moddi3.o: $(src)/idiv64.S FORCE
35 $(call if_changed_dep,as_o_S)
36
37$(obj)/__umoddi3.o: $(src)/idiv64.S FORCE
38 $(call if_changed_dep,as_o_S)
39
40$(obj)/__divsi3.o: $(src)/idiv32.S FORCE
41 $(call if_changed_dep,as_o_S)
42
43$(obj)/__udivsi3.o: $(src)/idiv32.S FORCE
44 $(call if_changed_dep,as_o_S)
45
46$(obj)/__modsi3.o: $(src)/idiv32.S FORCE
47 $(call if_changed_dep,as_o_S)
48
49$(obj)/__umodsi3.o: $(src)/idiv32.S FORCE
50 $(call if_changed_dep,as_o_S)