Various changes to crtdll, added some files to math and float
[reactos.git] / reactos / lib / crtdll / makefile
1
2 all: crtdll.a
3
4
5 CTYPE_OBJECTS = ctype/isalnum.o \
6 ctype/isalpha.o ctype/isascii.o ctype/iscntrl.o ctype/isdigit.o ctype/isgraph.o \
7 ctype/islower.o ctype/isprint.o ctype/ispunct.o ctype/isspace.o ctype/isupper.o \
8 ctype/isxdigit.o ctype/toascii.o ctype/tolower.o ctype/toupper.o\
9 ctype/iscsym.o ctype/isctype.o
10
11 CONIO_OBJECTS = conio/cputs.o conio/getch.o conio/getche.o conio/putch.o conio/ungetch.o
12
13 DIRECT_OBJECTS = direct/chdir.o direct/chdrive.o direct/getcwd.o direct/getdrive.o \
14 direct/rmdir.o direct/mkdir.o direct/getdfree.o
15
16
17 MISC_OBJECTS = misc/sleep.o misc/getargs.o misc/crtfmode.o misc/crtglob.o
18
19 STRING_OBJECTS = string/memchr.o string/memcmp.o string/strcat.o \
20 string/strchr.o string/strcmp.o string/strcoll.o \
21 string/strcpy.o string/strcspn.o string/memcpy.o \
22 string/strlen.o string/strncat.o string/strncmp.o \
23 string/strncpy.o string/strpbrk.o string/strrchr.o \
24 string/strspn.o string/strstr.o string/strtok.o \
25 string/strxfrm.o string/memmove.o string/memset.o \
26 string/strdup.o string/strlwr.o string/strupr.o \
27 string/str_old.o string/strerror.o
28
29 WCHAR_OBJECTS = wchar/wcscat.o wchar/wcschr.o wchar/wcscmp.o \
30 wchar/wcscoll.o wchar/wcscpy.o wchar/wcscspn.o \
31 wchar/wcsdup.o wchar/wcsicmp.o wchar/wcslen.o \
32 wchar/wcslwr.o wchar/wcsncat.o wchar/wcsncmp.o \
33 wchar/wcsncpy.o
34
35 STDIO_OBJECTS = stdio/getenv.o stdio/doprnt.o stdio/doscan.o stdio/filbuf.o \
36 stdio/fclose.o stdio/feof.o stdio/ferror.o stdio/fileno.o\
37 stdio/fflush.o stdio/fgetc.o stdio/fgetpos.o stdio/fgets.o stdio/flsbuf.o \
38 stdio/fopen.o stdio/fprintf.o stdio/fputc.o stdio/fputs.o \
39 stdio/fread.o stdio/freopen.o stdio/fscanf.o stdio/fseek.o \
40 stdio/fsetpos.o stdio/ftell.o stdio/fwalk.o stdio/fwrite.o stdio/getc.o \
41 stdio/getchar.o stdio/gets.o stdio/getw.o stdio/perror.o stdio/printf.o \
42 stdio/putc.o stdio/putchar.o stdio/puts.o stdio/putw.o \
43 stdio/remove.o stdio/rename.o stdio/rewind.o stdio/allocfil.o\
44 stdio/scanf.o stdio/setbuf.o stdio/setbuffe.o \
45 stdio/setlineb.o stdio/setvbuf.o stdio/sprintf.o stdio/sscanf.o \
46 stdio/stdiohk.o stdio/stdhnd.o stdio/tempnam.o stdio/tmpfile.o stdio/tmpnam.o \
47 stdio/ungetc.o stdio/vfprintf.o stdio/vprintf.o stdio/vsprintf.o
48
49
50 IO_OBJECTS = io/access.o io/close.o io/create.o io/dup.o io/dup2.o io/find.o io/isatty.o io/lseek.o \
51 io/open.o io/read.o io/setmode.o io/unlink.o io/write.o io/fmode.o io/mktemp.o\
52 io/chmod.o io/chsize.o io/commit.o io/locking.o io/pipe.o io/sopen.o io/filelen.o\
53 io/umask.o io/tell.o io/eof.o
54
55 STDLIB_OBJECTS = stdlib/abort.o stdlib/abs.o stdlib/atexit.o stdlib/atof.o stdlib/atoi.o stdlib/atold.o \
56 stdlib/bsearch.o stdlib/div.o stdlib/errno.o stdlib/exit.o \
57 stdlib/fullpath.o stdlib/labs.o stdlib/ldiv.o stdlib/llabs.o stdlib/lldiv.o \
58 stdlib/makepath.o stdlib/malloc.o stdlib/putenv.o stdlib/qsort.o \
59 stdlib/rand.o stdlib/senv.o stdlib/splitp.o stdlib/strtod.o stdlib/strtol.o \
60 stdlib/strtoul.o stdlib/strtold.o
61
62 SIGNAL_OBJECTS = signal/signal.o
63
64 PROCESS_OBJECTS = process/cwait.o process/dll.o process/spawnl.o process/spawnlp.o process/spawnlpe.o process/spawnvpe.o process/spawnvp.o \
65 process/spawnv.o process/spawnve.o process/spawnle.o process/execl.o process/execlp.o process/execlpe.o \
66 process/execvpe.o process/execvp.o process/execv.o process/execle.o
67
68 TIME_OBJECTS = time/ctime.o time/difftime.o time/strftime.o
69
70 FLOAT_OBJECTS = float/fpreset.o float/clearfp.o float/cntrlfp.o float/statfp.o
71
72 SYS_STAT_OBJECTS = sys_stat/fstat.o sys_stat/stat.o
73
74 MATH_OBJECTS = math/acos.o math/acosh.o math/asin.o math/asinh.o math/atan.o math/atan2.o\
75 math/atanh.o math/ceil.o math/cos.o math/cosh.o math/exp.o math/fabs.o\
76 math/floor.o math/fmod.o math/frexp.o math/huge_val.o math/hypot.o\
77 math/ldexp.o math/log.o math/log10.o math/modf.o math/modfl.o math/pow.o\
78 math/pow10.o math/pow2.o math/sin.o math/sinh.o math/sqrt.o math/tan.o\
79 math/tanh.o
80
81
82 OBJECTS = $(CTYPE_OBJECTS) $(CONIO_OBJECTS) $(DIRECT_OBJECTS) $(MISC_OBJECTS) \
83 $(STRING_OBJECTS) $(STDIO_OBJECTS) $(STDLIB_OBJECTS) \
84 $(IO_OBJECTS) $(PROCESS_OBJECTS) $(TIME_OBJECTS) \
85 $(SYS_STAT_OBJECTS) $(SIGNAL_OBJECTS) $(MATH_OBJECTS) $(FLOAT_OBJECTS)
86
87
88 crtdll.a: $(OBJECTS)
89 $(LD) -r $(OBJECTS) -o crtdll.a
90
91 dummy:
92
93 include ../../Rules.mak
94