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

Changeset ec883cf in mainline


Ignore:
Timestamp:
2011-05-01T10:17:32Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
364778b2
Parents:
5b72635
Message:

Make library symlinks automatically.

Location:
uspace
Files:
6 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile.common

    r5b72635 rec883cf  
    8080                LARCHIVE = $(LIBRARY).la
    8181                LOUTPUT = $(SLIBRARY)
    82                 EXTRA_OUTPUT += $(LOUTPUT).disasm
     82                EXTRA_OUTPUT += $(LOUTPUT).disasm $(LIBRARY).so $(LSONAME)
    8383                EXTRA_CLEAN += $(LOUTPUT).map $(LOUTPUT).ldisasm \
    84                     $(LIBC_PREFIX)/shared/arch/$(UARCH)/_lib.ld
     84                    $(LIBC_PREFIX)/shared/arch/$(UARCH)/_lib.ld \
     85                    $(LIBRARY).so $(LSONAME)
    8586        endif
    8687endif
     
    234235$(LOUTPUT): $(LARCHIVE) $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld
    235236        $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld $(LIB_LFLAGS) $(LARCHIVE) -o $@ -Map $(LOUTPUT).map
     237
     238$(LIBRARY).so:
     239        ln -s $(SLIBRARY) $@
     240
     241$(LSONAME):
     242        ln -s $(SLIBRARY) $@
    236243endif
    237244
Note: See TracChangeset for help on using the changeset viewer.