Subversion Repositories shark

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 pj 1
#
2
# The stdio sub-library
3
#
4
 
5
ifndef BASE
6
BASE=../..
7
endif
8
include $(BASE)/config/config.mk
9
 
10
LIBRARY       = c
11
 
12
OBJS_PATH     = $(BASE)/libc/stdio
13
 
14
#perror.c
15
#	already into kernel
16
#tmpfile.c
17
#	do not work
18
# sprintf.c vsprintf.c sscanf.c vsscanf.c
19
#	into the ll starte
20
 
21
SRCS=	asprintf.c	\
22
	clrerr.c	\
23
	fclose.c	\
24
	fdopen.c	\
25
	feof.c		\
26
	ferror.c	\
27
	fflush.c	\
28
	fgetc.c		\
29
	fgetln.c	\
30
	fgetpos.c	\
31
	fgets.c		\
32
	fileno.c	\
33
	findfp.c	\
34
	flags.c		\
35
	fopen.c		\
36
	fprintf.c	\
37
	fpurge.c	\
38
	fputc.c		\
39
	fputs.c		\
40
	fread.c		\
41
	freopen.c	\
42
	fscanf.c	\
43
	fseek.c		\
44
	fsetpos.c	\
45
	ftell.c		\
46
	funopen.c	\
47
	fvwrite.c	\
48
	fwalk.c		\
49
	fwrite.c	\
50
	getc.c		\
51
	getchar.c	\
52
	gets.c		\
53
	getw.c		\
54
	makebuf.c	\
55
	mktemp.c	\
56
	printf.c	\
57
	putc.c		\
58
	putchar.c	\
59
	puts.c		\
60
	putw.c		\
61
	refill.c	\
62
	remove.c	\
63
	rewind.c	\
64
	rget.c		\
65
	scanf.c		\
66
	setbuf.c	\
67
	setbuffe.c	\
68
	setvbuf.c	\
69
	snprintf.c	\
70
	stdio.c		\
71
	tempnam.c	\
72
	tmpnam.c	\
73
	ungetc.c	\
74
	vasprint.c	\
75
	vfprintf.c	\
76
	vfscanf.c	\
77
	vprintf.c	\
78
	vscanf.c        \
79
	vsnprint.c	\
80
	wbuf.c		\
81
	wsetup.c
82
 
83
OBJS=	$(patsubst %.c,%.o,$(SRCS))
84
 
85
C_DEF += -D_THREAD_SAFE
86
 
87
include $(BASE)/config/sublib.mk