GCC: use -fuse-cxa-atexit by default
[unleashed-userland.git] / components / check / Makefile
blobf922e0b2d38e8ae83c66669c6567deb18dd8e5eb
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2014 Aurelien Larcher. All rights reserved.
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= check
19 COMPONENT_VERSION= 0.10.0
20 COMPONENT_FMRI= developer/check
21 COMPONENT_CLASSIFICATION=Development/C
22 COMPONENT_PROJECT_URL= http://check.sourceforge.net/
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:f5f50766aa6f8fe5a2df752666ca01a950add45079aa06416b83765b1cf71052
27 COMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/check/files/check/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
28 COMPONENT_BUGDB= $(COMPONENT_FMRI)
29 COMPONENT_LICENSE= LGPLv2
30 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
32 COMPONENT_SUMMARY= Unit Testing Framework for C
34 include $(WS_MAKE_RULES)/prep.mk
35 include $(WS_MAKE_RULES)/configure.mk
36 include $(WS_MAKE_RULES)/ips.mk
39 CONFIGURE_OPTIONS+= --includedir=$(CONFIGURE_PREFIX)/include/check
40 CONFIGURE_OPTIONS+= --enable-shared
41 CONFIGURE_OPTIONS+= --disable-static
42 CONFIGURE_OPTIONS+= --enable-gcov
43 CONFIGURE_OPTIONS+= --enable-timeout-tests
45 build: $(BUILD_32_and_64)
47 install: $(INSTALL_32_and_64)
50 # All tests pass for the checkmk program.
51 # Some tests are known to fail in check-TESTS both in 32 and 64 bits:
52 # Running suite(s): Fix Sub
53 # 0%: Checks: 1, Failures: 1, Errors: 0
54 # Running suite(s): Check Servant 2
55 # 27%: Checks: 146, Failures: 58, Errors: 48
56 # Running suite(s): Setup Fail
57 # 0%: Checks: 1, Failures: 1, Errors: 0
58 # Running suite(s): Setup Fail Nofork
59 # 0%: Checks: 1, Failures: 1, Errors: 0
60 # Running suite(s): Setup Fail Nofork 2
61 # 0%: Checks: 1, Failures: 1, Errors: 0
62 # Running suite(s): Setup Sig
63 # 0%: Checks: 1, Failures: 0, Errors: 1
64 # Running suite(s): Teardown Fail
65 # 0%: Checks: 1, Failures: 1, Errors: 0
66 # Running suite(s): Teardown Fail No Fork
67 # 0%: Checks: 1, Failures: 1, Errors: 0
68 # Running suite(s): Teardown Sig
69 # 0%: Checks: 1, Failures: 0, Errors: 1
71 # Exits with 7 passed test suites.
74 test: $(TEST_32_and_64)
76 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
78 include $(WS_MAKE_RULES)/depend.mk