mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-27 00:35:23 +01:00
build fixes
This commit is contained in:
parent
bad56c3336
commit
15d1d0f1a2
@ -1,4 +1,5 @@
|
||||
Net
|
||||
Util
|
||||
XML
|
||||
JSON
|
||||
Foundation
|
||||
|
@ -1,4 +1,5 @@
|
||||
Net
|
||||
Util
|
||||
XML
|
||||
JSON
|
||||
Foundation
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,4 @@
|
||||
Foundation
|
||||
XML
|
||||
JSON
|
||||
Util
|
||||
|
@ -1,4 +1,5 @@
|
||||
Net
|
||||
Util
|
||||
XML
|
||||
JSON
|
||||
Foundation
|
||||
|
@ -1,4 +1,5 @@
|
||||
Net
|
||||
Util
|
||||
XML
|
||||
JSON
|
||||
Foundation
|
||||
|
4
PageCompiler/samples/dependencies
Normal file
4
PageCompiler/samples/dependencies
Normal file
@ -0,0 +1,4 @@
|
||||
Foundation
|
||||
Net
|
||||
Util
|
||||
PageCompiler
|
@ -1,4 +1,5 @@
|
||||
Util
|
||||
CppParser
|
||||
XML
|
||||
JSON
|
||||
Foundation
|
||||
|
@ -1,3 +1,4 @@
|
||||
Foundation
|
||||
Util
|
||||
XML
|
||||
JSON
|
@ -2,3 +2,4 @@ Foundation
|
||||
Net
|
||||
Util
|
||||
XML
|
||||
JSON
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user