Changes in uspace/lib/c/Makefile [79ae36dd:47fecbb] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r79ae36dd r47fecbb  
    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 \
     
    6663        generic/as.c \
    6764        generic/cap.c \
     65        generic/cfg.c \
    6866        generic/clipboard.c \
    69         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 \
     73        generic/loc.c \
    7774        generic/mem.c \
    7875        generic/str.c \
     
    9794        generic/io/printf_core.c \
    9895        generic/io/console.c \
    99         generic/io/screenbuffer.c \
    10096        generic/malloc.c \
    10197        generic/sysinfo.c \
    10298        generic/ipc.c \
    10399        generic/ns.c \
    104         generic/ns_obsolete.c \
    105100        generic/async.c \
    106         generic/async_obsolete.c \
    107101        generic/loader.c \
    108102        generic/getopt.c \
     
    136130                generic/dlfcn.c \
    137131                generic/rtld/rtld.c \
    138                 generic/rtld/elf_load.c \
    139132                generic/rtld/dynamic.c \
    140133                generic/rtld/module.c \
     
    148141include $(USPACE_PREFIX)/Makefile.common
    149142
    150 $(INCLUDE_ARCH): $(INCLUDE_KERNEL) $(INCLUDE_KERNEL)/arch
    151         ln -sfn kernel/arch $@
    152 
    153143$(INCLUDE_LIBARCH): arch/$(UARCH)/include
    154144        ln -sfn ../$< $@
    155145
    156 $(INCLUDE_KERNEL)/arch: ../../../kernel/generic/include/arch $(INCLUDE_KERNEL)
    157 
    158 $(INCLUDE_KERNEL): ../../../kernel/generic/include/
     146$(INCLUDE_ABI): ../../../abi/include/
    159147        ln -sfn ../$< $@
    160148
Note: See TracChangeset for help on using the changeset viewer.