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


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r6c5fc8e r0aae87a6  
    3131ROOT_PATH = $(USPACE_PREFIX)/..
    3232
     33INCLUDE_ABI = include/abi
     34INCLUDE_LIBARCH = include/libarch
     35
    3336COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common
    3437COMMON_HEADER = $(ROOT_PATH)/common.h
    35 COMMON_HEADER_ARCH = arch/$(UARCH)/include/libarch/common.h
     38COMMON_HEADER_ARCH = arch/$(UARCH)/include/common.h
    3639
    3740CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
     
    4346        $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld
    4447
    45 PRE_DEPEND = $(COMMON_HEADER_ARCH)
     48PRE_DEPEND = $(INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH)
    4649EXTRA_OUTPUT = $(LINKER_SCRIPTS)
    47 EXTRA_CLEAN = $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)
     50EXTRA_CLEAN = $(INCLUDE_ABI) $(INCLUDE_LIBARCH) $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)
    4851LIBRARY = libc
    4952SLIBRARY = libc.so.0.0
     
    113116        generic/iplink.c \
    114117        generic/iplink_srv.c \
     118        generic/ieee_double.c \
     119        generic/power_of_ten.c \
     120        generic/double_to_str.c \
    115121        generic/malloc.c \
    116122        generic/sysinfo.c \
     
    134140        generic/net/socket_client.c \
    135141        generic/net/socket_parse.c \
     142        generic/stack.c \
    136143        generic/stacktrace.c \
    137144        generic/arg_parse.c \
     
    154161include $(USPACE_PREFIX)/Makefile.common
    155162
     163$(INCLUDE_LIBARCH): arch/$(UARCH)/include
     164        ln -sfn ../$< $@
     165
     166$(INCLUDE_ABI): ../../../abi/include/
     167        ln -sfn ../$< $@
    156168
    157169$(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
     
    168180
    169181$(COMMON_HEADER_ARCH): $(COMMON_HEADER)
    170         ln -sfn ../../../../$< $@
     182        ln -sfn ../../../$< $@
Note: See TracChangeset for help on using the changeset viewer.