Changeset 16991 in vbox
- Timestamp:
- Feb 22, 2009 12:32:37 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/Makefile.kmk
r16990 r16991 71 71 # Find the gSOAP toolkit. 72 72 # 73 # Note! We're not using the gSOAP toolkit correctly. The main issue is that 74 # compiling soapcpp2.cpp instead of using the library. So, in order 75 # to make this work with a locally installed gSOAP toolkit there are 76 # some hoops to jump thru to say the least... Shipping soapcpp2.cpp/h 77 # is out of the question without also including the two soap tools. 78 # 73 79 ifeq ($(VBOX_GSOAP_INSTALLED),) 74 80 VBOX_GSOAP_INSTALLED = 1 75 VBOX_PATH_GSOAP := $(lastword $(sort $(wildcard $(KBUILD_DEVTOOLS _HST)/gsoap/*)))81 VBOX_PATH_GSOAP := $(lastword $(sort $(wildcard $(KBUILD_DEVTOOLS)/common/gsoap/*))) 76 82 ifeq ($(VBOX_PATH_GSOAP),) 77 ifdef KBUILD_DEVTOOLS_HST 78 VBOX_PATH_GSOAP := $(lastword $(sort $(wildcard $(KBUILD_DEVTOOLS_HST_ALT)/gsoap/*))) 79 endif 83 VBOX_PATH_GSOAP := $(lastword $(sort $(wildcard $(KBUILD_DEVTOOLS_HST)/gsoap/*))) 84 endif 85 if "$(VBOX_PATH_GSOAP)" == "" && defined(KBUILD_DEVTOOLS_HST) 86 VBOX_PATH_GSOAP := $(lastword $(sort $(wildcard $(KBUILD_DEVTOOLS_HST_ALT)/gsoap/*))) 80 87 endif 81 88 ifeq ($(VBOX_PATH_GSOAP),) … … 86 93 VBOX_PATH_GSOAP := $(VBOX_PATH_GSOAP) 87 94 endif 88 VBOX_PATH_GSOAP_BIN := $(strip $(if $(VBOX_PATH_GSOAP_BIN), $(VBOX_PATH_GSOAP_BIN), $(VBOX_PATH_GSOAP)/bin)) 95 VBOX_PATH_GSOAP_BIN := $(strip $(VBOX_PATH_GSOAP_BIN)) 96 if "$(VBOX_PATH_GSOAP_BIN)" == "" 97 VBOX_PATH_GSOAP_BIN := $(VBOX_PATH_GSOAP)/bin 98 if "$(KBUILD_HOST)" == "darwin" 99 VBOX_PATH_GSOAP_BIN := $(VBOX_PATH_GSOAP_BIN)/macosx 100 else if "$(KBUILD_HOST)" == "win" 101 VBOX_PATH_GSOAP_BIN := $(VBOX_PATH_GSOAP_BIN)/win32 102 else if "$(KBUILD_HOST)" == "linux" 103 VBOX_PATH_GSOAP_BIN := $(VBOX_PATH_GSOAP_BIN)/linux386 104 else 105 VBOX_PATH_GSOAP_BIN := $(VBOX_PATH_GSOAP_BIN)/$(KBUILD_HOST) 106 endif 107 if !exists($(VBOX_PATH_GSOAP_BIN)) 108 VBOX_PATH_GSOAP_BIN := $(VBOX_PATH_GSOAP)/bin 109 endif 110 endif 111 VBOX_SOAPCPP2 := $(VBOX_PATH_GSOAP_BIN)/soapcpp2$(HOSTSUFF_EXE) 112 VBOX_WSDL2H := $(VBOX_PATH_GSOAP_BIN)/wsdl2h$(HOSTSUFF_EXE) 113 89 114 VBOX_PATH_GSOAP_IMPORT := $(strip $(if $(VBOX_PATH_GSOAP_IMPORT),$(VBOX_PATH_GSOAP_IMPORT),$(VBOX_PATH_GSOAP)/import)) 90 115 VBOX_GSOAP_INCS := $(strip $(if $(VBOX_GSOAP_INCS), $(VBOX_GSOAP_INCS), $(VBOX_PATH_GSOAP) $(VBOX_PATH_GSOAP_IMPORT) )) 91 116 VBOX_GSOAP_CXX_SOURCES := $(strip $(if $(VBOX_GSOAP_CXX_SOURCES),$(VBOX_GSOAP_CXX_SOURCES),$(VBOX_PATH_GSOAP)/stdsoap2.cpp)) 92 VBOX_SOAPCPP2 := $(VBOX_PATH_GSOAP_BIN)/soapcpp2$(HOSTSUFF_EXE)93 VBOX_WSDL2H := $(VBOX_PATH_GSOAP_BIN)/wsdl2h$(HOSTSUFF_EXE)94 117 95 118
Note:
See TracChangeset
for help on using the changeset viewer.