chiark / gitweb /
[PATCH] update klibc to version 0.181
[elogind.git] / klibc / klibc / arch / cris / Makefile.inc
1 # -*- makefile -*-
2 #
3 # arch/cris/Makefile.inc
4 #
5 # Special rules for this architecture.  Note that this is actually
6 # included from the main Makefile, and that pathnames should be
7 # accordingly.
8 #
9
10 ARCHOBJS = \
11         arch/$(ARCH)/__Umod.o \
12         arch/$(ARCH)/__Udiv.o \
13         arch/$(ARCH)/__Mod.o \
14         arch/$(ARCH)/__Div.o \
15         arch/$(ARCH)/__negdi2.o \
16         arch/$(ARCH)/setjmp.o \
17         arch/$(ARCH)/syscall.o \
18         libgcc/__divdi3.o \
19         libgcc/__moddi3.o \
20         libgcc/__udivdi3.o \
21         libgcc/__umoddi3.o \
22         libgcc/__udivmoddi4.o
23
24 arch/$(ARCH)/__Umod.o: arch/$(ARCH)/divide.c
25         $(CC) $(CFLAGS) -DSIGNED=0 -DREM=1 -DBITS=32 -DNAME=__Umod -c -o $@ $<
26 arch/$(ARCH)/__Udiv.o: arch/$(ARCH)/divide.c
27         $(CC) $(CFLAGS) -DSIGNED=0 -DREM=0 -DBITS=32 -DNAME=__Udiv -c -o $@ $<
28 arch/$(ARCH)/__Mod.o: arch/$(ARCH)/divide.c
29         $(CC) $(CFLAGS) -DSIGNED=1 -DREM=1 -DBITS=32 -DNAME=__Mod -c -o $@ $<
30 arch/$(ARCH)/__Div.o: arch/$(ARCH)/divide.c
31         $(CC) $(CFLAGS) -DSIGNED=1 -DREM=0 -DBITS=32 -DNAME=__Div -c -o $@ $<
32
33 archclean: