mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +01:00
don't include config.make in every make; make verbosity optional
This commit is contained in:
parent
ff1834eb76
commit
8a13c50e63
@ -25,7 +25,7 @@ endif
|
||||
#
|
||||
# Include some optional make configuration
|
||||
#
|
||||
sinclude $(POCO_BASE)/config.make
|
||||
sinclude $(POCO_BASE)/config.build
|
||||
|
||||
#
|
||||
# Check for PROJECT_BASE
|
||||
@ -34,7 +34,9 @@ ifndef PROJECT_BASE
|
||||
PROJECT_BASE = $(POCO_BASE)
|
||||
endif
|
||||
export PROJECT_BASE
|
||||
ifdef VERBOSE
|
||||
$(info PROJECT_BASE = $(PROJECT_BASE))
|
||||
endif
|
||||
|
||||
#
|
||||
# Check for POCO_BUILD
|
||||
@ -43,7 +45,9 @@ ifndef POCO_BUILD
|
||||
POCO_BUILD = $(PROJECT_BASE)
|
||||
endif
|
||||
export POCO_BUILD
|
||||
ifdef VERBOSE
|
||||
$(info POCO_BUILD = $(POCO_BUILD))
|
||||
endif
|
||||
|
||||
#
|
||||
# POCO_BASE/POCO_BUILD/cwd sanity checks
|
||||
@ -76,10 +80,14 @@ endif
|
||||
ifeq ($(findstring MINGW,$(POCO_HOST_OSNAME)),MINGW)
|
||||
POCO_HOST_OSNAME = MinGW
|
||||
endif
|
||||
ifdef VERBOSE
|
||||
$(info POCO_HOST_OSNAME= $(POCO_HOST_OSNAME))
|
||||
endif
|
||||
|
||||
POCO_HOST_OSARCH ?= $(subst /,-,$(shell uname -m | tr ' ' _))
|
||||
ifdef VERBOSE
|
||||
$(info POCO_HOST_OSARCH= $(POCO_HOST_OSARCH))
|
||||
endif
|
||||
|
||||
#
|
||||
# Begin Sun platforms
|
||||
@ -115,7 +123,9 @@ endif
|
||||
ifndef POCO_CONFIG
|
||||
POCO_CONFIG = $(POCO_HOST_OSNAME)
|
||||
endif
|
||||
ifdef VERBOSE
|
||||
$(info POCO_CONFIG = $(POCO_CONFIG))
|
||||
endif
|
||||
|
||||
#
|
||||
# Include System Specific Settings
|
||||
@ -130,14 +140,18 @@ OSNAME := $(POCO_HOST_OSNAME)
|
||||
else
|
||||
OSNAME := $(POCO_TARGET_OSNAME)
|
||||
endif
|
||||
ifdef VERBOSE
|
||||
$(info OSNAME = $(OSNAME))
|
||||
endif
|
||||
|
||||
ifndef POCO_TARGET_OSARCH
|
||||
OSARCH := $(subst /,-,$(shell uname -m | tr ' ' _))
|
||||
else
|
||||
OSARCH := $(POCO_TARGET_OSARCH)
|
||||
endif
|
||||
ifdef VERBOSE
|
||||
$(info OSARCH = $(OSARCH))
|
||||
endif
|
||||
|
||||
HOSTNAME := $(shell hostname)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user