Rev 1764 | Rev 1872 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1408 | serge | 1 | |
1869 | serge | 2 | |
1408 | serge | 3 | |
4 | DRV_TOPDIR = $(CURDIR)/.. |
||
5 | |||
6 | |||
7 | INCLUDES = -I$(DRV_INCLUDES) -I$(DRV_INCLUDES)/linux -I$(DRV_INCLUDES)/linux/asm |
||
8 | |||
9 | CFLAGS = -c -Os $(INCLUDES) $(DEFINES) -march=i486 -fomit-frame-pointer -fno-builtin-printf |
||
10 | |||
1764 | clevermous | 11 | NAME:= libddk |
1408 | serge | 12 | |
1616 | serge | 13 | CORE_SRC= core.S |
1408 | serge | 14 | |
15 | |||
16 | |||
17 | |||
18 | io/create.c \ |
||
19 | io/finfo.c \ |
||
20 | io/ssize.c \ |
||
21 | io/write.c \ |
||
22 | linux/idr.c \ |
||
23 | linux/firmware.c \ |
||
1412 | serge | 24 | linux/list_sort.c \ |
25 | linux/dmapool.c \ |
||
26 | linux/ctype.c \ |
||
1616 | serge | 27 | malloc/malloc.c \ |
1869 | serge | 28 | stdio/vsprintf.c \ |
1408 | serge | 29 | string/_memmove.S \ |
30 | string/_strncat.S \ |
||
1627 | serge | 31 | string/_strncmp.S \ |
32 | string/_strncpy.S \ |
||
33 | string/_strnlen.S \ |
||
34 | string/bcmp.S \ |
||
35 | string/bcopy.S \ |
||
36 | string/bzero.S \ |
||
37 | string/index.S \ |
||
38 | string/memchr.S \ |
||
39 | string/memcmp.S \ |
||
40 | string/memcpy.S \ |
||
41 | string/memmove.S \ |
||
42 | string/memset.S \ |
||
43 | string/rindex.S \ |
||
44 | string/strcat.S \ |
||
45 | string/strchr.S \ |
||
46 | string/strcmp.S \ |
||
47 | string/strcpy.S \ |
||
48 | string/strlen.S \ |
||
49 | string/strncat.S \ |
||
50 | string/strncmp.S \ |
||
51 | string/strncpy.S \ |
||
52 | string/strnlen.S \ |
||
53 | string/strrchr.S |
||
54 | |||
55 | |||
1408 | serge | 56 | |
57 | |||
58 | |||
59 | |||
60 | |||
61 | |||
62 | |||
63 | all: $(TARGET) libcore.a |
||
64 | |||
65 | |||
66 | |||
67 | |||
68 | |||
69 | |||
70 | |||
71 | |||
72 | $(LD) -shared -s --out-implib $@ --output-def core.def -o core.dll core.o |
||
73 | |||
74 | %.o: %.S Makefile |
||
75 | |||
76 | |||
1627 | serge | 77 | %.o: %.c Makefile |
1408 | serge | 78 | |
79 | |||
80 | %.o:> |
||
81 |