Changes in uspace/lib/c/Makefile [042fbe0:a99330e] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r042fbe0 ra99330e  
    4141CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
    4242
    43 LINKER_SCRIPTS = \
    44         $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld \
    45         $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld \
    46         $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld \
    47         $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld
    48 
    4943PRE_DEPEND = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH)
    50 EXTRA_OUTPUT = $(LINKER_SCRIPTS)
    51 EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)
     44EXTRA_OUTPUT = $(LINKER_SCRIPT)
     45EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPT)
    5246LIBRARY = libc
    53 SLIBRARY = libc.so.0.0
    54 LSONAME = libc.so0
    55 
    5647
    5748-include $(COMMON_MAKEFILE)
    5849-include $(CONFIG_MAKEFILE)
    5950-include arch/$(UARCH)/Makefile.inc
    60 
    61 EXTRA_CFLAGS += -I../../srv/loader/include
    6251
    6352GENERIC_SOURCES = \
     
    8776        generic/io/io.c \
    8877        generic/io/printf.c \
    89         generic/io/log.c \
    9078        generic/io/klog.c \
    9179        generic/io/snprintf.c \
     
    124112        generic/arg_parse.c \
    125113        generic/sort.c \
    126         generic/stats.c \
    127         generic/assert.c
    128 
    129 ifeq ($(CONFIG_RTLD), y)
    130         GENERIC_SOURCES += \
    131                 generic/dlfcn.c \
    132                 generic/rtld/rtld.c \
    133                 generic/rtld/elf_load.c \
    134                 generic/rtld/dynamic.c \
    135                 generic/rtld/module.c \
    136                 generic/rtld/symbol.c
    137 endif
     114        generic/stats.c
    138115
    139116SOURCES = \
     
    154131        ln -sfn ../$< $@
    155132
    156 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
     133$(LINKER_SCRIPT): $(LINKER_SCRIPT).in
    157134        $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@
    158 
    159 $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    160         $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@
    161 
    162 $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    163         $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@
    164 
    165 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    166         $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@
    167135
    168136$(COMMON_HEADER_ARCH): $(COMMON_HEADER)
Note: See TracChangeset for help on using the changeset viewer.