mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 15:02:25 +00:00
32 lines
789 B
PHP
32 lines
789 B
PHP
#
|
|
# \brief Common environment
|
|
# \author Norman Feske
|
|
# \date 2014-05-27
|
|
#
|
|
|
|
SHELL := bash
|
|
VERBOSE ?= @
|
|
ECHO := echo -e
|
|
|
|
BRIGHT_COL ?= \x1b[01;33m
|
|
DARK_COL ?= \x1b[00;33m
|
|
DEFAULT_COL ?= \x1b[0m
|
|
|
|
MSG_PREFIX_TXT := $(DARK_COL)$(notdir $(PORT:.port=)) $(DEFAULT_COL)
|
|
MSG_PREFIX := $(ECHO) "$(MSG_PREFIX_TXT)"
|
|
MSG_DOWNLOAD := $(MSG_PREFIX)"download "
|
|
MSG_APPLY := $(MSG_PREFIX)"apply "
|
|
MSG_UPDATE := $(MSG_PREFIX)"update "
|
|
MSG_INSTALL := $(MSG_PREFIX)"install "
|
|
MSG_GENERATE := $(MSG_PREFIX)"generate "
|
|
MSG_EXTRACT := $(MSG_PREFIX)"extract "
|
|
MSG_GIT := $(MSG_PREFIX_TXT)git
|
|
|
|
# Force stable sorting order
|
|
export LC_COLLATE=C
|
|
|
|
#
|
|
# Utility to check if a tool is installed
|
|
#
|
|
check_tool = $(if $(shell which $(1)),,$(error Need to have '$(1)' installed.))
|