Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 729f774f in mainline for uspace/lib/c/Makefile


Ignore:
Timestamp:
2011-04-30T16:12:19Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
15b3761
Parents:
4ddbea7
Message:

Merge linker script sources for shared libs and dynamicaly linked executables
into the default one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r4ddbea7 r729f774f  
    4444LINKER_SCRIPTS = \
    4545        $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld \
    46         $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld
     46        $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld \
     47        $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld \
     48        $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld
    4749
    4850PRE_DEPEND = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(INCLUDE_RTLDARCH) $(COMMON_HEADER_ARCH)
     
    159161        $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DLOADER -E -x c $< | grep -v "^\#" > $@
    160162
     163$(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
     164        $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@
     165
     166$(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
     167        $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@
     168
    161169$(COMMON_HEADER_ARCH): $(COMMON_HEADER)
    162170        ln -sfn ../../../$< $@
Note: See TracChangeset for help on using the changeset viewer.