Changes in uspace/lib/c/Makefile [6428115:1d24ad3] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r6428115 r1d24ad3  
    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
     
    6259        generic/ddi.c \
    6360        generic/as.c \
     61        generic/bd.c \
     62        generic/bd_srv.c \
    6463        generic/cap.c \
    6564        generic/cfg.c \
     
    6968        generic/device/hw_res_parsed.c \
    7069        generic/device/char_dev.c \
     70        generic/device/clock_dev.c \
     71        generic/device/battery_dev.c \
     72        generic/device/graph_dev.c \
    7173        generic/device/nic.c \
    7274        generic/device/pci.c \
     75        generic/device/ahci.c \
     76        generic/dnsr.c \
     77        generic/dlfcn.c \
    7378        generic/elf/elf_load.c \
    7479        generic/event.c \
     
    8792        generic/task.c \
    8893        generic/futex.c \
     94        generic/inet/addr.c \
    8995        generic/inet.c \
    9096        generic/inetcfg.c \
    9197        generic/inetping.c \
     98        generic/inetping6.c \
    9299        generic/io/asprintf.c \
     100        generic/io/input.c \
    93101        generic/io/io.c \
     102        generic/io/chargrid.c \
     103        generic/io/output.c \
    94104        generic/io/printf.c \
    95105        generic/io/log.c \
     106        generic/io/logctl.c \
    96107        generic/io/klog.c \
    97108        generic/io/snprintf.c \
     
    99110        generic/io/vsnprintf.c \
    100111        generic/io/printf_core.c \
     112        generic/io/con_srv.c \
    101113        generic/io/console.c \
     114        generic/io/visualizer.c \
     115        generic/io/window.c \
    102116        generic/iplink.c \
    103117        generic/iplink_srv.c \
     118        generic/ieee_double.c \
     119        generic/power_of_ten.c \
     120        generic/double_to_str.c \
    104121        generic/malloc.c \
    105122        generic/sysinfo.c \
     
    111128        generic/adt/list.c \
    112129        generic/adt/hash_table.c \
    113         generic/adt/hash_set.c \
    114130        generic/adt/dynamic_fifo.c \
    115131        generic/adt/char_map.c \
     
    122138        generic/vfs/canonify.c \
    123139        generic/net/inet.c \
    124         generic/net/modules.c \
    125140        generic/net/socket_client.c \
    126141        generic/net/socket_parse.c \
     142        generic/stack.c \
    127143        generic/stacktrace.c \
    128144        generic/arg_parse.c \
    129145        generic/sort.c \
    130146        generic/stats.c \
    131         generic/assert.c
     147        generic/assert.c \
     148        generic/pio_trace.c
    132149
    133150ifeq ($(CONFIG_RTLD),y)
    134151        GENERIC_SOURCES += \
    135                 generic/dlfcn.c \
    136152                generic/rtld/rtld.c \
    137153                generic/rtld/dynamic.c \
     
    146162include $(USPACE_PREFIX)/Makefile.common
    147163
    148 $(INCLUDE_LIBARCH): arch/$(UARCH)/include
    149         ln -sfn ../$< $@
    150 
    151 $(INCLUDE_ABI): ../../../abi/include/
    152         ln -sfn ../$< $@
    153164
    154165$(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    155         $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@
     166        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@
    156167
    157168$(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    158         $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@
     169        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@
    159170
    160171$(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    161         $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@
     172        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@
    162173
    163174$(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    164         $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@
     175        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@
    165176
    166177$(COMMON_HEADER_ARCH): $(COMMON_HEADER)
    167         ln -sfn ../../../$< $@
     178        ln -sfn ../../../../$< $@
Note: See TracChangeset for help on using the changeset viewer.