Rev 5204 | Rev 5220 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5204 | Rev 5216 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | SDK_DIR = "../../.." |
7 | SDK_DIR = "../../.." |
Line 8... | Line 8... | ||
8 | 8 | ||
9 | LIBC_TOPDIR = "." |
9 | LIBC_TOPDIR = "." |
10 | LIBC_INCLUDES = "include" |
10 | LIBC_INCLUDES = "include" |
11 | NAME = "libc" |
11 | NAME = "libc" |
12 | DEFINES = "-D_IEEE_LIBM" |
12 | DEFINES = "-D_IEEE_LIBM -DHAVE_RENAME" |
Line 13... | Line 13... | ||
13 | INCLUDES = "-Iinclude" |
13 | INCLUDES = "-Iinclude" |
14 | 14 | ||
15 | TOOLCHAIN_LIBPATH = tup.getconfig("TOOLCHAIN_LIBPATH") |
15 | TOOLCHAIN_LIBPATH = tup.getconfig("TOOLCHAIN_LIBPATH") |
Line 37... | Line 37... | ||
37 | "ctype/iswxdigit.c", "ctype/isxdigit.c", "ctype/toascii.c", "ctype/tolower.c", |
37 | "ctype/iswxdigit.c", "ctype/isxdigit.c", "ctype/toascii.c", "ctype/tolower.c", |
38 | "ctype/toupper.c", "ctype/towctrans.c", "ctype/towlower.c", "ctype/towupper.c", |
38 | "ctype/toupper.c", "ctype/towctrans.c", "ctype/towlower.c", "ctype/towupper.c", |
39 | "ctype/wctrans.c", "ctype/wctype.c", |
39 | "ctype/wctrans.c", "ctype/wctype.c", |
40 | "errno/errno.c", |
40 | "errno/errno.c", |
41 | "locale/locale.c", "locale/lctype.c", "locale/ldpart.c", |
41 | "locale/locale.c", "locale/lctype.c", "locale/ldpart.c", |
- | 42 | ||
42 | "reent/impure.c", "reent/init_reent.c", "reent/getreent.c", "reent/mutex.c", |
43 | "reent/closer.c", "reent/fstatr.c", "reent/getreent.c", "reent/gettimeofdayr.c", |
43 | "reent/gettimeofdayr.c", "reent/isattyr.c", "reent/openr.c", "reent/closer.c", |
44 | "reent/impure.c", "reent/init_reent.c", "reent/isattyr.c", "reent/linkr.c", |
44 | "reent/linkr.c", "reent/readr.c", "reent/lseekr.c", "reent/fstatr.c", |
45 | "reent/lseekr.c", "reent/mutex.c", "reent/openr.c", "reent/readr.c", |
45 | "reent/writer.c", "reent/timesr.c", "reent/unlinkr.c", "reent/renamer.c", |
46 | "reent/renamer.c", "reent/statr.c", "reent/timesr.c", "reent/unlinkr.c", |
- | 47 | "reent/writer.c", |
|
46 | "search/qsort.c", "search/bsearch.c", |
48 | "search/qsort.c", "search/bsearch.c", |
47 | "signal/signal.c", |
49 | "signal/signal.c", |
48 | "sys/close.c", "sys/create.c", "sys/delete.c", "sys/errno.c", "sys/finfo.c", |
50 | "sys/access.c", "sys/close.c", "sys/create.c", "sys/errno.c", "sys/finfo.c", |
49 | "sys/fsize.c", "sys/fstat.c", "sys/gettod.c", "sys/io.c", "sys/ioread.c", |
51 | "sys/fsize.c", "sys/fstat.c", "sys/gettod.c", "sys/io.c", "sys/ioread.c", |
50 | "sys/iowrite.c", "sys/isatty.c", "sys/lseek.c", "sys/open.c", "sys/read.c", |
52 | "sys/iowrite.c", "sys/isatty.c", "sys/lseek.c", "sys/open.c", "sys/read.c", |
51 | "sys/stat.c", "sys/unlink.c", "sys/write.c", "sys/io_alloc.S", |
53 | "sys/_rename.c", "sys/stat.c", "sys/unlink.c", "sys/write.c", "sys/io_alloc.S", |
52 | "time/asctime.c", "time/asctime_r.c", "time/clock.c", "time/ctime.c", |
54 | "time/asctime.c", "time/asctime_r.c", "time/clock.c", "time/ctime.c", |
53 | "time/ctime_r.c", "time/difftime.c", "time/gettzinfo.c", "time/gmtime.c", |
55 | "time/ctime_r.c", "time/difftime.c", "time/gettzinfo.c", "time/gmtime.c", |
54 | "time/gmtime_r.c", "time/mktime.c", "time/mktm_r.c", "time/lcltime.c", |
56 | "time/gmtime_r.c", "time/mktime.c", "time/mktm_r.c", "time/lcltime.c", |
55 | "time/lcltime_r.c", "time/strftime.c", "time/time.c", "time/timelocal.c", |
57 | "time/lcltime_r.c", "time/strftime.c", "time/time.c", "time/timelocal.c", |
56 | "time/tzlock.c", "time/tzvars.c" |
58 | "time/tzlock.c", "time/tzvars.c" |
Line 78... | Line 80... | ||
78 | "clearerr.c", "diprintf.c", "dprintf.c", "printf.c", "putchar.c", "fgetc.c", |
80 | "clearerr.c", "diprintf.c", "dprintf.c", "printf.c", "putchar.c", "fgetc.c", |
79 | "fgets.c", "fopen.c", "fclose.c", "fdopen.c", "fflush.c", "flags.c", |
81 | "fgets.c", "fopen.c", "fclose.c", "fdopen.c", "fflush.c", "flags.c", |
80 | "fileno.c", "findfp.c", "fiprintf.c", "fiscanf.c", "fprintf.c", "fputc.c", |
82 | "fileno.c", "findfp.c", "fiprintf.c", "fiscanf.c", "fprintf.c", "fputc.c", |
81 | "fputs.c", "fputwc.c", "fread.c", "freopen.c", "fscanf.c", "fseek.c", |
83 | "fputs.c", "fputwc.c", "fread.c", "freopen.c", "fscanf.c", "fseek.c", |
82 | "fseeko.c", "ftell.c", "ftello.c", "fwrite.c", "fvwrite.c", "fwalk.c", |
84 | "fseeko.c", "ftell.c", "ftello.c", "fwrite.c", "fvwrite.c", "fwalk.c", |
83 | "putc.c", "puts.c", "refill.c", "rget.c", "remove.c", "setvbuf.c", "stdio.c", |
85 | "mktemp.c", "putc.c", "puts.c", "refill.c", "rget.c", "remove.c", "rename.c", |
84 | "tmpfile.c", "tmpnam.c", "ungetc.c", "vasniprintf.c", "vasnprintf.c", |
86 | "setvbuf.c", "stdio.c", "tmpfile.c", "tmpnam.c", "ungetc.c", "vasniprintf.c", |
85 | "vdprintf.c", "vdiprintf.c", "vscanf.c", "vsprintf.c", "vsnprintf.c", |
87 | "vasnprintf.c", "vdprintf.c", "vdiprintf.c", "vscanf.c", "vsprintf.c", |
86 | "vsscanf.c", "makebuf.c", "wsetup.c", "wbuf.c", "sccl.c", "siprintf.c", |
88 | "vsnprintf.c", "vsscanf.c", "makebuf.c", "wsetup.c", "wbuf.c", "sccl.c", |
87 | "sniprintf.c", "snprintf.c", "sprintf.c", "sscanf.c", "rename.c" |
89 | "siprintf.c", "sniprintf.c", "snprintf.c", "sprintf.c", "sscanf.c" |
88 | } |
90 | } |
Line 89... | Line 91... | ||
89 | 91 | ||
90 | MATH_SRCS = { |
92 | MATH_SRCS = { |
91 | "e_acos.c", "e_acosh.c", "e_asin.c", "e_atan2.c", "e_atanh.c", "e_cosh.c", "e_exp.c", "e_fmod.c", |
93 | "e_acos.c", "e_acosh.c", "e_asin.c", "e_atan2.c", "e_atanh.c", "e_cosh.c", "e_exp.c", "e_fmod.c", |