Changeset e3bc355 in mainline for uspace/lib/c/Makefile


Ignore:
Timestamp:
2013-07-28T23:07:18Z (11 years ago)
Author:
Dominik Taborsky (AT DOT) <brembyseznamcz>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2b55edb
Parents:
283ea3d (diff), ccdc63e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

mainline merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r283ea3d re3bc355  
    3131ROOT_PATH = $(USPACE_PREFIX)/..
    3232
    33 INCLUDE_ABI = include/abi
    34 INCLUDE_LIBARCH = include/libarch
    35 
    3633COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common
    3734COMMON_HEADER = $(ROOT_PATH)/common.h
    38 COMMON_HEADER_ARCH = arch/$(UARCH)/include/common.h
     35COMMON_HEADER_ARCH = arch/$(UARCH)/include/libarch/common.h
    3936
    4037CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
     
    4643        $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld
    4744
    48 PRE_DEPEND = $(INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH)
     45PRE_DEPEND = $(COMMON_HEADER_ARCH)
    4946EXTRA_OUTPUT = $(LINKER_SCRIPTS)
    50 EXTRA_CLEAN = $(INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)
     47EXTRA_CLEAN = $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)
    5148LIBRARY = libc
    5249SLIBRARY = libc.so.0.0
     
    6461        generic/bd.c \
    6562        generic/bd_srv.c \
     63        generic/bitops.c \
    6664        generic/cap.c \
    6765        generic/cfg.c \
     
    7876        generic/device/pci.c \
    7977        generic/device/ahci.c \
     78        generic/dnsr.c \
    8079        generic/dlfcn.c \
    8180        generic/elf/elf_load.c \
     
    9594        generic/task.c \
    9695        generic/futex.c \
     96        generic/inet/addr.c \
    9797        generic/inet.c \
    9898        generic/inetcfg.c \
    9999        generic/inetping.c \
     100        generic/inetping6.c \
    100101        generic/io/asprintf.c \
    101102        generic/io/input.c \
     
    141142        generic/net/socket_client.c \
    142143        generic/net/socket_parse.c \
     144        generic/stack.c \
    143145        generic/stacktrace.c \
    144146        generic/arg_parse.c \
    145147        generic/sort.c \
    146148        generic/stats.c \
    147         generic/assert.c
     149        generic/assert.c \
     150        generic/pio_trace.c
    148151
    149152ifeq ($(CONFIG_RTLD),y)
     
    161164include $(USPACE_PREFIX)/Makefile.common
    162165
    163 $(INCLUDE_LIBARCH): arch/$(UARCH)/include
    164         ln -sfn ../$< $@
    165 
    166 $(INCLUDE_ABI): ../../../abi/include/
    167         ln -sfn ../$< $@
    168166
    169167$(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    170         $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@
     168        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@
    171169
    172170$(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    173         $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@
     171        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@
    174172
    175173$(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    176         $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@
     174        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@
    177175
    178176$(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    179         $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@
     177        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@
    180178
    181179$(COMMON_HEADER_ARCH): $(COMMON_HEADER)
    182         ln -sfn ../../../$< $@
     180        ln -sfn ../../../../$< $@
Note: See TracChangeset for help on using the changeset viewer.