Changes in uspace/lib/c/Makefile [0aae87a6:bd88bee] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r0aae87a6 rbd88bee  
    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 \
    6866        generic/clipboard.c \
     67        generic/corecfg.c \
    6968        generic/devman.c \
    7069        generic/device/hw_res.c \
    7170        generic/device/hw_res_parsed.c \
     71        generic/device/pio_window.c \
    7272        generic/device/char_dev.c \
    7373        generic/device/clock_dev.c \
     
    7777        generic/device/pci.c \
    7878        generic/device/ahci.c \
     79        generic/dhcp.c \
     80        generic/dnsr.c \
    7981        generic/dlfcn.c \
    8082        generic/elf/elf_load.c \
     
    9496        generic/task.c \
    9597        generic/futex.c \
     98        generic/inet/addr.c \
    9699        generic/inet.c \
    97100        generic/inetcfg.c \
    98101        generic/inetping.c \
     102        generic/inetping6.c \
    99103        generic/io/asprintf.c \
    100104        generic/io/input.c \
     
    145149        generic/sort.c \
    146150        generic/stats.c \
    147         generic/assert.c
     151        generic/assert.c \
     152        generic/pio_trace.c
    148153
    149154ifeq ($(CONFIG_RTLD),y)
     
    161166include $(USPACE_PREFIX)/Makefile.common
    162167
    163 $(INCLUDE_LIBARCH): arch/$(UARCH)/include
    164         ln -sfn ../$< $@
    165 
    166 $(INCLUDE_ABI): ../../../abi/include/
    167         ln -sfn ../$< $@
    168168
    169169$(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 "^\#" > $@
     170        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@
    171171
    172172$(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 "^\#" > $@
     173        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@
    174174
    175175$(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 "^\#" > $@
     176        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@
    177177
    178178$(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 "^\#" > $@
     179        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@
    180180
    181181$(COMMON_HEADER_ARCH): $(COMMON_HEADER)
    182         ln -sfn ../../../$< $@
     182        ln -sfn ../../../../$< $@
Note: See TracChangeset for help on using the changeset viewer.