Rev 1412 | Rev 1627 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1408 | serge | 1 | |
2 | AS = as |
||
3 | |||
4 | |||
5 | DRV_INCLUDES = $(DRV_TOPDIR)/include |
||
6 | |||
7 | |||
8 | DEFINES = -DKOLIBRI -D__KERNEL__ -DCONFIG_X86_32 |
||
9 | CFLAGS = -c -O2 $(INCLUDES) $(DEFINES) -fomit-frame-pointer -fno-builtin-printf |
||
10 | |||
11 | |||
1616 | serge | 12 | |
1408 | serge | 13 | |
14 | |||
15 | |||
16 | |||
17 | debug/dbglog.c \ |
||
18 | io/create.c \ |
||
19 | io/finfo.c \ |
||
20 | io/ssize.c \ |
||
21 | io/write.c \ |
||
22 | linux/idr.c \ |
||
1412 | serge | 23 | linux/firmware.c \ |
24 | linux/list_sort.c \ |
||
25 | linux/dmapool.c \ |
||
1616 | serge | 26 | malloc/malloc.c \ |
1408 | serge | 27 | stdio/icompute.c \ |
28 | stdio/vsprintf.c \ |
||
29 | stdio/doprnt.c \ |
||
30 | stdio/chartab.c \ |
||
31 | string/_memmove.S \ |
||
32 | string/_strncat.S \ |
||
33 | string/_strncmp.S \ |
||
34 | string/_strncpy.S \ |
||
35 | string/_strnlen.S \ |
||
36 | string/memcpy.S \ |
||
37 | string/memcmp.S \ |
||
38 | string/memset.S \ |
||
39 | string/strcat.S \ |
||
40 | string/strchr.S \ |
||
41 | string/strcpy.S \ |
||
42 | string/strncpy.S \ |
||
43 | string/strncmp.S \ |
||
44 | string/strlen.S |
||
45 | |||
46 | |||
47 | |||
48 | |||
49 | $(patsubst %.c, %.o, $(NAME_SRCS)))) |
||
50 | |||
51 | |||
52 | |||
53 | |||
54 | |||
55 | |||
56 | |||
57 | |||
58 | $(AR) cvrs $@ $(NAME_OBJS) |
||
59 | |||
60 | |||
61 | |||
62 | $(AS) -o core.o $< |
||
63 | $(LD) -shared -s --out-implib $@ --output-def core.def -o core.dll core.o |
||
64 | |||
65 | |||
66 | $(AS) -o $@ $< |
||
67 | |||
68 | |||
69 | $(CC) $(CFLAGS) -o $@ $<> |
||
70 | |||
71 |