Subversion Repositories Kolibri OS

Rev

Rev 1627 | Rev 1869 | 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 -Os $(INCLUDES) $(DEFINES) -march=i486 -fomit-frame-pointer -fno-builtin-printf
1764 clevermous 10
1408 serge 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 	\
1627 serge 32
		string/_strncat.S 	\
33
		string/_strncmp.S 	\
34
		string/_strncpy.S 	\
35
		string/_strnlen.S 	\
36
		string/bcmp.S 		\
37
		string/bcopy.S 		\
38
		string/bzero.S 		\
39
		string/index.S 		\
40
		string/memchr.S 	\
41
		string/memcmp.S 	\
42
		string/memcpy.S 	\
43
		string/memmove.S 	\
44
		string/memset.S 	\
45
		string/rindex.S 	\
46
		string/strcat.S 	\
47
		string/strchr.S 	\
48
		string/strcmp.S 	\
49
		string/strcpy.S 	\
50
		string/strlen.S 	\
51
		string/strncat.S 	\
52
		string/strncmp.S 	\
53
		string/strncpy.S 	\
54
		string/strnlen.S 	\
55
		string/strrchr.S
56
1408 serge 57
 
58
 
59
 
60
             $(patsubst %.c, %.o, $(NAME_SRCS))))
61
62
 
63
 
64
65
 
66
67
 
68
 
69
	$(AR) cvrs $@ $(NAME_OBJS)
70
71
 
72
 
73
	$(AS) -o core.o $<
74
	$(LD) -shared -s --out-implib $@ --output-def core.def -o core.dll core.o
75
76
 
77
	$(CC) $(CFLAGS) -o $@ $<
1627 serge 78
1408 serge 79
 
80
	$(CC) $(CFLAGS) -o $@ $<
81
82