mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
build fixes
This commit is contained in:
parent
bad56c3336
commit
15d1d0f1a2
@ -1,4 +1,5 @@
|
|||||||
Net
|
Net
|
||||||
Util
|
Util
|
||||||
XML
|
XML
|
||||||
|
JSON
|
||||||
Foundation
|
Foundation
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
Net
|
Net
|
||||||
Util
|
Util
|
||||||
XML
|
XML
|
||||||
|
JSON
|
||||||
Foundation
|
Foundation
|
||||||
|
@ -12,6 +12,6 @@ objects = StringTokenizer
|
|||||||
|
|
||||||
target = StringTokenizer
|
target = StringTokenizer
|
||||||
target_version = 1
|
target_version = 1
|
||||||
target_libs = PocoJSON PocoXML PocoFoundation
|
target_libs = PocoFoundation
|
||||||
|
|
||||||
include $(POCO_BASE)/build/rules/exec
|
include $(POCO_BASE)/build/rules/exec
|
||||||
|
@ -12,6 +12,6 @@ objects = URI
|
|||||||
|
|
||||||
target = URI
|
target = URI
|
||||||
target_version = 1
|
target_version = 1
|
||||||
target_libs = PocoJSON PocoXML PocoFoundation
|
target_libs = PocoFoundation
|
||||||
|
|
||||||
include $(POCO_BASE)/build/rules/exec
|
include $(POCO_BASE)/build/rules/exec
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
Foundation
|
Foundation
|
||||||
XML
|
XML
|
||||||
|
JSON
|
||||||
Util
|
Util
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
Net
|
Net
|
||||||
Util
|
Util
|
||||||
XML
|
XML
|
||||||
|
JSON
|
||||||
Foundation
|
Foundation
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
Net
|
Net
|
||||||
Util
|
Util
|
||||||
XML
|
XML
|
||||||
|
JSON
|
||||||
Foundation
|
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
|
Util
|
||||||
CppParser
|
CppParser
|
||||||
XML
|
XML
|
||||||
|
JSON
|
||||||
Foundation
|
Foundation
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
Foundation
|
Foundation
|
||||||
Util
|
Util
|
||||||
XML
|
XML
|
||||||
|
JSON
|
@ -2,3 +2,4 @@ Foundation
|
|||||||
Net
|
Net
|
||||||
Util
|
Util
|
||||||
XML
|
XML
|
||||||
|
JSON
|
@ -209,17 +209,23 @@ ifndef POCO_BASE
|
|||||||
$(warning WARNING: POCO_BASE is not defined. Assuming current directory.)
|
$(warning WARNING: POCO_BASE is not defined. Assuming current directory.)
|
||||||
export POCO_BASE=$(shell pwd)
|
export POCO_BASE=$(shell pwd)
|
||||||
endif
|
endif
|
||||||
#$(info POCO_BASE = $(POCO_BASE))
|
ifdef POCO_VERBOSE
|
||||||
|
$(info POCO_BASE = $(POCO_BASE))
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef POCO_PREFIX
|
ifndef POCO_PREFIX
|
||||||
export POCO_PREFIX=/usr/local
|
export POCO_PREFIX=/usr/local
|
||||||
endif
|
endif
|
||||||
#$(info POCO_PREFIX=$(POCO_PREFIX))
|
ifdef POCO_VERBOSE
|
||||||
|
$(info POCO_PREFIX=$(POCO_PREFIX))
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef POCO_BUILD
|
ifndef POCO_BUILD
|
||||||
export POCO_BUILD=$(POCO_BASE)
|
export POCO_BUILD=$(POCO_BASE)
|
||||||
endif
|
endif
|
||||||
#$(info POCO_BUILD = $(POCO_BUILD))
|
ifdef POCO_VERBOSE
|
||||||
|
$(info POCO_BUILD = $(POCO_BUILD))
|
||||||
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Determine OS
|
# Determine OS
|
||||||
@ -232,10 +238,14 @@ endif
|
|||||||
ifeq ($(findstring MINGW,$(POCO_HOST_OSNAME)),MINGW)
|
ifeq ($(findstring MINGW,$(POCO_HOST_OSNAME)),MINGW)
|
||||||
POCO_HOST_OSNAME = MinGW
|
POCO_HOST_OSNAME = MinGW
|
||||||
endif
|
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 ' ' _))
|
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
|
# 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
|
ifndef POCO_CONFIG
|
||||||
POCO_CONFIG = $(POCO_HOST_OSNAME)
|
POCO_CONFIG = $(POCO_HOST_OSNAME)
|
||||||
endif
|
endif
|
||||||
#$(info POCO_CONFIG = $(POCO_CONFIG))
|
ifdef POCO_VERBOSE
|
||||||
|
$(info POCO_CONFIG = $(POCO_CONFIG))
|
||||||
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Include System Specific Settings
|
# Include System Specific Settings
|
||||||
@ -258,14 +270,18 @@ OSNAME := $(POCO_HOST_OSNAME)
|
|||||||
else
|
else
|
||||||
OSNAME := $(POCO_TARGET_OSNAME)
|
OSNAME := $(POCO_TARGET_OSNAME)
|
||||||
endif
|
endif
|
||||||
#$(info OSNAME = $(OSNAME))
|
ifdef POCO_VERBOSE
|
||||||
|
$(info OSNAME = $(OSNAME))
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef POCO_TARGET_OSARCH
|
ifndef POCO_TARGET_OSARCH
|
||||||
OSARCH := $(POCO_HOST_OSARCH)
|
OSARCH := $(POCO_HOST_OSARCH)
|
||||||
else
|
else
|
||||||
OSARCH := $(POCO_TARGET_OSARCH)
|
OSARCH := $(POCO_TARGET_OSARCH)
|
||||||
endif
|
endif
|
||||||
#$(info OSARCH = $(OSARCH))
|
ifdef POCO_VERBOSE
|
||||||
|
$(info OSARCH = $(OSARCH))
|
||||||
|
endif
|
||||||
|
|
||||||
.PHONY: poco all libexecs cppunit tests samples cleans clean distclean install
|
.PHONY: poco all libexecs cppunit tests samples cleans clean distclean install
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user