Changes in uspace/lib/c/Makefile [c631734:a0a273e] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    rc631734 ra0a273e  
    3232
    3333CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
     34COMMON_HEADER_ARCH = arch/$(UARCH)/include/libarch/common.h
    3435
    3536LINKER_SCRIPTS = \
     
    3940        $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld
    4041
    41 PRE_DEPEND =
     42PRE_DEPEND = $(COMMON_HEADER_ARCH)
    4243EXTRA_OUTPUT = $(LINKER_SCRIPTS)
    43 EXTRA_CLEAN = $(LINKER_SCRIPTS)
     44EXTRA_CLEAN = $(COMMON_HEADER_ARCH) $(LINKER_SCRIPTS)
    4445LIBRARY = libc
    45 SOVERSION = 0.0
     46SLIBRARY = libc.so.0.0
     47LSONAME = libc.so.0
    4648
    4749-include $(CONFIG_MAKEFILE)
     
    206208$(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    207209        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@
     210
     211$(COMMON_HEADER_ARCH): $(COMMON_HEADER)
     212        ln -sfn ../../../../$< $@
Note: See TracChangeset for help on using the changeset viewer.