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

Changeset c631734 in mainline for uspace/lib/pcut/Makefile


Ignore:
Timestamp:
2017-11-07T23:14:00Z (4 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master
Children:
cecba66e
Parents:
b8d4af4b
Message:

Mostly cleanup in uspace/Makefile.common.

  • Pass -MP in addition to -MD (also in boot and kernel).
  • Derive SLIBRARY and LSONAME from LIBRARY and (new)SOVERSION.
  • Removed include of version "makefile", which was unused.
  • Replaced OUTPUT and LOUTPUT with plural OUTPUTS, updated rules to match.
  • Moved things around so that first rule is after last variable assignment.
  • Removed '-n'(undesirable) and '-M'(redundant) from linker options.
  • Removed redundant rules at the tail of the file. GNU make bug #26893 seems to have been fixed years ago, and I can't reproduce any problem.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcut/Makefile

    rb8d4af4b rc631734  
    3535all-test: $(SELF_TESTS)
    3636
    37 test-libpcut-%: $(OUTPUT)
    38         $(LD) -n $(LFLAGS) -T $(LINKER_SCRIPT) -o $@ $(STARTUP) $^ $(OUTPUT) $(BASE_LIBS)
     37test-libpcut-%: $(LIBRARY).a
     38        $(LD) -n $(LFLAGS) -T $(LINKER_SCRIPT) -o $@ $(STARTUP) $^ $(LIBRARY).a $(BASE_LIBS)
    3939
Note: See TracChangeset for help on using the changeset viewer.