Subversion Repositories Kolibri OS

Rev

Rev 3391 | Rev 4103 | 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 \
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/idr.c		\
3391 Serge 26
		linux/firmware.c	\
1412 serge 27
		linux/kref.c		\
28
		linux/list_sort.c	\
2966 Serge 29
		linux/dmapool.c		\
1412 serge 30
		linux/ctype.c		\
1616 serge 31
		linux/string.c		\
1869 serge 32
		linux/time.c		\
1966 serge 33
		linux/workqueue.c	\
3031 serge 34
		malloc/malloc.c		\
3482 Serge 35
		stdio/vsprintf.c	\
1408 serge 36
		string/_memmove.S 	\
37
		string/_strncat.S 	\
1627 serge 38
		string/_strncmp.S 	\
39
		string/_strncpy.S 	\
40
		string/_strnlen.S 	\
41
		string/bcmp.S 		\
42
		string/bcopy.S 		\
43
		string/bzero.S 		\
44
		string/index.S 		\
45
		string/memchr.S 	\
46
		string/memcmp.S 	\
47
		string/memcpy.S 	\
48
		string/memmove.S 	\
49
		string/memset.S 	\
50
		string/rindex.S 	\
51
		string/strcat.S 	\
52
		string/strchr.S 	\
53
		string/strcmp.S 	\
54
		string/strcpy.S 	\
55
		string/strlen.S 	\
56
		string/strncat.S 	\
57
		string/strncmp.S 	\
58
		string/strncpy.S 	\
59
		string/strnlen.S 	\
60
		string/strrchr.S
61
62
1408 serge 63
 
64
 
65
 
66
67
68
 
69
 
70
all: $(TARGET) libcore.a
71
 
72
73
 
74
 
75
76
77
 
78
 
79
	$(LD) -shared -s --out-implib $@ --output-def core.def -o core.dll core.o
80
81
%.o: %.S Makefile
82
 
83
1627 serge 84
%.o: %.c Makefile ../include/*.h ../include/linux/*.h
1408 serge 85
 
1969 clevermous 86
1408 serge 87
clean:
88
 
1970 serge 89
90
clean:>
91
 
92