| | |
| | | endif |
| | | CMAKE_LIBDIR.32 = lib |
| | | CMAKE_LIBDIR.64 = lib/$(MACH64) |
| | | CMAKE_LIBEXECDIR.32 = lib |
| | | CMAKE_LIBEXECDIR.64 = lib/$(MACH64) |
| | | # If the component prefers 64-bit binaries, then ensure builds deliver 64-bit |
| | | # binaries to the standard directories and 32-bit binaries to the non-standard |
| | | # location. This allows simplification of package manifests and makes it |
| | | # easier to deliver the 64-bit binaries as the default. |
| | | ifeq ($(strip $(PREFERRED_BITS)),64) |
| | | CMAKE_LIBEXECDIR.32 = libexec/$(MACH32) |
| | | CMAKE_LIBEXECDIR.64 = libexec |
| | | else |
| | | CMAKE_LIBEXECDIR.32 = libexec |
| | | CMAKE_LIBEXECDIR.64 = libexec/$(MACH64) |
| | | endif |
| | | CMAKE_INCLUDEDIR = include |
| | | CMAKE_DATAROOTDIR = share |
| | | CMAKE_DATADIR = $(CMAKE_DATAROOTDIR) |
| | |
| | | ' -n ' \ |
| | | ' -e "/Not Run/p" ' \ |
| | | ' -e "/Start/p" ' \ |
| | | ' -e "/Skipped/p" ' \ |
| | | ' -e "/Failed/p" ' \ |
| | | ' -e "/Passed/p" ' \ |
| | | ' -e "/failed/p" ' |
| | |
| | | $(TOUCH) $@ |
| | | |
| | | # test the built source |
| | | $(BUILD_DIR)/%/.tested-and-compared: $(BUILD_DIR)/%/.built |
| | | $(BUILD_DIR)/%/.tested-and-compared: $(COMPONENT_TEST_DEP) |
| | | $(RM) -rf $(COMPONENT_TEST_BUILD_DIR) |
| | | $(MKDIR) $(COMPONENT_TEST_BUILD_DIR) |
| | | $(COMPONENT_PRE_TEST_ACTION) |
| | |
| | | $(TOUCH) $@ |
| | | |
| | | $(BUILD_DIR)/%/.tested: SHELLOPTS=pipefail |
| | | $(BUILD_DIR)/%/.tested: $(BUILD_DIR)/%/.built |
| | | $(BUILD_DIR)/%/.tested: $(COMPONENT_TEST_DEP) |
| | | $(RM) -rf $(COMPONENT_TEST_BUILD_DIR) |
| | | $(MKDIR) $(COMPONENT_TEST_BUILD_DIR) |
| | | $(COMPONENT_PRE_TEST_ACTION) |