Subversion Repositories Kolibri OS

Rev

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