Changes in uspace/lib/c/Makefile [00d7e1b:4e1a2f5] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r00d7e1b r4e1a2f5  
    3131ROOT_PATH = $(USPACE_PREFIX)/..
    3232
    33 INCLUDE_ABI = include/abi
     33INCLUDE_KERNEL = include/kernel
     34INCLUDE_ARCH = include/arch
    3435INCLUDE_LIBARCH = include/libarch
    3536
     
    4647        $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld
    4748
    48 PRE_DEPEND = $(INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH)
     49PRE_DEPEND = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH)
    4950EXTRA_OUTPUT = $(LINKER_SCRIPTS)
    50 EXTRA_CLEAN = $(INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)
     51EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)
    5152LIBRARY = libc
    5253SLIBRARY = libc.so.0.0
     
    5859-include arch/$(UARCH)/Makefile.inc
    5960
     61EXTRA_CFLAGS += -I../../srv/loader/include
     62
    6063GENERIC_SOURCES = \
    6164        generic/libc.c \
     
    6366        generic/as.c \
    6467        generic/cap.c \
    65         generic/cfg.c \
    6668        generic/clipboard.c \
     69        generic/devmap.c \
    6770        generic/devman.c \
    6871        generic/device/hw_res.c \
    69         generic/device/hw_res_parsed.c \
    7072        generic/device/char_dev.c \
    71         generic/device/nic.c \
    72         generic/elf/elf_load.c \
    7373        generic/event.c \
    7474        generic/errno.c \
    75         generic/loc.c \
    7675        generic/mem.c \
    7776        generic/str.c \
    7877        generic/str_error.c \
    79         generic/l18n/langs.c \
    8078        generic/fibril.c \
    8179        generic/fibril_synch.c \
     
    9694        generic/io/printf_core.c \
    9795        generic/io/console.c \
     96        generic/io/screenbuffer.c \
     97        generic/ipc/ns.c \
    9898        generic/malloc.c \
    9999        generic/sysinfo.c \
    100100        generic/ipc.c \
    101         generic/ns.c \
    102101        generic/async.c \
     102        generic/async_sess.c \
    103103        generic/loader.c \
    104104        generic/getopt.c \
    105105        generic/adt/list.c \
    106106        generic/adt/hash_table.c \
    107         generic/adt/hash_set.c \
    108107        generic/adt/dynamic_fifo.c \
    109108        generic/adt/measured_strings.c \
     
    129128        generic/assert.c
    130129
    131 ifeq ($(CONFIG_RTLD),y)
     130ifeq ($(CONFIG_RTLD), y)
    132131        GENERIC_SOURCES += \
    133132                generic/dlfcn.c \
    134133                generic/rtld/rtld.c \
     134                generic/rtld/elf_load.c \
    135135                generic/rtld/dynamic.c \
    136136                generic/rtld/module.c \
     
    144144include $(USPACE_PREFIX)/Makefile.common
    145145
     146$(INCLUDE_ARCH): $(INCLUDE_KERNEL) $(INCLUDE_KERNEL)/arch
     147        ln -sfn kernel/arch $@
     148
    146149$(INCLUDE_LIBARCH): arch/$(UARCH)/include
    147150        ln -sfn ../$< $@
    148151
    149 $(INCLUDE_ABI): ../../../abi/include/
     152$(INCLUDE_KERNEL)/arch: ../../../kernel/generic/include/arch $(INCLUDE_KERNEL)
     153
     154$(INCLUDE_KERNEL): ../../../kernel/generic/include/
    150155        ln -sfn ../$< $@
    151156
Note: See TracChangeset for help on using the changeset viewer.