Subversion Repositories Kolibri OS

Rev

Rev 5096 | Rev 6082 | 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
 
5270 serge 8
 
9
		-I$(DRV_INCLUDES)/asm 	\
10
		-I$(DRV_INCLUDES)/uapi
11
12
 
13
DEFINES+= -DCONFIG_X86_L1_CACHE_SHIFT=6 -DCONFIG_ARCH_HAS_CACHE_LINE_SIZE
14
15
 
3482 Serge 16
-mno-stack-arg-probe -mpreferred-stack-boundary=2 -mincoming-stack-boundary=2
1877 clevermous 17
1408 serge 18
 
1616 serge 19
1408 serge 20
 
21
22
 
23
 
24
		debug/dbglog.c		\
25
		debug/chkstk.S		\
1872 serge 26
           	io/create.c		\
1408 serge 27
           	io/finfo.c		\
28
           	io/ssize.c		\
29
           	io/write.c		\
30
		linux/bitmap.c		\
3391 Serge 31
		linux/dmi.c		\
5096 serge 32
		linux/find_next_bit.c	\
5270 serge 33
		linux/idr.c		\
1412 serge 34
		linux/interval_tree.c	\
5056 serge 35
		linux/firmware.c	\
1412 serge 36
		linux/hdmi.c		\
5056 serge 37
		linux/kasprintf.c	\
38
		linux/kref.c		\
2966 Serge 39
		linux/list_sort.c	\
1412 serge 40
		linux/mutex.c		\
5056 serge 41
		linux/rbtree.c		\
4103 Serge 42
		linux/dmapool.c		\
1616 serge 43
		linux/ctype.c		\
1869 serge 44
		linux/scatterlist.c	\
5056 serge 45
		linux/string.c		\
1966 serge 46
		linux/time.c		\
3031 serge 47
		linux/workqueue.c	\
3482 Serge 48
		malloc/malloc.c		\
1408 serge 49
		stdio/vsprintf.c	\
50
		string/_memmove.S 	\
1627 serge 51
		string/_strncat.S 	\
52
		string/_strncmp.S 	\
53
		string/_strncpy.S 	\
54
		string/_strnlen.S 	\
55
		string/bcmp.S 		\
56
		string/bcopy.S 		\
57
		string/bzero.S 		\
58
		string/index.S 		\
59
		string/memchr.S 	\
60
		string/memcmp.S 	\
61
		string/memcpy.S 	\
62
		string/memmove.S 	\
63
		string/memset.S 	\
64
		string/rindex.S 	\
65
		string/strcat.S 	\
66
		string/strchr.S 	\
67
		string/strcmp.S 	\
68
		string/strcpy.S 	\
69
		string/strlen.S 	\
70
		string/strncat.S 	\
71
		string/strncmp.S 	\
72
		string/strncpy.S 	\
73
		string/strnlen.S 	\
74
		string/strrchr.S
75
1408 serge 76
 
77
 
78
 
79
             $(patsubst %.c, %.o, $(NAME_SRCS))))
80
81
 
82
 
83
84
 
85
86
 
87
 
88
	$(AR) cvrs $@ $(NAME_OBJS)
89
90
 
91
 
92
	$(AS) -o core.o $<
93
	$(LD) -shared -s --out-implib $@ --output-def core.def -o core.dll core.o
94
95
 
96
	$(CC) $(CFLAGS) -o $@ $<
1627 serge 97
1408 serge 98
 
1969 clevermous 99
	$(CC) $(CFLAGS) -o $@ $<
1408 serge 100
101
 
1970 serge 102
	-rm -f */*.o
103
104
 
105