$(compile.m)
libc-a-y+=$(INET_OBJS)
-libc-a-pic-y+=$(INET_OBJS:.o=.os)
libc-so-y+=$(INET_OBJS:.o=.os)
CFLAGS-multi-y+=$(INET_DEF)
INET_RPC_OBJ:=$(patsubst %.c,$(INET_RPC_OUT)/%.o,$(CSRC))
libc-a-$(UCLIBC_HAS_RPC)+=$(INET_RPC_OBJ)
-libc-a-pic-$(UCLIBC_HAS_RPC)+=$(INET_RPC_OBJ:.o=.os)
libc-so-$(UCLIBC_HAS_RPC)+=$(INET_RPC_OBJ:.o=.os)
libc-multi-$(UCLIBC_HAS_RPC)+=$(filter-out $(patsubst %.c,$(INET_RPC_DIR)/%.c,$(INET_RPC_NO_MULTI)),$(INET_RPC_SRC))
MISC_ASSERT_OBJ:=$(MISC_ASSERT_OUT)/__assert.o
libc-a-y+=$(MISC_ASSERT_OBJ)
-libc-a-pic-y+=$(MISC_ASSERT_OBJ:.o=.os)
libc-so-y+=$(MISC_ASSERT_OBJ:.o=.os)
libc-multi-y+=$(MISC_ASSERT_SRC)
libc-a-y+=$(MISC_CTYPE_MOBJ)
libc-a-$(UCLIBC_HAS_XLOCALE)+=$(MISC_CTYPE_MOBJx)
-libc-a-pic-y+=$(MISC_CTYPE_MOBJ:.o=.os)
-libc-a-pic-$(UCLIBC_HAS_XLOCALE)+=$(MISC_CTYPE_MOBJx:.o=.os)
libc-so-y+=$(MISC_CTYPE_MOBJ:.o=.os)
libc-so-$(UCLIBC_HAS_XLOCALE)+=$(MISC_CTYPE_MOBJx:.o=.os)
MISC_DIRENT_OBJ:=$(patsubst %.c,$(MISC_DIRENT_OUT)/%.o,$(CSRC))
libc-a-y+=$(MISC_DIRENT_OBJ)
-libc-a-pic-y+=$(MISC_DIRENT_OBJ:.o=.os)
libc-so-y+=$(MISC_DIRENT_OBJ:.o=.os)
libc-multi-y+=$(MISC_DIRENT_SRC)
MISC_ERROR_OBJ:=$(patsubst %.c,$(MISC_ERROR_OUT)/%.o,$(CSRC))
libc-a-y+=$(MISC_ERROR_OBJ)
-libc-a-pic-y+=$(MISC_ERROR_OBJ:.o=.os)
libc-so-y+=$(MISC_ERROR_OBJ:.o=.os)
libc-multi-y+=$(MISC_ERROR_SRC)
MISC_FILE_OBJ:=$(patsubst $(MISC_FILE_DIR)/%.c,$(MISC_FILE_OUT)/%.o,$(MISC_FILE_SRC))
libc-a-y+=$(MISC_FILE_OBJ)
-libc-a-pic-y+=$(MISC_FILE_OBJ:.o=.os)
libc-so-y+=$(MISC_FILE_OBJ:.o=.os)
libc-multi-y+=$(MISC_FILE_DIR)/lockf.c
MISC_FNMATCH_OBJ:=$(MISC_FNMATCH_OUT)/fnmatch.o
libc-a-y+=$(MISC_FNMATCH_OBJ)
-libc-a-pic-y+=$(MISC_FNMATCH_OBJ:.o=.os)
libc-so-y+=$(MISC_FNMATCH_OBJ:.o=.os)
libc-multi-y+=$(MISC_FNMATCH_SRC)
$(compile.m)
libc-a-$(UCLIBC_HAS_FTW)+=$(MISC_FTW_OBJS)
-libc-a-pic-$(UCLIBC_HAS_FTW)+=$(MISC_FTW_OBJS:.o=.os)
libc-so-$(UCLIBC_HAS_FTW)+=$(MISC_FTW_OBJS:.o=.os)
CFLAGS-multi-$(UCLIBC_HAS_FTW)+=$(MISC_FTW_DEF)
$(MISC_GLOB_OUT)/glob64.o $(MISC_GLOB_OUT)/glob64.os: $(MISC_GLOB_DIR)/glob64.c $(MISC_GLOB_DIR)/glob.c
libc-a-$(UCLIBC_HAS_GLOB)+=$(MISC_GLOB_OBJ)
-libc-a-pic-$(UCLIBC_HAS_GLOB)+=$(MISC_GLOB_OBJ:.o=.os)
libc-so-$(UCLIBC_HAS_GLOB)+=$(MISC_GLOB_OBJ:.o=.os)
# glob has to be rewritten to allow multi
MISC_GNU_OBJ:=$(MISC_GNU_OUT)/obstack.o
libc-a-y+=$(MISC_GNU_OBJ)
-libc-a-pic-y+=$(MISC_GNU_OBJ:.o=.os)
libc-so-y+=$(MISC_GNU_OBJ:.o=.os)
libc-multi-y+=$(MISC_GNU_SRC)
$(compile.m)
libc-a-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(MISC_INTL_MOBJ)
-libc-a-pic-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(MISC_INTL_MOBJ:.o=.os)
libc-so-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(MISC_INTL_MOBJ:.o=.os)
CFLAGS-multi-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(MISC_INTL_DEF)
MISC_MNTENT_OBJ:=$(MISC_MNTENT_OUT)/mntent.o
libc-a-y+=$(MISC_MNTENT_OBJ)
-libc-a-pic-y+=$(MISC_MNTENT_OBJ:.o=.os)
libc-so-y+=$(MISC_MNTENT_OBJ:.o=.os)
libc-multi-y+=$(MISC_MNTENT_SRC)
MISC_PTHREAD_OBJ:=$(patsubst %.c,$(MISC_PTHREAD_OUT)/%.o,$(CSRC))
libc-a-$(UCLIBC_HAS_THREADS)+=$(MISC_PTHREAD_OBJ)
-libc-a-pic-$(UCLIBC_HAS_THREADS)+=$(MISC_PTHREAD_OBJ:.o=.os)
libc-so-$(UCLIBC_HAS_THREADS)+=$(MISC_PTHREAD_OBJ:.o=.os)
#libc-multi-$(UCLIBC_HAS_THREADS)+=$(MISC_PTHREAD_SRC)
MISC_REGEX_OBJ:=$(patsubst %.c,$(MISC_REGEX_OUT)/%.o,$(CSRC))
libc-a-$(UCLIBC_HAS_REGEX)+=$(MISC_REGEX_OBJ)
-libc-a-pic-$(UCLIBC_HAS_REGEX)+=$(MISC_REGEX_OBJ:.o=.os)
libc-so-$(UCLIBC_HAS_REGEX)+=$(MISC_REGEX_OBJ:.o=.os)
libc-multi-$(UCLIBC_HAS_REGEX)+=$(MISC_REGEX_SRC)
$(compile.m)
libc-a-y+=$(MISC_SEARCH_OBJS)
-libc-a-pic-y+=$(MISC_SEARCH_OBJS:.o=.os)
libc-so-y+=$(MISC_SEARCH_OBJS:.o=.os)
CFLAGS-multi-y+=$(MISC_SEARCH_DEF)
MISC_STATFS_OBJ:=$(patsubst %.c,$(MISC_STATFS_OUT)/%.o,$(CSRC))
libc-a-y+=$(MISC_STATFS_OBJ)
-libc-a-pic-y+=$(MISC_STATFS_OBJ:.o=.os)
libc-so-y+=$(MISC_STATFS_OBJ:.o=.os)
libc-multi-y+=$(MISC_STATFS_SRC)
MISC_SYSLOG_OBJ:=$(patsubst %.c,$(MISC_SYSLOG_OUT)/%.o,$(CSRC))
libc-a-y+=$(MISC_SYSLOG_OBJ)
-libc-a-pic-y+=$(MISC_SYSLOG_OBJ:.o=.os)
libc-so-y+=$(MISC_SYSLOG_OBJ:.o=.os)
libc-multi-y+=$(MISC_SYSLOG_SRC)
$(compile.m)
libc-a-y+=$(MISC_SYSVIPC_OBJS)
-libc-a-pic-y+=$(MISC_SYSVIPC_OBJS:.o=.os)
libc-so-y+=$(MISC_SYSVIPC_OBJS:.o=.os)
CFLAGS-multi-y+=$(MISC_SYSVIPC_DEF)
libc-a-y+=$(MISC_TIME_OBJS)
libc-a-$(UCLIBC_HAS_XLOCALE)+=$(MISC_TIME_MOBJx)
-libc-a-pic-y+=$(MISC_TIME_OBJS:.o=.os)
-libc-a-pic-$(UCLIBC_HAS_XLOCALE)+=$(MISC_TIME_MOBJx:.o=.os)
libc-so-y+=$(MISC_TIME_OBJS:.o=.os)
libc-so-$(UCLIBC_HAS_XLOCALE)+=$(MISC_TIME_MOBJx:.o=.os)
MISC_TTYENT_OBJ:=$(patsubst %.c,$(MISC_TTYENT_OUT)/%.o,$(CSRC))
libc-a-y+=$(MISC_TTYENT_OBJ)
-libc-a-pic-y+=$(MISC_TTYENT_OBJ:.o=.os)
libc-so-y+=$(MISC_TTYENT_OBJ:.o=.os)
libc-multi-y+=$(MISC_TTYENT_SRC)
MISC_UTMP_OBJ:=$(patsubst %.c,$(MISC_UTMP_OUT)/%.o,$(CSRC))
libc-a-y+=$(MISC_UTMP_OBJ)
-libc-a-pic-y+=$(MISC_UTMP_OBJ:.o=.os)
libc-so-y+=$(MISC_UTMP_OBJ:.o=.os)
libc-multi-y+=$(MISC_UTMP_SRC)
$(compile.m)
libc-a-$(UCLIBC_HAS_WCHAR)+=$(MISC_WCHAR_MOBJ)
-libc-a-pic-$(UCLIBC_HAS_WCHAR)+=$(MISC_WCHAR_MOBJ:.o=.os)
libc-so-$(UCLIBC_HAS_WCHAR)+=$(MISC_WCHAR_MOBJ:.o=.os)
CFLAGS-multi-$(UCLIBC_HAS_WCHAR)+=$(MISC_WCHAR_DEF)
libc-a-$(UCLIBC_HAS_WCHAR)+=$(MISC_WCTYPE_MOBJ)
libc-a-$(UCLIBC_HAS_XLOCALE)+=$(MISC_WCTYPE_MOBJx)
-libc-a-pic-$(UCLIBC_HAS_WCHAR)+=$(MISC_WCTYPE_MOBJ:.o=.os)
-libc-a-pic-$(UCLIBC_HAS_XLOCALE)+=$(MISC_WCTYPE_MOBJx:.o=.os)
libc-so-$(UCLIBC_HAS_WCHAR)+=$(MISC_WCTYPE_MOBJ:.o=.os)
libc-so-$(UCLIBC_HAS_XLOCALE)+=$(MISC_WCTYPE_MOBJx:.o=.os)
MISC_WORDEXP_OBJ:=$(patsubst %.c,$(MISC_WORDEXP_OUT)/%.o,$(CSRC))
libc-a-$(UCLIBC_HAS_WORDEXP)+=$(MISC_WORDEXP_OBJ)
-libc-a-pic-$(UCLIBC_HAS_WORDEXP)+=$(MISC_WORDEXP_OBJ:.o=.os)
libc-so-$(UCLIBC_HAS_WORDEXP)+=$(MISC_WORDEXP_OBJ:.o=.os)
libc-multi-$(UCLIBC_HAS_WORDEXP)+=$(MISC_WORDEXP_SRC)
libc-a-y+=$(PWDGRP_MOBJ)
libc-a-$(HAS_SHADOW)+=$(PWDGRP_OUT)/lckpwdf.o
-libc-a-pic-y+=$(PWDGRP_MOBJ:.o=.os)
-libc-a-pic-$(HAS_SHADOW)+=$(PWDGRP_OUT)/lckpwdf.os
libc-so-y+=$(PWDGRP_MOBJ:.o=.os)
libc-so-$(HAS_SHADOW)+=$(PWDGRP_OUT)/lckpwdf.os
SIGNAL_OBJ:=$(patsubst $(SIGNAL_DIR)/%.c,$(SIGNAL_OUT)/%.o,$(SIGNAL_SRC))
libc-a-y+=$(SIGNAL_OBJ)
-libc-a-pic-y+=$(SIGNAL_OBJ:.o=.os)
libc-so-y+=$(SIGNAL_OBJ:.o=.os)
# either sigaction or allocrtsig have to be removed
$(compile.m)
libc-a-y+=$(STDIO_OBJS)
-libc-a-pic-y+=$(STDIO_OBJS:.o=.os)
libc-so-y+=$(STDIO_OBJS:.o=.os)
#CFLAGS-multi-y+=$(STDIO_DEF)
STDLIB_MALLOC_SIMPLE_DEF:=$(patsubst %,-DL_%,$(subst .o,,$(notdir $(STDLIB_MALLOC_SIMPLE_MOBJ))))
libc-a-$(MALLOC_SIMPLE)+=$(STDLIB_MALLOC_SIMPLE_MOBJ)
-libc-a-pic-$(MALLOC_SIMPLE)+=$(STDLIB_MALLOC_SIMPLE_MOBJ:.o=.os)
libc-so-$(MALLOC_SIMPLE)+=$(STDLIB_MALLOC_SIMPLE_MOBJ:.o=.os)
CFLAGS-multi-$(MALLOC_SIMPLE)+=$(STDLIB_MALLOC_SIMPLE_DEF)
STDLIB_MALLOC_STANDARD_OBJ:=$(patsubst %.c,$(STDLIB_MALLOC_STANDARD_OUT)/%.o,$(CSRC))
libc-a-$(MALLOC_STANDARD)+=$(STDLIB_MALLOC_STANDARD_OBJ)
-libc-a-pic-$(MALLOC_STANDARD)+=$(STDLIB_MALLOC_STANDARD_OBJ:.o=.os)
libc-so-$(MALLOC_STANDARD)+=$(STDLIB_MALLOC_STANDARD_OBJ:.o=.os)
libc-multi-$(MALLOC_STANDARD)+=$(STDLIB_MALLOC_STANDARD_SRC)
STDLIB_MALLOC_OBJ:=$(patsubst %.c,$(STDLIB_MALLOC_OUT)/%.o,$(CSRC))
libc-a-$(MALLOC)+=$(STDLIB_MALLOC_OBJ)
-libc-a-pic-$(MALLOC)+=$(STDLIB_MALLOC_OBJ:.o=.os)
libc-so-$(MALLOC)+=$(STDLIB_MALLOC_OBJ:.o=.os)
#libc-multi-$(MALLOC)+=$(STDLIB_MALLOC_SRC)
$(compile.m) -DWANT_WIDE -D__UCLIBC_DO_XLOCALE
libc-a-y+=$(STRING_OBJS)
-libc-a-pic-y+=$(STRING_OBJS:.o=.os)
libc-so-y+=$(STRING_OBJS:.o=.os)
# multi does not work here, because arch/Makefile.in uses the same L_* defines
$(compile.m)
libc-a-y+=$(TERMIOS_OBJS)
-libc-a-pic-y+=$(TERMIOS_OBJS:.o=.os)
libc-so-y+=$(TERMIOS_OBJS:.o=.os)
CFLAGS-multi-y+=$(TERMIOS_DEF)
$(compile.m)
libc-a-y+=$(UNISTD_OBJS)
-libc-a-pic-y+=$(UNISTD_OBJS:.o=.os)
libc-so-y+=$(UNISTD_OBJS:.o=.os)
CFLAGS-multi-y+=$(UNISTD_DEF)