build fixes

This commit is contained in:
Guenter Obiltschnig 2016-03-05 14:29:34 +01:00
parent bad56c3336
commit 15d1d0f1a2
12 changed files with 38 additions and 10 deletions

View File

@ -1,4 +1,5 @@
Net
Util
XML
JSON
Foundation

View File

@ -1,4 +1,5 @@
Net
Util
XML
JSON
Foundation

View File

@ -12,6 +12,6 @@ objects = StringTokenizer
target = StringTokenizer
target_version = 1
target_libs = PocoJSON PocoXML PocoFoundation
target_libs = PocoFoundation
include $(POCO_BASE)/build/rules/exec

View File

@ -12,6 +12,6 @@ objects = URI
target = URI
target_version = 1
target_libs = PocoJSON PocoXML PocoFoundation
target_libs = PocoFoundation
include $(POCO_BASE)/build/rules/exec

View File

@ -1,3 +1,4 @@
Foundation
XML
JSON
Util

View File

@ -1,4 +1,5 @@
Net
Util
XML
JSON
Foundation

View File

@ -1,4 +1,5 @@
Net
Util
XML
JSON
Foundation

View File

@ -0,0 +1,4 @@
Foundation
Net
Util
PageCompiler

View File

@ -1,4 +1,5 @@
Util
CppParser
XML
JSON
Foundation

View File

@ -1,3 +1,4 @@
Foundation
Util
XML
JSON

View File

@ -2,3 +2,4 @@ Foundation
Net
Util
XML
JSON

View File

@ -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