Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r79ae36dd rc0699467  
    3131ROOT_PATH = $(USPACE_PREFIX)/..
    3232
    33 INCLUDE_KERNEL = include/kernel
    34 INCLUDE_ARCH = include/arch
     33INCLUDE_ABI = include/abi
    3534INCLUDE_LIBARCH = include/libarch
    3635
     
    4746        $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld
    4847
    49 PRE_DEPEND = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH)
     48PRE_DEPEND = $(INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH)
    5049EXTRA_OUTPUT = $(LINKER_SCRIPTS)
    51 EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)
     50EXTRA_CLEAN = $(INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)
    5251LIBRARY = libc
    5352SLIBRARY = libc.so.0.0
     
    5958-include arch/$(UARCH)/Makefile.inc
    6059
    61 EXTRA_CFLAGS += -I../../srv/loader/include
    62 
    6360GENERIC_SOURCES = \
    6461        generic/libc.c \
     
    6865        generic/clipboard.c \
    6966        generic/devmap.c \
    70         generic/devmap_obsolete.c \
    7167        generic/devman.c \
    72         generic/devman_obsolete.c \
    7368        generic/device/hw_res.c \
    7469        generic/device/char_dev.c \
     70        generic/elf/elf_load.c \
    7571        generic/event.c \
    7672        generic/errno.c \
     
    136132                generic/dlfcn.c \
    137133                generic/rtld/rtld.c \
    138                 generic/rtld/elf_load.c \
    139134                generic/rtld/dynamic.c \
    140135                generic/rtld/module.c \
     
    148143include $(USPACE_PREFIX)/Makefile.common
    149144
    150 $(INCLUDE_ARCH): $(INCLUDE_KERNEL) $(INCLUDE_KERNEL)/arch
    151         ln -sfn kernel/arch $@
    152 
    153145$(INCLUDE_LIBARCH): arch/$(UARCH)/include
    154146        ln -sfn ../$< $@
    155147
    156 $(INCLUDE_KERNEL)/arch: ../../../kernel/generic/include/arch $(INCLUDE_KERNEL)
    157 
    158 $(INCLUDE_KERNEL): ../../../kernel/generic/include/
     148$(INCLUDE_ABI): ../../../abi/include/
    159149        ln -sfn ../$< $@
    160150
Note: See TracChangeset for help on using the changeset viewer.