mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-01 21:13:10 +01:00
build fixes
This commit is contained in:
@@ -209,17 +209,23 @@ ifndef POCO_BASE
|
||||
$(warning WARNING: POCO_BASE is not defined. Assuming current directory.)
|
||||
export POCO_BASE=$(shell pwd)
|
||||
endif
|
||||
#$(info POCO_BASE = $(POCO_BASE))
|
||||
ifdef POCO_VERBOSE
|
||||
$(info POCO_BASE = $(POCO_BASE))
|
||||
endif
|
||||
|
||||
ifndef POCO_PREFIX
|
||||
export POCO_PREFIX=/usr/local
|
||||
endif
|
||||
#$(info POCO_PREFIX=$(POCO_PREFIX))
|
||||
ifdef POCO_VERBOSE
|
||||
$(info POCO_PREFIX=$(POCO_PREFIX))
|
||||
endif
|
||||
|
||||
ifndef POCO_BUILD
|
||||
export POCO_BUILD=$(POCO_BASE)
|
||||
endif
|
||||
#$(info POCO_BUILD = $(POCO_BUILD))
|
||||
ifdef POCO_VERBOSE
|
||||
$(info POCO_BUILD = $(POCO_BUILD))
|
||||
endif
|
||||
|
||||
#
|
||||
# Determine OS
|
||||
@@ -232,10 +238,14 @@ endif
|
||||
ifeq ($(findstring MINGW,$(POCO_HOST_OSNAME)),MINGW)
|
||||
POCO_HOST_OSNAME = MinGW
|
||||
endif
|
||||
#$(info POCO_HOST_OSNAME= $(POCO_HOST_OSNAME))
|
||||
ifdef POCO_VERBOSE
|
||||
$(info POCO_HOST_OSNAME= $(POCO_HOST_OSNAME))
|
||||
endif
|
||||
|
||||
POCO_HOST_OSARCH ?= $(subst /,-,$(shell uname -m | tr ' ' _))
|
||||
#$(info POCO_HOST_OSARCH= $(POCO_HOST_OSARCH))
|
||||
ifdef POCO_VERBOSE
|
||||
$(info POCO_HOST_OSARCH= $(POCO_HOST_OSARCH))
|
||||
endif
|
||||
|
||||
#
|
||||
# If POCO_CONFIG is not set, use the OS name as configuration name
|
||||
@@ -243,7 +253,9 @@ POCO_HOST_OSARCH ?= $(subst /,-,$(shell uname -m | tr ' ' _))
|
||||
ifndef POCO_CONFIG
|
||||
POCO_CONFIG = $(POCO_HOST_OSNAME)
|
||||
endif
|
||||
#$(info POCO_CONFIG = $(POCO_CONFIG))
|
||||
ifdef POCO_VERBOSE
|
||||
$(info POCO_CONFIG = $(POCO_CONFIG))
|
||||
endif
|
||||
|
||||
#
|
||||
# Include System Specific Settings
|
||||
@@ -258,14 +270,18 @@ OSNAME := $(POCO_HOST_OSNAME)
|
||||
else
|
||||
OSNAME := $(POCO_TARGET_OSNAME)
|
||||
endif
|
||||
#$(info OSNAME = $(OSNAME))
|
||||
ifdef POCO_VERBOSE
|
||||
$(info OSNAME = $(OSNAME))
|
||||
endif
|
||||
|
||||
ifndef POCO_TARGET_OSARCH
|
||||
OSARCH := $(POCO_HOST_OSARCH)
|
||||
else
|
||||
OSARCH := $(POCO_TARGET_OSARCH)
|
||||
endif
|
||||
#$(info OSARCH = $(OSARCH))
|
||||
ifdef POCO_VERBOSE
|
||||
$(info OSARCH = $(OSARCH))
|
||||
endif
|
||||
|
||||
.PHONY: poco all libexecs cppunit tests samples cleans clean distclean install
|
||||
|
||||
|
||||
Reference in New Issue
Block a user