source: trunk/sys/dietlibc/Makefile @ 11

Last change on this file since 11 was 1, checked in by alain, 8 years ago

First import

File size: 2.5 KB
RevLine 
[1]1
2LIB=    c
3
4VPATH=  $(SRCDIR) $(SRCDIR)cpu/$(CPU)
5
6SRCS=   abort.c abs.c assert.c atexit.c atoi.c atol.c atoll.c bsearch.c \
7        btowc.c chdir.c clearerr.c clock.c close.c closedir.c creat.c crypt.c \
8        div.c dma_memcpy.c __dtostr.c errlistu.c errno_list.c \
9        errno_location.c execl.c execlp.c execv.c execve.c execvp.c fclose.c \
10        fdglue2.c fdglue.c fdopen.c fdprintf.c feof.c ferror.c fflush.c ffs.c \
11        fgetc_unlocked.c fgetpos.c fgets.c fileno.c fopen.c fork.c fprintf.c \
12        fputc_unlocked.c fputs.c fread.c freopen.c fscanf.c fseek.c fseeko.c \
13        fsetpos.c ftell.c ftello.c fwrite.c getcwd.c getenv.c getopt.c \
14        getopt_data.c getopt_long.c getopt_long_only.c getpid.c gettimeofday.c \
15        heap_manager.c iprintf.c isalnum.c isalpha.c isascii.c isatty.c \
16        isblank.c iscntrl.c isdigit.c isgraph.c islower.c isprint.c ispunct.c \
17        isspace.c isupper.c iswalnum.c iswalpha.c iswblank.c iswcntrl.c \
18        iswdigit.c iswgraph.c iswlower.c iswprint.c iswpunct.c iswspace.c \
19        iswupper.c iswxdigit.c isxdigit.c kill.c ldiv.c llabs.c lldiv.c \
20        __lltostr.c lseek.c __ltostr.c madvise.c mblen.c mbrlen.c mbrtowc.c \
21        mbsinit.c mbsrtowcs.c mbstowcs.c mbtowc.c mcntl.c md5.c md5crypt.c \
22        memccpy.c memchr.c memcmp.c memcpy.c memmem.c memmove.c memrchr.c \
23        memset.c mkdir.c mkfifo.c mkstemp.c mmap.c munmap.c open.c opendir.c \
24        perror.c pipe.c printf.c putchar.c putenv.c puts.c qsort.c rand48.c \
25        rand.c rand_r.c read.c readdir.c rx.c scanf.c setenv.c setlinebuf.c \
26        setvbuf.c signal.c sleep.c sprintf.c sscanf.c stat.c stderr.c stdin.c \
27        stdout.c strcasecmp.c strcat.c strchr.c strcmp.c strcpy.c strcspn.c \
28        strdup.c strerror.c strlcat.c strlcpy.c strlen.c strncasecmp.c \
29        strncat.c strncmp.c strncpy.c strpbrk.c strrchr.c strsep.c strspn.c \
30        strstr.c strtod.c strtof.c strtok.c strtok_r.c strtol.c strtold.c \
31        strtoll.c strtoul.c strtoull.c strxfrm.c swab.c sysconf.c \
32        sys_errlist.c tmpfile.c tolower.c toupper.c towlower.c towupper.c \
33        ungetc.c unlink.c unsetenv.c vfdprintf.c vfprintf.c vfscanf.c \
34        __v_printf.c vprintf.c __v_scanf.c vscanf.c vsnprintf.c vsprintf.c \
35        vsscanf.c wcrtomb.c wcscat.c wcschr.c wcscmp.c wcscpy.c wcslen.c \
36        wcsncat.c wcsncpy.c wcsrchr.c wcsstr.c wctomb.c wctype.c wcwidth.c \
37        wmemcmp.c wmemcpy.c wmemset.c write.c crt0.c rewind.c snprintf.c rmdir.c \
38        remove.c getwd.c __time.c ftime.c chmod.c fsync.c times.c
39
40SRCS+=  __cpu_jmp.S  cpu_syscall.c
41
42INCFLAGS=       -I$(SRCDIR)/include -I$(SRCDIR)cpu/$(CPU) \
43                -I$(SRCDIR)../libpthread/include -I$(SRCDIR)../libgomp/include \
44                -I$(SRCDIR)../libm/include
45
46include $(SRCDIR)../lib.mk
47
48all:
49        cp crt0.o $(LIBDIR)/.
Note: See TracBrowser for help on using the repository browser.