source: mainline/uspace/lib/pcut/Makefile@ 3b60ea0

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 3b60ea0 was c631734, checked in by jzr <zarevucky.jiri@…>, 8 years ago

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.
  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[01579ad]1#
2# This file was generated by call to update-from-master.sh
3#
4
5USPACE_PREFIX = ../..
[9b20126]6PCUT_TEST_PREFIX = test-libpcut-
7
[eff9f8c]8SELF_TESTS = \
[9b20126]9 $(PCUT_TEST_PREFIX)abort$(PCUT_TEST_SUFFIX) \
10 $(PCUT_TEST_PREFIX)asserts$(PCUT_TEST_SUFFIX) \
11 $(PCUT_TEST_PREFIX)beforeafter$(PCUT_TEST_SUFFIX) \
12 $(PCUT_TEST_PREFIX)errno$(PCUT_TEST_SUFFIX) \
13 $(PCUT_TEST_PREFIX)inithook$(PCUT_TEST_SUFFIX) \
14 $(PCUT_TEST_PREFIX)manytests$(PCUT_TEST_SUFFIX) \
15 $(PCUT_TEST_PREFIX)multisuite$(PCUT_TEST_SUFFIX) \
16 $(PCUT_TEST_PREFIX)preinithook$(PCUT_TEST_SUFFIX) \
17 $(PCUT_TEST_PREFIX)printing$(PCUT_TEST_SUFFIX) \
18 $(PCUT_TEST_PREFIX)simple$(PCUT_TEST_SUFFIX) \
19 $(PCUT_TEST_PREFIX)skip$(PCUT_TEST_SUFFIX) \
20 $(PCUT_TEST_PREFIX)suites$(PCUT_TEST_SUFFIX) \
21 $(PCUT_TEST_PREFIX)teardownaborts$(PCUT_TEST_SUFFIX) \
22 $(PCUT_TEST_PREFIX)teardown$(PCUT_TEST_SUFFIX) \
23 $(PCUT_TEST_PREFIX)testlist$(PCUT_TEST_SUFFIX) \
24 $(PCUT_TEST_PREFIX)timeout$(PCUT_TEST_SUFFIX) \
25 $(PCUT_TEST_PREFIX)xmlreport$(PCUT_TEST_SUFFIX)
[01579ad]26
[9c14309]27EXTRA_CLEAN = $(SELF_TESTS)
[eff9f8c]28
[01579ad]29include helenos.mak
30
31include $(USPACE_PREFIX)/Makefile.common
32
[9b20126]33include helenos.test.mak
34
[eff9f8c]35all-test: $(SELF_TESTS)
36
[c631734]37test-libpcut-%: $(LIBRARY).a
38 $(LD) -n $(LFLAGS) -T $(LINKER_SCRIPT) -o $@ $(STARTUP) $^ $(LIBRARY).a $(BASE_LIBS)
[9b20126]39
Note: See TracBrowser for help on using the repository browser.