Software support for the new TMU
[mw/milkymist.git] / software / libbase / Makefile
1 MMDIR=../..
2 include $(MMDIR)/software/include.mak
3
4 OBJECTS_ALL=divsi3.o libc.o crc16.o crc32.o console.o cfcard.o cffat.o system.o board.o irq.o
5 OBJECTS=$(OBJECTS_ALL) softfloat.o softfloat-glue.o vsnprintf.o atof.o malloc.o uart-async.o
6 OBJECTS_LIGHT=$(OBJECTS_ALL) vsnprintf-nofloat.o uart.o
7
8 all: libbase-light.a libbase.a
9
10 libbase-light.a: $(OBJECTS_LIGHT)
11         $(AR) clr libbase-light.a $(OBJECTS_LIGHT)
12         $(RANLIB) libbase-light.a
13
14 libbase.a: $(OBJECTS)
15         $(AR) clr libbase.a $(OBJECTS)
16         $(RANLIB) libbase.a
17
18 .PHONY: clean depend
19
20 depend:
21         makedepend -Y -- $(CFLAGS) -- *.c
22
23 clean:
24         rm -f *.o libbase.a libbase-light.a .*~ *~ Makefile.bak
25
26 # DO NOT DELETE
27
28 atof.o: ../../software/include/stdlib.h ../../software/include/ctype.h
29 board.o: ../../software/include/hw/sysctl.h
30 board.o: ../../software/include/hw/common.h ../../software/include/stdlib.h
31 board.o: ../../software/include/board.h
32 cfcard.o: ../../software/include/hw/systemace.h
33 cfcard.o: ../../software/include/hw/common.h ../../software/include/cfcard.h
34 cfcard.o: ../../software/include/console.h
35 cffat.o: ../../software/include/stdlib.h ../../software/include/stdio.h
36 cffat.o: ../../software/include/string.h ../../software/include/ctype.h
37 cffat.o: ../../software/include/endian.h ../../software/include/cfcard.h
38 cffat.o: ../../software/include/console.h ../../software/include/cffat.h
39 console.o: ../../software/include/uart.h ../../software/include/console.h
40 console.o: ../../software/include/stdio.h ../../software/include/stdlib.h
41 console.o: ../../software/include/stdarg.h
42 crc16.o: ../../software/include/crc.h
43 crc32.o: ../../software/include/crc.h
44 libc.o: ../../software/include/ctype.h ../../software/include/stdio.h
45 libc.o: ../../software/include/stdlib.h ../../software/include/stdarg.h
46 libc.o: ../../software/include/string.h ../../software/include/limits.h
47 malloc.o: ../../software/include/stdio.h ../../software/include/stdlib.h
48 malloc.o: ../../software/include/string.h ../../software/include/console.h
49 malloc.o: ../../software/include/malloc.h
50 softfloat.o: milieu.h softfloat.h softfloat-macros.h softfloat-specialize.h
51 softfloat-glue.o: softfloat.h
52 system.o: ../../software/include/irq.h ../../software/include/uart.h
53 system.o: ../../software/include/hw/fmlbrg.h
54 system.o: ../../software/include/hw/sysctl.h
55 system.o: ../../software/include/hw/common.h ../../software/include/system.h
56 uart-async.o: ../../software/include/uart.h ../../software/include/irq.h
57 uart-async.o: ../../software/include/hw/uart.h
58 uart-async.o: ../../software/include/hw/common.h
59 uart-async.o: ../../software/include/hw/interrupts.h
60 uart.o: ../../software/include/uart.h ../../software/include/irq.h
61 uart.o: ../../software/include/hw/uart.h ../../software/include/hw/common.h
62 uart.o: ../../software/include/hw/interrupts.h
63 vsnprintf.o: ../../software/include/stdlib.h ../../software/include/stdio.h
64 vsnprintf.o: ../../software/include/stdarg.h ../../software/include/string.h
65 vsnprintf.o: ../../software/include/ctype.h
66 vsnprintf-nofloat.o: ../../software/include/stdlib.h
67 vsnprintf-nofloat.o: ../../software/include/stdio.h
68 vsnprintf-nofloat.o: ../../software/include/stdarg.h
69 vsnprintf-nofloat.o: ../../software/include/string.h
70 vsnprintf-nofloat.o: ../../software/include/ctype.h