Changes in uspace/lib/c/Makefile [4e1a2f5:9b415c9] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r4e1a2f5 r9b415c9  
    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 = \
     
    10897        generic/adt/measured_strings.c \
    10998        generic/adt/char_map.c \
    110         generic/adt/prodcons.c \
    11199        generic/time.c \
    112100        generic/stdlib.c \
     
    125113        generic/arg_parse.c \
    126114        generic/sort.c \
    127         generic/stats.c \
    128         generic/assert.c
    129 
    130 ifeq ($(CONFIG_RTLD), y)
    131         GENERIC_SOURCES += \
    132                 generic/dlfcn.c \
    133                 generic/rtld/rtld.c \
    134                 generic/rtld/elf_load.c \
    135                 generic/rtld/dynamic.c \
    136                 generic/rtld/module.c \
    137                 generic/rtld/symbol.c
    138 endif
     115        generic/stats.c
    139116
    140117SOURCES = \
     
    155132        ln -sfn ../$< $@
    156133
    157 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
     134$(LINKER_SCRIPT): $(LINKER_SCRIPT).in
    158135        $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@
    159 
    160 $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    161         $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@
    162 
    163 $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    164         $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@
    165 
    166 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    167         $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@
    168136
    169137$(COMMON_HEADER_ARCH): $(COMMON_HEADER)
Note: See TracChangeset for help on using the changeset viewer.