Subversion Repositories Kolibri OS

Rev

Rev 1869 | Rev 1877 | 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
		debug/chkstk.S		\
1872 serge 19
           	io/create.c		\
1408 serge 20
           	io/finfo.c		\
21
           	io/ssize.c		\
22
           	io/write.c		\
23
		linux/idr.c		\
1412 serge 24
		linux/firmware.c	\
25
		linux/list_sort.c	\
26
		linux/dmapool.c		\
1616 serge 27
		linux/ctype.c		\
1869 serge 28
		malloc/malloc.c		\
1408 serge 29
		stdio/vsprintf.c	\
30
		string/_memmove.S 	\
1627 serge 31
		string/_strncat.S 	\
32
		string/_strncmp.S 	\
33
		string/_strncpy.S 	\
34
		string/_strnlen.S 	\
35
		string/bcmp.S 		\
36
		string/bcopy.S 		\
37
		string/bzero.S 		\
38
		string/index.S 		\
39
		string/memchr.S 	\
40
		string/memcmp.S 	\
41
		string/memcpy.S 	\
42
		string/memmove.S 	\
43
		string/memset.S 	\
44
		string/rindex.S 	\
45
		string/strcat.S 	\
46
		string/strchr.S 	\
47
		string/strcmp.S 	\
48
		string/strcpy.S 	\
49
		string/strlen.S 	\
50
		string/strncat.S 	\
51
		string/strncmp.S 	\
52
		string/strncpy.S 	\
53
		string/strnlen.S 	\
54
		string/strrchr.S
55
1408 serge 56
 
57
 
58
 
59
             $(patsubst %.c, %.o, $(NAME_SRCS))))
60
61
 
62
 
63
64
 
65
66
 
67
 
68
	$(AR) cvrs $@ $(NAME_OBJS)
69
70
 
71
 
72
	$(AS) -o core.o $<
73
	$(LD) -shared -s --out-implib $@ --output-def core.def -o core.dll core.o
74
75
 
76
	$(CC) $(CFLAGS) -o $@ $<
1627 serge 77
1408 serge 78
 
79
	$(CC) $(CFLAGS) -o $@ $<
80
81