Subversion Repositories Kolibri OS

Rev

Rev 5056 | Rev 5270 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1408 serge 1
 
3482 Serge 2
 
1408 serge 3
4
DRV_TOPDIR   = $(CURDIR)/..
5
 
6
7
INCLUDES = 	-I$(DRV_INCLUDES) -I$(DRV_INCLUDES)/linux -I$(DRV_INCLUDES)/linux/asm
8
 
9
CFLAGS = 	-c -Os $(INCLUDES) $(DEFINES) -march=i686 -fomit-frame-pointer -fno-builtin-printf \
5096 serge 10
-mno-stack-arg-probe -mpreferred-stack-boundary=2 -mincoming-stack-boundary=2
3482 Serge 11
1877 clevermous 12
NAME:=	  libddk
1408 serge 13
 
1616 serge 14
CORE_SRC=	core.S
1408 serge 15
 
16
17
 
18
 
19
		debug/chkstk.S		\
20
           	io/create.c		\
1872 serge 21
           	io/finfo.c		\
1408 serge 22
           	io/ssize.c		\
23
           	io/write.c		\
24
		linux/bitmap.c		\
25
		linux/dmi.c		\
3391 Serge 26
		linux/idr.c		\
5096 serge 27
		linux/interval_tree.c	\
1412 serge 28
		linux/firmware.c	\
5056 serge 29
		linux/hdmi.c		\
1412 serge 30
		linux/kasprintf.c	\
5056 serge 31
		linux/kref.c		\
32
		linux/list_sort.c	\
2966 Serge 33
		linux/mutex.c		\
1412 serge 34
		linux/rbtree.c		\
5056 serge 35
		linux/dmapool.c		\
4103 Serge 36
		linux/ctype.c		\
1616 serge 37
		linux/scatterlist.c	\
1869 serge 38
		linux/string.c		\
5056 serge 39
		linux/time.c		\
1966 serge 40
		linux/workqueue.c	\
3031 serge 41
		malloc/malloc.c		\
3482 Serge 42
		stdio/vsprintf.c	\
1408 serge 43
		string/_memmove.S 	\
44
		string/_strncat.S 	\
1627 serge 45
		string/_strncmp.S 	\
46
		string/_strncpy.S 	\
47
		string/_strnlen.S 	\
48
		string/bcmp.S 		\
49
		string/bcopy.S 		\
50
		string/bzero.S 		\
51
		string/index.S 		\
52
		string/memchr.S 	\
53
		string/memcmp.S 	\
54
		string/memcpy.S 	\
55
		string/memmove.S 	\
56
		string/memset.S 	\
57
		string/rindex.S 	\
58
		string/strcat.S 	\
59
		string/strchr.S 	\
60
		string/strcmp.S 	\
61
		string/strcpy.S 	\
62
		string/strlen.S 	\
63
		string/strncat.S 	\
64
		string/strncmp.S 	\
65
		string/strncpy.S 	\
66
		string/strnlen.S 	\
67
		string/strrchr.S
68
69
1408 serge 70
 
71
 
72
 
73
74
75
 
76
 
77
all: $(TARGET) libcore.a
78
 
79
80
 
81
 
82
83
84
 
85
 
86
	$(LD) -shared -s --out-implib $@ --output-def core.def -o core.dll core.o
87
88
%.o: %.S Makefile
89
 
90
1627 serge 91
%.o: %.c Makefile ../include/*.h ../include/linux/*.h
1408 serge 92
 
1969 clevermous 93
1408 serge 94
clean:
95
 
1970 serge 96
97
clean:>
98
 
99