2013-03-19 22:28:32 +00:00
|
|
|
SOFTWARE_MEANT_FOR_SORTIX=1
|
2014-06-28 14:10:20 +00:00
|
|
|
include ../build-aux/platform.mak
|
|
|
|
include ../build-aux/compiler.mak
|
|
|
|
include ../build-aux/version.mak
|
|
|
|
include ../build-aux/dirs.mak
|
2012-09-10 21:36:15 +00:00
|
|
|
|
2015-05-10 14:56:22 +00:00
|
|
|
OPTLEVEL?=$(DEFAULT_OPTLEVEL)
|
2011-08-05 12:25:00 +00:00
|
|
|
|
2012-09-10 21:36:15 +00:00
|
|
|
CPUDIR:=$(CPU)
|
|
|
|
|
2013-12-27 00:44:03 +00:00
|
|
|
CPPINCLUDES=-Iinclude
|
2014-01-18 15:21:46 +00:00
|
|
|
CPPFLAGS=-D__is_sortix_libc $(CPPINCLUDES)
|
2016-04-30 16:10:49 +00:00
|
|
|
FLAGS=-Wall -Wextra -ffreestanding $(OPTLEVEL)
|
2016-02-28 11:11:02 +00:00
|
|
|
CFLAGS=-std=gnu11 -Wstrict-prototypes -Werror=implicit-function-declaration
|
2013-03-19 22:28:32 +00:00
|
|
|
CXXFLAGS=-std=gnu++11 -fno-exceptions -fno-rtti
|
|
|
|
ASFLAGS=
|
2012-02-12 01:03:34 +00:00
|
|
|
|
2012-09-21 21:57:47 +00:00
|
|
|
FREEOBJS=\
|
2013-10-26 20:46:46 +00:00
|
|
|
assert/__assert.o \
|
2014-07-27 14:46:57 +00:00
|
|
|
c++/c++.o \
|
|
|
|
c++/op-new.o \
|
2014-01-07 20:36:01 +00:00
|
|
|
ctype/isalnum.o \
|
|
|
|
ctype/isalpha.o \
|
2014-04-02 15:56:48 +00:00
|
|
|
ctype/isascii.o \
|
2014-01-07 20:36:01 +00:00
|
|
|
ctype/isblank.o \
|
|
|
|
ctype/iscntrl.o \
|
|
|
|
ctype/isdigit.o \
|
|
|
|
ctype/isgraph.o \
|
|
|
|
ctype/islower.o \
|
|
|
|
ctype/isprint.o \
|
|
|
|
ctype/ispunct.o \
|
|
|
|
ctype/isspace.o \
|
|
|
|
ctype/isupper.o \
|
|
|
|
ctype/isxdigit.o \
|
|
|
|
ctype/tolower.o \
|
|
|
|
ctype/toupper.o \
|
2013-06-21 22:30:45 +00:00
|
|
|
dirent/alphasort.o \
|
2014-03-26 22:58:47 +00:00
|
|
|
dirent/alphasort_r.o \
|
2014-01-03 18:20:51 +00:00
|
|
|
dirent/dirfd.o \
|
2013-06-24 17:20:46 +00:00
|
|
|
dirent/versionsort.o \
|
2014-03-26 23:00:59 +00:00
|
|
|
dirent/versionsort_r.o \
|
2013-06-25 11:03:58 +00:00
|
|
|
errno/errno.o \
|
2013-12-12 23:43:10 +00:00
|
|
|
fnmatch/fnmatch.o \
|
2013-07-19 21:27:11 +00:00
|
|
|
inttypes/imaxabs.o \
|
2013-07-19 21:07:09 +00:00
|
|
|
inttypes/imaxdiv.o \
|
2013-07-18 22:24:37 +00:00
|
|
|
inttypes/strtoimax.o \
|
|
|
|
inttypes/strtoumax.o \
|
2013-07-19 20:36:11 +00:00
|
|
|
inttypes/wcstoimax.o \
|
|
|
|
inttypes/wcstoumax.o \
|
2016-03-07 16:27:58 +00:00
|
|
|
libgen/basename.o \
|
|
|
|
libgen/dirname.o \
|
2013-10-22 22:40:10 +00:00
|
|
|
malloc/__heap_expand_current_part.o \
|
|
|
|
malloc/heap_get_paranoia.o \
|
|
|
|
malloc/heap_init.o \
|
|
|
|
malloc/__heap_lock.o \
|
|
|
|
malloc/__heap_unlock.o \
|
|
|
|
malloc/__heap_verify.o \
|
2015-08-21 15:25:23 +00:00
|
|
|
netinet/in/in6addr_any.o \
|
|
|
|
netinet/in/in6addr_loopback.o \
|
2015-12-15 22:43:34 +00:00
|
|
|
regex/regcomp.o \
|
|
|
|
regex/regerror.o \
|
|
|
|
regex/regexec.o \
|
|
|
|
regex/regfree.o \
|
2013-06-24 22:37:42 +00:00
|
|
|
signal/sigaddset.o \
|
2013-07-27 14:28:58 +00:00
|
|
|
signal/sigandset.o \
|
2013-06-24 22:37:42 +00:00
|
|
|
signal/sigdelset.o \
|
|
|
|
signal/sigemptyset.o \
|
|
|
|
signal/sigfillset.o \
|
2013-07-27 14:28:58 +00:00
|
|
|
signal/sigisemptyset.o \
|
2013-06-24 22:37:42 +00:00
|
|
|
signal/sigismember.o \
|
2013-07-27 14:28:58 +00:00
|
|
|
signal/signotset.o \
|
|
|
|
signal/sigorset.o \
|
2014-10-21 22:00:33 +00:00
|
|
|
ssp/__stack_chk_fail.o \
|
2014-01-20 17:22:38 +00:00
|
|
|
stdio/asprintf.o \
|
2014-10-21 22:00:33 +00:00
|
|
|
stdio/cbprintf.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/clearerr.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/clearerr_unlocked.o \
|
2013-07-20 12:10:06 +00:00
|
|
|
stdio/dprintf.o \
|
2015-03-21 16:22:05 +00:00
|
|
|
stdio_ext/__fbufsize.o \
|
|
|
|
stdio_ext/__fpending.o \
|
|
|
|
stdio_ext/__fpurge.o \
|
|
|
|
stdio_ext/__freadable.o \
|
|
|
|
stdio_ext/__freading.o \
|
|
|
|
stdio_ext/__fseterr.o \
|
|
|
|
stdio_ext/__fwritable.o \
|
|
|
|
stdio_ext/__fwriting.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fclose.o \
|
|
|
|
stdio/fdeletefile.o \
|
|
|
|
stdio/feof.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/feof_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/ferror.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/ferror_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fflush.o \
|
|
|
|
stdio/fflush_stop_reading.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/fflush_stop_reading_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fflush_stop_writing.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/fflush_stop_writing_unlocked.o \
|
|
|
|
stdio/fflush_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fgetc.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/fgetc_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fgets.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/fgets_unlocked.o \
|
|
|
|
stdio/fileno_unlocked.o \
|
2013-07-20 11:21:14 +00:00
|
|
|
stdio/flockfile.o \
|
2014-02-25 17:12:05 +00:00
|
|
|
stdio/fmemopen.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fnewfile.o \
|
2014-02-27 19:57:14 +00:00
|
|
|
stdio/fparsemode.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/fprintf_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fputc.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/fputc_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fputs.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/fputs_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fread.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/fread_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fregister.o \
|
|
|
|
stdio/fresetfile.o \
|
|
|
|
stdio/fscanf.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/fscanf_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fseek.o \
|
|
|
|
stdio/fseeko.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/fseeko_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fshutdown.o \
|
|
|
|
stdio/ftell.o \
|
|
|
|
stdio/ftello.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/ftello_unlocked.o \
|
2013-07-20 11:21:14 +00:00
|
|
|
stdio/ftrylockfile.o \
|
|
|
|
stdio/funlockfile.o \
|
2014-08-03 15:12:56 +00:00
|
|
|
stdio/funregister.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fwrite.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/fwrite_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/getdelim.o \
|
|
|
|
stdio/getline.o \
|
2015-06-11 19:48:37 +00:00
|
|
|
stdio/open_memstream.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/rewind.o \
|
|
|
|
stdio/setbuf.o \
|
|
|
|
stdio/setvbuf.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/setvbuf_unlocked.o \
|
2013-07-20 11:47:42 +00:00
|
|
|
stdio/snprintf.o \
|
|
|
|
stdio/sprintf.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/sscanf.o \
|
|
|
|
stdio/ungetc.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/ungetc_unlocked.o \
|
2014-01-20 17:22:38 +00:00
|
|
|
stdio/vasprintf.o \
|
2014-08-13 17:15:20 +00:00
|
|
|
stdio/vcbprintf.o \
|
2013-07-20 12:10:06 +00:00
|
|
|
stdio/vdprintf.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/vfprintf_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/vfscanf.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/vfscanf_unlocked.o \
|
2014-01-19 16:27:36 +00:00
|
|
|
stdio/vscanf_callback.o \
|
2013-07-20 11:47:42 +00:00
|
|
|
stdio/vsnprintf.o \
|
|
|
|
stdio/vsprintf.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/vsscanf.o \
|
2013-06-24 21:52:59 +00:00
|
|
|
stdlib/abort.o \
|
|
|
|
stdlib/abs.o \
|
2015-05-10 20:24:45 +00:00
|
|
|
stdlib/arc4random_buf.o \
|
|
|
|
stdlib/arc4random.o \
|
|
|
|
stdlib/arc4random_uniform.o \
|
2013-06-24 21:52:59 +00:00
|
|
|
stdlib/atof.o \
|
|
|
|
stdlib/atoi.o \
|
|
|
|
stdlib/atoll.o \
|
|
|
|
stdlib/atol.o \
|
|
|
|
stdlib/bsearch.o \
|
|
|
|
stdlib/calloc.o \
|
|
|
|
stdlib/div.o \
|
2013-10-22 22:40:10 +00:00
|
|
|
stdlib/free.o \
|
2013-07-19 21:27:11 +00:00
|
|
|
stdlib/labs.o \
|
2013-06-24 21:52:59 +00:00
|
|
|
stdlib/ldiv.o \
|
2013-07-19 21:27:11 +00:00
|
|
|
stdlib/llabs.o \
|
2013-06-24 21:52:59 +00:00
|
|
|
stdlib/lldiv.o \
|
2013-10-22 22:40:10 +00:00
|
|
|
stdlib/malloc.o \
|
2013-06-24 21:52:59 +00:00
|
|
|
stdlib/mblen.o \
|
|
|
|
stdlib/mbstowcs.o \
|
|
|
|
stdlib/mbtowc.o \
|
|
|
|
stdlib/qsort.o \
|
2014-03-09 15:08:01 +00:00
|
|
|
stdlib/qsort_r.o \
|
2014-06-20 16:48:50 +00:00
|
|
|
stdlib/reallocarray.o \
|
2013-10-22 22:40:10 +00:00
|
|
|
stdlib/realloc.o \
|
2013-06-24 21:52:59 +00:00
|
|
|
stdlib/strtod.o \
|
|
|
|
stdlib/strtof.o \
|
|
|
|
stdlib/strtold.o \
|
2013-07-18 22:24:37 +00:00
|
|
|
stdlib/strtoll.o \
|
|
|
|
stdlib/strtol.o \
|
|
|
|
stdlib/strtoull.o \
|
|
|
|
stdlib/strtoul.o \
|
2013-06-24 21:52:59 +00:00
|
|
|
stdlib/wcstombs.o \
|
|
|
|
stdlib/wctomb.o \
|
2014-06-20 16:29:15 +00:00
|
|
|
string/explicit_bzero.o \
|
2013-07-12 12:23:26 +00:00
|
|
|
string/ffsll.o \
|
|
|
|
string/ffsl.o \
|
|
|
|
string/ffs.o \
|
2013-06-12 11:35:22 +00:00
|
|
|
string/memccpy.o \
|
|
|
|
string/memchr.o \
|
|
|
|
string/memcmp.o \
|
|
|
|
string/memcpy.o \
|
|
|
|
string/memmove.o \
|
2014-06-14 14:11:37 +00:00
|
|
|
string/memrchr.o \
|
2013-06-12 11:35:22 +00:00
|
|
|
string/memset.o \
|
|
|
|
string/stpcpy.o \
|
|
|
|
string/stpncpy.o \
|
|
|
|
string/strcasecmp.o \
|
|
|
|
string/strcat.o \
|
|
|
|
string/strchrnul.o \
|
|
|
|
string/strchr.o \
|
|
|
|
string/strcmp.o \
|
2013-07-11 18:25:46 +00:00
|
|
|
string/strcoll_l.o \
|
2013-06-12 11:35:22 +00:00
|
|
|
string/strcoll.o \
|
|
|
|
string/strcpy.o \
|
|
|
|
string/strcspn.o \
|
|
|
|
string/strdup.o \
|
2013-07-11 20:33:54 +00:00
|
|
|
string/strerror_l.o \
|
2013-06-12 11:35:22 +00:00
|
|
|
string/strerror.o \
|
2013-07-11 20:33:54 +00:00
|
|
|
string/strerror_r.o \
|
2014-07-10 13:24:25 +00:00
|
|
|
string/stresep.o \
|
2013-07-11 21:13:19 +00:00
|
|
|
string/strlcat.o \
|
2013-07-11 20:22:21 +00:00
|
|
|
string/strlcpy.o \
|
2013-06-12 11:35:22 +00:00
|
|
|
string/strlen.o \
|
|
|
|
string/strncasecmp.o \
|
|
|
|
string/strncat.o \
|
|
|
|
string/strncmp.o \
|
|
|
|
string/strncpy.o \
|
|
|
|
string/strndup.o \
|
|
|
|
string/strnlen.o \
|
|
|
|
string/strpbrk.o \
|
|
|
|
string/strrchr.o \
|
2014-07-09 21:44:10 +00:00
|
|
|
string/strsep.o \
|
2013-06-12 11:35:22 +00:00
|
|
|
string/strsignal.o \
|
|
|
|
string/strspn.o \
|
|
|
|
string/strstr.o \
|
|
|
|
string/strtok.o \
|
|
|
|
string/strtok_r.o \
|
2013-06-24 17:11:46 +00:00
|
|
|
string/strverscmp.o \
|
2013-07-11 18:29:11 +00:00
|
|
|
string/strxfrm_l.o \
|
2013-06-12 11:35:22 +00:00
|
|
|
string/strxfrm.o \
|
2014-06-20 16:20:34 +00:00
|
|
|
string/timingsafe_memcmp.o \
|
2016-01-23 19:56:07 +00:00
|
|
|
termios/cfgetispeed.o \
|
|
|
|
termios/cfgetospeed.o \
|
|
|
|
termios/cfsetispeed.o \
|
|
|
|
termios/cfsetospeed.o \
|
2013-03-22 00:09:03 +00:00
|
|
|
time/asctime.o \
|
|
|
|
time/asctime_r.o \
|
2013-05-15 17:09:37 +00:00
|
|
|
time/gmtime.o \
|
|
|
|
time/gmtime_r.o \
|
2013-03-23 01:41:28 +00:00
|
|
|
time/mktime.o \
|
2013-06-25 13:27:48 +00:00
|
|
|
timespec/timespec.o \
|
2013-07-19 23:41:18 +00:00
|
|
|
time/strftime_l.o \
|
2013-03-21 23:13:30 +00:00
|
|
|
time/strftime.o \
|
2013-03-23 01:41:28 +00:00
|
|
|
time/timegm.o \
|
2014-11-24 16:08:58 +00:00
|
|
|
ubsan/ubsan.o \
|
2014-05-03 19:34:35 +00:00
|
|
|
wchar/btowc.o \
|
2013-06-12 13:11:15 +00:00
|
|
|
wchar/mbrlen.o \
|
|
|
|
wchar/mbrtowc.o \
|
2014-04-17 15:41:37 +00:00
|
|
|
wchar/mbsinit.o \
|
|
|
|
wchar/mbsnrtowcs.o \
|
2013-06-12 13:11:15 +00:00
|
|
|
wchar/mbsrtowcs.o \
|
2014-05-28 18:08:57 +00:00
|
|
|
wchar/wcpcpy.o \
|
2014-05-28 18:13:36 +00:00
|
|
|
wchar/wcpncpy.o \
|
2013-06-12 13:11:15 +00:00
|
|
|
wchar/wcrtomb.o \
|
2014-05-28 18:49:27 +00:00
|
|
|
wchar/wcscasecmp.o \
|
2013-06-12 13:11:15 +00:00
|
|
|
wchar/wcscat.o \
|
|
|
|
wchar/wcschrnul.o \
|
|
|
|
wchar/wcschr.o \
|
|
|
|
wchar/wcscmp.o \
|
2013-07-19 20:49:25 +00:00
|
|
|
wchar/wcscoll.o \
|
2013-06-12 13:11:15 +00:00
|
|
|
wchar/wcscpy.o \
|
|
|
|
wchar/wcscspn.o \
|
2014-05-28 18:53:57 +00:00
|
|
|
wchar/wcsdup.o \
|
2014-05-28 17:51:30 +00:00
|
|
|
wchar/wcsftime.o \
|
2014-05-28 20:17:13 +00:00
|
|
|
wchar/wcslcat.o \
|
|
|
|
wchar/wcslcpy.o \
|
2013-06-12 13:11:15 +00:00
|
|
|
wchar/wcslen.o \
|
2014-05-28 18:56:53 +00:00
|
|
|
wchar/wcsncasecmp.o \
|
2013-06-12 13:11:15 +00:00
|
|
|
wchar/wcsncat.o \
|
2013-09-15 22:06:27 +00:00
|
|
|
wchar/wcsncmp.o \
|
2013-06-12 13:11:15 +00:00
|
|
|
wchar/wcsncpy.o \
|
2014-05-28 19:00:37 +00:00
|
|
|
wchar/wcsnlen.o \
|
2014-04-17 15:41:37 +00:00
|
|
|
wchar/wcsnrtombs.o \
|
2013-09-15 22:20:30 +00:00
|
|
|
wchar/wcspbrk.o \
|
2013-06-12 13:11:15 +00:00
|
|
|
wchar/wcsrchr.o \
|
|
|
|
wchar/wcsrtombs.o \
|
|
|
|
wchar/wcsspn.o \
|
2013-09-16 12:41:16 +00:00
|
|
|
wchar/wcsstr.o \
|
2014-05-28 16:26:30 +00:00
|
|
|
wchar/wcstod.o \
|
|
|
|
wchar/wcstof.o \
|
2013-06-12 13:11:15 +00:00
|
|
|
wchar/wcstok.o \
|
2014-05-28 16:26:30 +00:00
|
|
|
wchar/wcstold.o \
|
2013-07-19 20:36:11 +00:00
|
|
|
wchar/wcstoll.o \
|
|
|
|
wchar/wcstol.o \
|
|
|
|
wchar/wcstoull.o \
|
|
|
|
wchar/wcstoul.o \
|
2014-03-05 01:39:46 +00:00
|
|
|
wchar/wcswidth.o \
|
2013-09-15 22:14:06 +00:00
|
|
|
wchar/wcsxfrm.o \
|
2014-05-03 19:34:35 +00:00
|
|
|
wchar/wctob.o \
|
2014-03-05 01:39:46 +00:00
|
|
|
wchar/wcwidth.o \
|
2013-09-16 13:05:52 +00:00
|
|
|
wchar/wmemchr.o \
|
2013-09-15 22:01:19 +00:00
|
|
|
wchar/wmemcmp.o \
|
2013-09-16 13:12:30 +00:00
|
|
|
wchar/wmemcpy.o \
|
2013-09-16 13:37:27 +00:00
|
|
|
wchar/wmemmove.o \
|
2013-09-16 13:46:08 +00:00
|
|
|
wchar/wmemset.o \
|
2014-01-07 20:53:02 +00:00
|
|
|
wctype/iswalnum.o \
|
|
|
|
wctype/iswalpha.o \
|
|
|
|
wctype/iswblank.o \
|
|
|
|
wctype/iswcntrl.o \
|
|
|
|
wctype/iswctype.o \
|
|
|
|
wctype/iswdigit.o \
|
|
|
|
wctype/iswgraph.o \
|
|
|
|
wctype/iswlower.o \
|
|
|
|
wctype/iswprint.o \
|
|
|
|
wctype/iswpunct.o \
|
|
|
|
wctype/iswspace.o \
|
|
|
|
wctype/iswupper.o \
|
|
|
|
wctype/iswxdigit.o \
|
|
|
|
wctype/towlower.o \
|
|
|
|
wctype/towupper.o \
|
2013-06-24 22:02:01 +00:00
|
|
|
wctype/wctype.o \
|
2012-09-21 21:57:47 +00:00
|
|
|
|
|
|
|
HOSTEDOBJS=\
|
2013-03-19 21:40:37 +00:00
|
|
|
arpa/inet/inet_addr.o \
|
|
|
|
arpa/inet/inet_ntoa.o \
|
|
|
|
arpa/inet/inet_ntop.o \
|
|
|
|
arpa/inet/inet_pton.o \
|
2015-01-19 19:59:09 +00:00
|
|
|
blf/blowfish.o \
|
2012-09-21 21:57:47 +00:00
|
|
|
$(CPUDIR)/fork.o \
|
2013-03-31 13:00:12 +00:00
|
|
|
$(CPUDIR)/setjmp.o \
|
2013-01-12 18:48:27 +00:00
|
|
|
$(CPUDIR)/syscall.o \
|
2015-11-20 01:57:09 +00:00
|
|
|
dirent/closedir.o \
|
2014-03-26 22:55:27 +00:00
|
|
|
dirent/dscandir_r.o \
|
2014-01-03 18:33:12 +00:00
|
|
|
dirent/fdopendir.o \
|
|
|
|
dirent/opendir.o \
|
2015-11-20 01:57:09 +00:00
|
|
|
dirent/readdir.o \
|
|
|
|
dirent/rewinddir.o \
|
2013-06-21 22:12:10 +00:00
|
|
|
dirent/scandir.o \
|
2013-06-25 11:33:21 +00:00
|
|
|
dlfcn/dlfcn.o \
|
2015-06-10 21:12:59 +00:00
|
|
|
err/err.o \
|
2016-11-06 21:31:52 +00:00
|
|
|
err/errc.o \
|
2015-06-10 21:12:59 +00:00
|
|
|
err/errx.o \
|
2013-07-19 14:04:32 +00:00
|
|
|
error/gnu_error.o \
|
2015-06-10 21:12:59 +00:00
|
|
|
err/verr.o \
|
2016-11-06 21:31:52 +00:00
|
|
|
err/verrc.o \
|
2015-06-10 21:12:59 +00:00
|
|
|
err/verrx.o \
|
|
|
|
err/vwarn.o \
|
2016-11-06 21:31:52 +00:00
|
|
|
err/vwarnc.o \
|
2015-06-10 21:12:59 +00:00
|
|
|
err/vwarnx.o \
|
|
|
|
err/warn.o \
|
2016-11-06 21:31:52 +00:00
|
|
|
err/warnc.o \
|
2015-06-10 21:12:59 +00:00
|
|
|
err/warnx.o \
|
2013-06-24 22:17:49 +00:00
|
|
|
fcntl/creat.o \
|
|
|
|
fcntl/fcntl.o \
|
|
|
|
fcntl/openat.o \
|
|
|
|
fcntl/open.o \
|
2013-06-24 21:24:18 +00:00
|
|
|
fsmarshall/fsm_fsbind.o \
|
2014-05-07 12:14:38 +00:00
|
|
|
fsmarshall/fsm_mountat.o \
|
2015-09-21 21:56:37 +00:00
|
|
|
fstab/endfsent.o \
|
|
|
|
fstab/getfsent.o \
|
|
|
|
fstab/getfsfile.o \
|
|
|
|
fstab/getfsspec.o \
|
|
|
|
fstab/scanfsent.o \
|
|
|
|
fstab/setfsent.o \
|
2013-07-26 15:22:57 +00:00
|
|
|
getopt/getopt_long.o \
|
|
|
|
getopt/getopt.o \
|
2013-10-01 20:23:50 +00:00
|
|
|
grp/endgrent.o \
|
|
|
|
grp/fgetgrent.o \
|
|
|
|
grp/fgetgrent_r.o \
|
|
|
|
grp/getgrent.o \
|
|
|
|
grp/getgrent_r.o \
|
|
|
|
grp/getgrgid.o \
|
|
|
|
grp/getgrgid_r.o \
|
|
|
|
grp/getgrnam.o \
|
|
|
|
grp/getgrnam_r.o \
|
|
|
|
grp/opengr.o \
|
|
|
|
grp/setgrent.o \
|
2013-06-25 12:06:10 +00:00
|
|
|
init/init.o \
|
2013-09-25 21:40:27 +00:00
|
|
|
ioleast/preadall.o \
|
|
|
|
ioleast/preadleast.o \
|
|
|
|
ioleast/pwriteall.o \
|
|
|
|
ioleast/pwriteleast.o \
|
|
|
|
ioleast/readall.o \
|
|
|
|
ioleast/readleast.o \
|
|
|
|
ioleast/writeall.o \
|
|
|
|
ioleast/writeleast.o \
|
2016-09-27 23:32:13 +00:00
|
|
|
langinfo/nl_langinfo_l.o \
|
|
|
|
langinfo/nl_langinfo.o \
|
2013-06-24 22:20:58 +00:00
|
|
|
locale/localeconv.o \
|
|
|
|
locale/setlocale.o \
|
2013-09-14 18:05:17 +00:00
|
|
|
msr/rdmsr.o \
|
|
|
|
msr/wrmsr.o \
|
2013-03-19 21:40:37 +00:00
|
|
|
netdb/endnetent.o \
|
|
|
|
netdb/endprotoent.o \
|
|
|
|
netdb/endservent.o \
|
|
|
|
netdb/freeaddrinfo.o \
|
|
|
|
netdb/gai_strerror.o \
|
|
|
|
netdb/getaddrinfo.o \
|
|
|
|
netdb/getnameinfo.o \
|
|
|
|
netdb/getnetbyaddr.o \
|
|
|
|
netdb/getnetbyname.o \
|
|
|
|
netdb/getnetent.o \
|
|
|
|
netdb/getprotobyname.o \
|
|
|
|
netdb/getprotobynumber.o \
|
|
|
|
netdb/getprotoent.o \
|
|
|
|
netdb/getservbyname.o \
|
|
|
|
netdb/getservbyport.o \
|
|
|
|
netdb/getservent.o \
|
|
|
|
netdb/setnetent.o \
|
|
|
|
netdb/setprotoent.o \
|
|
|
|
netdb/setservent.o \
|
2013-06-24 22:22:24 +00:00
|
|
|
poll/poll.o \
|
|
|
|
poll/ppoll.o \
|
2015-07-30 23:20:39 +00:00
|
|
|
psctl/psctl.o \
|
2016-02-28 12:03:24 +00:00
|
|
|
pthread/pthread_attr_destroy.o \
|
|
|
|
pthread/pthread_attr_getdetachstate.o \
|
|
|
|
pthread/pthread_attr_getstacksize.o \
|
|
|
|
pthread/pthread_attr_init.o \
|
|
|
|
pthread/pthread_attr_setdetachstate.o \
|
|
|
|
pthread/pthread_attr_setstacksize.o \
|
|
|
|
pthread/pthread_condattr_destroy.o \
|
|
|
|
pthread/pthread_condattr_getclock.o \
|
|
|
|
pthread/pthread_condattr_init.o \
|
|
|
|
pthread/pthread_condattr_setclock.o \
|
|
|
|
pthread/pthread_cond_broadcast.o \
|
|
|
|
pthread/pthread_cond_destroy.o \
|
|
|
|
pthread/pthread_cond_init.o \
|
|
|
|
pthread/pthread_cond_signal.o \
|
|
|
|
pthread/pthread_cond_timedwait.o \
|
|
|
|
pthread/pthread_cond_wait.o \
|
|
|
|
pthread/pthread_create.o \
|
|
|
|
pthread/pthread_detach.o \
|
|
|
|
pthread/pthread_equal.o \
|
|
|
|
pthread/pthread_exit.o \
|
|
|
|
pthread/pthread_getspecific.o \
|
|
|
|
pthread/pthread_join.o \
|
|
|
|
pthread/pthread_key_create.o \
|
|
|
|
pthread/pthread_key_delete.o \
|
|
|
|
pthread/pthread_keys.o \
|
|
|
|
pthread/pthread_mutexattr_destroy.o \
|
|
|
|
pthread/pthread_mutexattr_gettype.o \
|
|
|
|
pthread/pthread_mutexattr_init.o \
|
|
|
|
pthread/pthread_mutexattr_settype.o \
|
|
|
|
pthread/pthread_mutex_destroy.o \
|
|
|
|
pthread/pthread_mutex_init.o \
|
|
|
|
pthread/pthread_mutex_lock.o \
|
|
|
|
pthread/pthread_mutex_trylock.o \
|
|
|
|
pthread/pthread_mutex_unlock.o \
|
|
|
|
pthread/pthread_once.o \
|
|
|
|
pthread/pthread_rwlock_destroy.o \
|
|
|
|
pthread/pthread_rwlock_init.o \
|
|
|
|
pthread/pthread_rwlock_rdlock.o \
|
|
|
|
pthread/pthread_rwlock_tryrdlock.o \
|
|
|
|
pthread/pthread_rwlock_trywrlock.o \
|
|
|
|
pthread/pthread_rwlock_unlock.o \
|
|
|
|
pthread/pthread_rwlock_wrlock.o \
|
|
|
|
pthread/pthread_self.o \
|
|
|
|
pthread/pthread_setspecific.o \
|
2015-01-19 19:59:09 +00:00
|
|
|
pwd/bcrypt_newhash.o \
|
2013-10-01 18:21:50 +00:00
|
|
|
pwd/endpwent.o \
|
|
|
|
pwd/fgetpwent.o \
|
|
|
|
pwd/fgetpwent_r.o \
|
|
|
|
pwd/getpwent.o \
|
|
|
|
pwd/getpwent_r.o \
|
|
|
|
pwd/getpwnam.o \
|
|
|
|
pwd/getpwnam_r.o \
|
|
|
|
pwd/getpwuid.o \
|
|
|
|
pwd/getpwuid_r.o \
|
|
|
|
pwd/openpw.o \
|
|
|
|
pwd/setpwent.o \
|
2013-09-16 19:16:35 +00:00
|
|
|
sched/sched_yield.o \
|
2016-11-18 17:39:55 +00:00
|
|
|
pty/openpty.o \
|
2015-10-27 16:34:54 +00:00
|
|
|
scram/scram.o \
|
2016-02-28 12:03:24 +00:00
|
|
|
semaphore/sem_destroy.o \
|
|
|
|
semaphore/sem_getvalue.o \
|
|
|
|
semaphore/sem_init.o \
|
|
|
|
semaphore/sem_post.o \
|
|
|
|
semaphore/sem_timedwait.o \
|
|
|
|
semaphore/sem_trywait.o \
|
|
|
|
semaphore/sem_wait.o \
|
2013-06-24 22:37:42 +00:00
|
|
|
signal/kill.o \
|
2013-07-11 21:22:53 +00:00
|
|
|
signal/killpg.o \
|
2013-08-04 18:24:59 +00:00
|
|
|
signal/psiginfo.o \
|
2013-06-24 22:37:42 +00:00
|
|
|
signal/psignal.o \
|
2016-02-28 12:03:24 +00:00
|
|
|
signal/pthread_sigmask.o \
|
2013-06-24 22:37:42 +00:00
|
|
|
signal/raise.o \
|
|
|
|
signal/sigaction.o \
|
2013-08-04 18:24:59 +00:00
|
|
|
signal/sigaltstack.o \
|
2013-06-24 22:37:42 +00:00
|
|
|
signal/signal.o \
|
2013-08-04 18:24:59 +00:00
|
|
|
signal/sigpending.o \
|
2013-06-24 22:37:42 +00:00
|
|
|
signal/sigprocmask.o \
|
2013-08-04 18:24:59 +00:00
|
|
|
signal/sigsuspend.o \
|
2015-11-20 22:54:30 +00:00
|
|
|
stdio/fdio_close.o \
|
2014-02-27 19:57:14 +00:00
|
|
|
stdio/fdio_install_fd.o \
|
|
|
|
stdio/fdio_install_path.o \
|
2015-11-20 22:54:30 +00:00
|
|
|
stdio/fdio_read.o \
|
|
|
|
stdio/fdio_seek.o \
|
|
|
|
stdio/fdio_write.o \
|
2014-02-27 19:57:14 +00:00
|
|
|
stdio/fdopen.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fgetpos.o \
|
|
|
|
stdio/fileno.o \
|
2014-02-27 19:57:14 +00:00
|
|
|
stdio/fopen.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/fpipe.o \
|
2013-07-20 11:35:19 +00:00
|
|
|
stdio/fprintf.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/freopen.o \
|
|
|
|
stdio/fsetpos.o \
|
2014-02-27 19:57:14 +00:00
|
|
|
stdio/getchar.o \
|
|
|
|
stdio/getchar_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/getc.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/getc_unlocked.o \
|
2013-07-19 14:04:32 +00:00
|
|
|
stdio/perror.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/popen.o \
|
2013-07-20 11:35:19 +00:00
|
|
|
stdio/printf.o \
|
2014-02-27 19:57:14 +00:00
|
|
|
stdio/putchar.o \
|
|
|
|
stdio/putchar_unlocked.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/putc.o \
|
2013-08-31 23:42:02 +00:00
|
|
|
stdio/putc_unlocked.o \
|
2014-02-27 19:57:14 +00:00
|
|
|
stdio/puts.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/removeat.o \
|
|
|
|
stdio/remove.o \
|
|
|
|
stdio/renameat.o \
|
|
|
|
stdio/rename.o \
|
|
|
|
stdio/scanf.o \
|
2015-11-20 20:52:32 +00:00
|
|
|
stdio/stderr.o \
|
|
|
|
stdio/stdin.o \
|
|
|
|
stdio/stdout.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/tmpfile.o \
|
2013-07-20 11:35:19 +00:00
|
|
|
stdio/vfprintf.o \
|
|
|
|
stdio/vprintf.o \
|
2013-06-25 11:58:12 +00:00
|
|
|
stdio/vscanf.o \
|
2013-10-21 18:11:34 +00:00
|
|
|
stdlib/atexit.o \
|
2013-06-24 21:52:59 +00:00
|
|
|
stdlib/canonicalize_file_name_at.o \
|
|
|
|
stdlib/canonicalize_file_name.o \
|
2014-01-17 00:14:29 +00:00
|
|
|
stdlib/clearenv.o \
|
2013-06-24 21:52:59 +00:00
|
|
|
stdlib/_Exit.o \
|
|
|
|
stdlib/exit.o \
|
2014-01-17 00:14:29 +00:00
|
|
|
stdlib/getenv.o \
|
2016-11-19 20:04:10 +00:00
|
|
|
stdlib/grantpt.o \
|
2015-02-06 15:18:36 +00:00
|
|
|
stdlib/mkdtemp.o \
|
2015-06-02 11:33:32 +00:00
|
|
|
stdlib/mkdtemps.o \
|
2015-02-06 15:03:24 +00:00
|
|
|
stdlib/mkostemp.o \
|
|
|
|
stdlib/mkostemps.o \
|
2013-09-18 18:07:30 +00:00
|
|
|
stdlib/mkstemp.o \
|
2015-02-06 15:03:24 +00:00
|
|
|
stdlib/mkstemps.o \
|
2013-06-24 21:52:59 +00:00
|
|
|
stdlib/on_exit.o \
|
2016-11-19 19:45:53 +00:00
|
|
|
stdlib/posix_openpt.o \
|
2016-11-19 20:22:29 +00:00
|
|
|
stdlib/ptsname.o \
|
2016-11-19 20:38:20 +00:00
|
|
|
stdlib/ptsname_r.o \
|
2013-06-24 21:52:59 +00:00
|
|
|
stdlib/rand.o \
|
|
|
|
stdlib/realpath.o \
|
2014-01-17 00:14:29 +00:00
|
|
|
stdlib/setenv.o \
|
2013-06-24 21:52:59 +00:00
|
|
|
stdlib/system.o \
|
2016-11-19 20:15:29 +00:00
|
|
|
stdlib/unlockpt.o \
|
2014-01-17 00:14:29 +00:00
|
|
|
stdlib/unsetenv.o \
|
2013-06-25 10:49:10 +00:00
|
|
|
sys/display/dispmsg_issue.o \
|
2013-06-25 11:41:05 +00:00
|
|
|
sys/ioctl/ioctl.o \
|
2013-06-25 11:37:11 +00:00
|
|
|
sys/kernelinfo/kernelinfo.o \
|
2014-01-19 21:31:01 +00:00
|
|
|
syslog/closelog.o \
|
|
|
|
syslog/connectlog.o \
|
|
|
|
syslog/openlog.o \
|
|
|
|
syslog/setlogmask.o \
|
|
|
|
syslog/syslog.o \
|
|
|
|
syslog/vsyslog.o \
|
2013-08-19 19:03:07 +00:00
|
|
|
sys/mman/mmap.o \
|
|
|
|
sys/mman/mprotect.o \
|
|
|
|
sys/mman/munmap.o \
|
2014-05-07 12:14:38 +00:00
|
|
|
sys/mount/unmountat.o \
|
|
|
|
sys/mount/unmount.o \
|
2013-06-25 11:43:02 +00:00
|
|
|
sys/readdirents/readdirents.o \
|
2013-08-30 15:35:30 +00:00
|
|
|
sys/resource/getpriority.o \
|
2013-08-30 22:12:03 +00:00
|
|
|
sys/resource/getrlimit.o \
|
2013-08-30 23:17:43 +00:00
|
|
|
sys/resource/getrusage.o \
|
2013-08-30 21:55:09 +00:00
|
|
|
sys/resource/prlimit.o \
|
2013-08-30 15:35:30 +00:00
|
|
|
sys/resource/setpriority.o \
|
2013-08-30 22:12:03 +00:00
|
|
|
sys/resource/setrlimit.o \
|
2013-06-25 11:01:37 +00:00
|
|
|
sys/select/select.o \
|
2013-03-19 21:40:37 +00:00
|
|
|
sys/socket/accept4.o \
|
|
|
|
sys/socket/accept.o \
|
|
|
|
sys/socket/bind.o \
|
|
|
|
sys/socket/connect.o \
|
|
|
|
sys/socket/getpeername.o \
|
|
|
|
sys/socket/getsockname.o \
|
|
|
|
sys/socket/getsockopt.o \
|
|
|
|
sys/socket/listen.o \
|
|
|
|
sys/socket/recvfrom.o \
|
|
|
|
sys/socket/recvmsg.o \
|
|
|
|
sys/socket/recv.o \
|
|
|
|
sys/socket/sendmsg.o \
|
|
|
|
sys/socket/send.o \
|
|
|
|
sys/socket/sendto.o \
|
|
|
|
sys/socket/setsockopt.o \
|
|
|
|
sys/socket/shutdown.o \
|
|
|
|
sys/socket/sockatmark.o \
|
|
|
|
sys/socket/socket.o \
|
|
|
|
sys/socket/socketpair.o \
|
2013-10-04 18:31:57 +00:00
|
|
|
sys/stat/chmod.o \
|
|
|
|
sys/stat/fchmodat.o \
|
|
|
|
sys/stat/fchmod.o \
|
|
|
|
sys/stat/fstatat.o \
|
|
|
|
sys/stat/fstat.o \
|
|
|
|
sys/stat/futimens.o \
|
2014-01-19 21:45:49 +00:00
|
|
|
sys/stat/getumask.o \
|
2013-10-04 18:31:57 +00:00
|
|
|
sys/stat/lstat.o \
|
|
|
|
sys/stat/mkdirat.o \
|
|
|
|
sys/stat/mkdir.o \
|
|
|
|
sys/stat/stat.o \
|
|
|
|
sys/stat/umask.o \
|
|
|
|
sys/stat/utimensat.o \
|
|
|
|
sys/stat/utimens.o \
|
2014-01-20 23:53:18 +00:00
|
|
|
sys/statvfs/fstatvfsat.o \
|
|
|
|
sys/statvfs/fstatvfs.o \
|
|
|
|
sys/statvfs/statvfs.o \
|
2013-06-25 10:45:17 +00:00
|
|
|
sys/termmode/gettermmode.o \
|
|
|
|
sys/termmode/settermmode.o \
|
2013-05-12 20:10:34 +00:00
|
|
|
sys/time/gettimeofday.o \
|
2015-05-10 21:50:27 +00:00
|
|
|
sys/times/times.o \
|
2013-06-24 23:38:11 +00:00
|
|
|
sys/uio/preadv.o \
|
|
|
|
sys/uio/pwritev.o \
|
|
|
|
sys/uio/readv.o \
|
|
|
|
sys/uio/writev.o \
|
2014-01-07 23:34:21 +00:00
|
|
|
sys/utsname/uname.o \
|
2013-06-24 23:47:36 +00:00
|
|
|
sys/wait/wait.o \
|
|
|
|
sys/wait/waitpid.o \
|
2016-11-15 20:14:56 +00:00
|
|
|
termios/mkpty.o \
|
2016-01-23 19:56:07 +00:00
|
|
|
termios/tcdrain.o \
|
|
|
|
termios/tcflow.o \
|
|
|
|
termios/tcflush.o \
|
|
|
|
termios/tcgetattr.o \
|
2014-05-05 19:36:40 +00:00
|
|
|
termios/tcgetblob.o \
|
2016-01-23 19:56:07 +00:00
|
|
|
termios/tcgetsid.o \
|
2013-12-20 20:55:05 +00:00
|
|
|
termios/tcgetwincurpos.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
termios/tcgetwinsize.o \
|
2016-01-23 19:56:07 +00:00
|
|
|
termios/tcsendbreak.o \
|
|
|
|
termios/tcsetattr.o \
|
2014-05-05 19:36:40 +00:00
|
|
|
termios/tcsetblob.o \
|
2013-05-12 20:10:34 +00:00
|
|
|
time/clock_getres.o \
|
|
|
|
time/clock_gettime.o \
|
|
|
|
time/clock_gettimeres.o \
|
2013-05-14 16:41:49 +00:00
|
|
|
time/clock_nanosleep.o \
|
2013-05-15 13:00:48 +00:00
|
|
|
time/clock.o \
|
2013-05-12 20:10:34 +00:00
|
|
|
time/clock_settime.o \
|
|
|
|
time/clock_settimeres.o \
|
2013-05-16 13:51:43 +00:00
|
|
|
time/ctime.o \
|
|
|
|
time/ctime_r.o \
|
2013-05-15 13:08:47 +00:00
|
|
|
time/difftime.o \
|
2013-05-16 13:51:43 +00:00
|
|
|
time/localtime.o \
|
|
|
|
time/localtime_r.o \
|
2013-05-14 16:41:49 +00:00
|
|
|
time/nanosleep.o \
|
2013-05-15 10:37:39 +00:00
|
|
|
time/timens.o \
|
2013-05-12 20:10:34 +00:00
|
|
|
time/time.o \
|
2013-10-13 21:56:58 +00:00
|
|
|
time/timer_create.o \
|
|
|
|
time/timer_delete.o \
|
|
|
|
time/timer_getoverrun.o \
|
|
|
|
time/timer_gettime.o \
|
|
|
|
time/timer_settime.o \
|
2014-02-13 21:06:10 +00:00
|
|
|
time/tzset.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/access.o \
|
|
|
|
unistd/alarmns.o \
|
|
|
|
unistd/alarm.o \
|
|
|
|
unistd/chdir.o \
|
|
|
|
unistd/chown.o \
|
|
|
|
unistd/chroot.o \
|
2015-05-13 15:48:53 +00:00
|
|
|
unistd/closefrom.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/close.o \
|
|
|
|
unistd/confstr.o \
|
2016-01-08 23:54:12 +00:00
|
|
|
unistd/crypt_newhash.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/dup2.o \
|
2013-09-23 18:41:31 +00:00
|
|
|
unistd/dup3.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/dup.o \
|
2014-01-17 00:14:29 +00:00
|
|
|
unistd/environ.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/execle.o \
|
|
|
|
unistd/execl.o \
|
2014-02-23 12:30:23 +00:00
|
|
|
unistd/execlpe.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/execlp.o \
|
|
|
|
unistd/execve.o \
|
|
|
|
unistd/execv.o \
|
|
|
|
unistd/execvpe.o \
|
|
|
|
unistd/execvp.o \
|
|
|
|
unistd/_exit.o \
|
2013-08-31 17:35:17 +00:00
|
|
|
unistd/exit_thread.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/faccessat.o \
|
|
|
|
unistd/fchdirat.o \
|
|
|
|
unistd/fchdir.o \
|
|
|
|
unistd/fchownat.o \
|
|
|
|
unistd/fchown.o \
|
|
|
|
unistd/fchrootat.o \
|
|
|
|
unistd/fchroot.o \
|
|
|
|
unistd/fork.o \
|
2014-06-27 21:00:55 +00:00
|
|
|
unistd/fpathconf.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/fsync.o \
|
|
|
|
unistd/ftruncate.o \
|
2014-09-22 22:39:18 +00:00
|
|
|
unistd/get_current_dir_name.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/getcwd.o \
|
|
|
|
unistd/getegid.o \
|
2014-07-14 21:24:43 +00:00
|
|
|
unistd/getentropy.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/geteuid.o \
|
|
|
|
unistd/getgid.o \
|
|
|
|
unistd/gethostname.o \
|
|
|
|
unistd/getlogin.o \
|
|
|
|
unistd/getlogin_r.o \
|
|
|
|
unistd/getpagesize.o \
|
|
|
|
unistd/getpgid.o \
|
|
|
|
unistd/getpid.o \
|
|
|
|
unistd/getppid.o \
|
2016-11-15 20:08:41 +00:00
|
|
|
unistd/getsid.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/getuid.o \
|
|
|
|
unistd/isatty.o \
|
|
|
|
unistd/lchown.o \
|
|
|
|
unistd/linkat.o \
|
|
|
|
unistd/link.o \
|
|
|
|
unistd/lseek.o \
|
|
|
|
unistd/memstat.o \
|
|
|
|
unistd/mkpartition.o \
|
|
|
|
unistd/pathconf.o \
|
2014-01-15 18:46:36 +00:00
|
|
|
unistd/pipe2.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/pipe.o \
|
2013-07-11 21:29:52 +00:00
|
|
|
unistd/pread.o \
|
|
|
|
unistd/pwrite.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/readlinkat.o \
|
|
|
|
unistd/readlink.o \
|
|
|
|
unistd/read.o \
|
|
|
|
unistd/rmdir.o \
|
|
|
|
unistd/setegid.o \
|
|
|
|
unistd/seteuid.o \
|
|
|
|
unistd/setgid.o \
|
2014-10-05 13:02:50 +00:00
|
|
|
unistd/sethostname.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/setpgid.o \
|
2016-11-15 20:08:41 +00:00
|
|
|
unistd/setsid.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/setuid.o \
|
|
|
|
unistd/sfork.o \
|
|
|
|
unistd/sleep.o \
|
2013-11-21 19:27:34 +00:00
|
|
|
unistd/symlinkat.o \
|
|
|
|
unistd/symlink.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/sysconf.o \
|
|
|
|
unistd/tcgetpgrp.o \
|
|
|
|
unistd/tcsetpgrp.o \
|
|
|
|
unistd/tfork.o \
|
|
|
|
unistd/truncateat.o \
|
|
|
|
unistd/truncate.o \
|
|
|
|
unistd/ttyname.o \
|
2014-01-04 21:25:42 +00:00
|
|
|
unistd/ttyname_r.o \
|
2013-06-24 23:11:51 +00:00
|
|
|
unistd/unlinkat.o \
|
|
|
|
unistd/unlink.o \
|
|
|
|
unistd/usleep.o \
|
|
|
|
unistd/write.o \
|
2013-06-25 10:52:58 +00:00
|
|
|
utime/utime.o \
|
2012-09-21 21:57:47 +00:00
|
|
|
|
|
|
|
OBJS=\
|
|
|
|
$(FREEOBJS) \
|
|
|
|
$(HOSTEDOBJS) \
|
2012-02-12 01:03:34 +00:00
|
|
|
|
2012-09-08 12:37:16 +00:00
|
|
|
CRTOBJ=\
|
2014-04-12 20:35:39 +00:00
|
|
|
crt0.o \
|
2012-09-08 12:37:16 +00:00
|
|
|
crt1.o \
|
|
|
|
crti.o \
|
|
|
|
crtn.o \
|
|
|
|
|
|
|
|
MISCOBJ=\
|
|
|
|
$(CRTOBJ) \
|
|
|
|
|
2017-02-08 21:49:10 +00:00
|
|
|
MANPAGES2=\
|
|
|
|
scram/scram.2
|
|
|
|
|
2014-06-28 14:10:20 +00:00
|
|
|
HEADERS:=$(shell find include -type f)
|
2012-02-12 01:03:34 +00:00
|
|
|
|
2014-02-13 19:26:38 +00:00
|
|
|
LIBK_OBJS:=$(FREEOBJS:.o=.libk.o)
|
2016-02-28 11:11:02 +00:00
|
|
|
LIBK_CPPFLAGS:=$(CPPFLAGS) -D__is_sortix_libk
|
2016-04-30 16:10:49 +00:00
|
|
|
LIBK_FLAGS:=$(FLAGS)
|
2014-02-13 19:26:38 +00:00
|
|
|
LIBK_CFLAGS:=$(CFLAGS)
|
|
|
|
LIBK_CXXFLAGS:=$(CXXFLAGS)
|
2013-03-19 22:28:32 +00:00
|
|
|
ifeq ($(HOST),x86_64-sortix)
|
2014-05-28 15:40:30 +00:00
|
|
|
LIBK_FLAGS:=$(LIBK_FLAGS) -mno-red-zone -mno-mmx -mno-sse -mno-sse2
|
2013-03-19 22:28:32 +00:00
|
|
|
endif
|
2011-08-05 12:25:00 +00:00
|
|
|
|
2016-02-28 12:03:24 +00:00
|
|
|
BINS=libc.a libdl.a libpthread.a librt.a $(CRTOBJ)
|
2014-02-13 19:26:38 +00:00
|
|
|
BINSKERNEL=libk.a
|
2013-03-19 22:28:32 +00:00
|
|
|
INSTALLLIBS:=$(addprefix $(DESTDIR)$(LIBDIR)/,$(BINS))
|
|
|
|
INSTALLLIBSKERNEL:=$(addprefix $(DESTDIR)$(LIBDIR)/,$(BINSKERNEL))
|
2012-09-08 12:37:16 +00:00
|
|
|
|
2013-03-19 22:28:32 +00:00
|
|
|
all: libs libs-kernel
|
2011-08-05 12:25:00 +00:00
|
|
|
|
2013-03-19 22:28:32 +00:00
|
|
|
libs: $(BINS)
|
|
|
|
|
|
|
|
libs-kernel: $(BINSKERNEL)
|
|
|
|
|
|
|
|
.PHONY: all libs headers clean install install-include-dirs install-headers \
|
2017-02-08 21:49:10 +00:00
|
|
|
install-lib-dirs install-libs install-man libs-kernel
|
2013-03-19 22:28:32 +00:00
|
|
|
|
|
|
|
FORCE:
|
2012-09-10 19:45:38 +00:00
|
|
|
|
2012-09-23 12:04:53 +00:00
|
|
|
libc.a: $(OBJS)
|
2015-05-10 14:56:22 +00:00
|
|
|
$(AR) rcs $@ $(OBJS)
|
2011-08-05 12:25:00 +00:00
|
|
|
|
2014-01-14 23:14:27 +00:00
|
|
|
libdl.a:
|
2015-05-10 14:56:22 +00:00
|
|
|
$(AR) rcs $@
|
2014-01-14 23:14:27 +00:00
|
|
|
|
2014-02-13 19:26:38 +00:00
|
|
|
libk.a: $(LIBK_OBJS)
|
2015-05-10 14:56:22 +00:00
|
|
|
$(AR) rcs $@ $(LIBK_OBJS)
|
2014-02-13 19:26:38 +00:00
|
|
|
|
2016-02-28 12:03:24 +00:00
|
|
|
libpthread.a:
|
|
|
|
$(AR) rcs $@
|
|
|
|
|
2014-01-14 23:14:27 +00:00
|
|
|
librt.a:
|
2015-05-10 14:56:22 +00:00
|
|
|
$(AR) rcs $@
|
2014-01-14 23:14:27 +00:00
|
|
|
|
2014-04-12 20:35:39 +00:00
|
|
|
crt0.o: $(CPUDIR)/crt0.o
|
2012-09-08 12:37:16 +00:00
|
|
|
ln -f $< $@
|
|
|
|
|
2014-04-12 20:35:39 +00:00
|
|
|
crt1.o: crt0.o
|
|
|
|
cp $< $@
|
|
|
|
|
2012-09-10 21:36:15 +00:00
|
|
|
crti.o: $(CPUDIR)/crti.o
|
2012-09-08 12:37:16 +00:00
|
|
|
ln -f $< $@
|
|
|
|
|
2012-09-10 21:36:15 +00:00
|
|
|
crtn.o: $(CPUDIR)/crtn.o
|
2012-09-08 12:37:16 +00:00
|
|
|
ln -f $< $@
|
2011-09-15 20:19:04 +00:00
|
|
|
|
2012-02-12 01:03:34 +00:00
|
|
|
# header preprocessing
|
2014-02-13 19:26:38 +00:00
|
|
|
$(OBJS) $(LIBK_OBJS): $(HEADERS)
|
2013-03-19 22:28:32 +00:00
|
|
|
|
2013-12-27 00:44:03 +00:00
|
|
|
headers:
|
2011-08-05 12:25:00 +00:00
|
|
|
|
2012-02-12 01:03:34 +00:00
|
|
|
# standard library
|
2013-03-19 22:28:32 +00:00
|
|
|
%.o: %.c
|
2015-05-10 14:56:22 +00:00
|
|
|
$(CC) -c $< -o $@ $(CPPFLAGS) $(FLAGS) $(CFLAGS)
|
2011-08-05 12:25:00 +00:00
|
|
|
|
2016-02-28 11:11:02 +00:00
|
|
|
%.o: %.c++
|
2015-05-10 14:56:22 +00:00
|
|
|
$(CXX) -c $< -o $@ $(CPPFLAGS) $(FLAGS) $(CXXFLAGS)
|
2011-08-05 12:25:00 +00:00
|
|
|
|
2013-12-28 20:00:15 +00:00
|
|
|
%.o: %.S
|
2016-02-28 11:11:02 +00:00
|
|
|
$(CC) -c $< -o $@ $(CPPFLAGS) $(FLAGS) $(CFLAGS)
|
2011-08-05 12:25:00 +00:00
|
|
|
|
2014-02-13 19:26:38 +00:00
|
|
|
# libk
|
|
|
|
%.libk.o: %.c
|
2015-05-10 14:56:22 +00:00
|
|
|
$(CC) -c $< -o $@ $(LIBK_CPPFLAGS) $(LIBK_FLAGS) $(LIBK_CFLAGS)
|
2011-08-05 12:25:00 +00:00
|
|
|
|
2016-02-28 11:11:02 +00:00
|
|
|
%.libk.o: %.c++
|
2015-05-10 14:56:22 +00:00
|
|
|
$(CXX) -c $< -o $@ $(LIBK_CPPFLAGS) $(LIBK_FLAGS) $(LIBK_CXXFLAGS)
|
2011-08-05 12:25:00 +00:00
|
|
|
|
2014-06-28 14:10:20 +00:00
|
|
|
%.libk.o: %.S
|
2015-05-10 14:56:22 +00:00
|
|
|
$(CC) -c $< -o $@ $(LIBK_CPPFLAGS) $(LIBK_FLAGS) $(LIBK_CFLAGS)
|
2014-06-28 14:10:20 +00:00
|
|
|
|
2011-08-05 12:25:00 +00:00
|
|
|
clean:
|
2014-06-28 14:10:20 +00:00
|
|
|
rm -f *.o */*.o */*/*.o *.a
|
2011-08-05 12:25:00 +00:00
|
|
|
|
2011-09-15 20:38:40 +00:00
|
|
|
# Installation into sysroot
|
2017-02-08 21:49:10 +00:00
|
|
|
install: install-headers install-libs install-libs-kernel install-man
|
2013-03-19 22:28:32 +00:00
|
|
|
|
2013-12-27 00:44:03 +00:00
|
|
|
$(DESTDIR)$(LIBDIR):
|
2013-03-19 22:28:32 +00:00
|
|
|
mkdir -p $@
|
|
|
|
|
|
|
|
$(DESTDIR)$(LIBDIR)/%: %
|
|
|
|
cp -P $< $@
|
|
|
|
|
|
|
|
$(INSTALLLIBS): | $(DESTDIR)$(LIBDIR)
|
|
|
|
|
|
|
|
$(INSTALLLIBSKERNEL): | $(DESTDIR)$(LIBDIR)
|
|
|
|
|
2013-12-27 00:44:03 +00:00
|
|
|
install-include-dirs: headers
|
|
|
|
mkdir -p $(DESTDIR)$(INCLUDEDIR)
|
2013-03-19 22:28:32 +00:00
|
|
|
|
2013-12-27 00:44:03 +00:00
|
|
|
install-headers: install-include-dirs headers
|
|
|
|
cp -RTv include $(DESTDIR)$(INCLUDEDIR)
|
2013-03-19 22:28:32 +00:00
|
|
|
|
|
|
|
install-lib-dirs: $(DESTDIR)$(LIBDIR)
|
|
|
|
|
|
|
|
install-libs: $(INSTALLLIBS)
|
|
|
|
|
|
|
|
install-libs-kernel: $(INSTALLLIBSKERNEL)
|
2017-02-08 21:49:10 +00:00
|
|
|
|
|
|
|
install-man:
|
|
|
|
mkdir -p $(DESTDIR)$(MANDIR)/man2
|
|
|
|
cp $(MANPAGES2) $(DESTDIR)$(MANDIR)/man2
|