VirtualBox

Changeset 16991 in vbox


Ignore:
Timestamp:
Feb 22, 2009 12:32:37 AM (16 years ago)
Author:
vboxsync
Message:

tools,webservice: Updated to gSOAP 2.7.12.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/Makefile.kmk

    r16990 r16991  
    7171# Find the gSOAP toolkit.
    7272#
     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#
    7379ifeq ($(VBOX_GSOAP_INSTALLED),)
    7480 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/*)))
    7682 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/*)))
    8087 endif
    8188 ifeq ($(VBOX_PATH_GSOAP),)
     
    8693 VBOX_PATH_GSOAP       := $(VBOX_PATH_GSOAP)
    8794endif
    88 VBOX_PATH_GSOAP_BIN    := $(strip $(if $(VBOX_PATH_GSOAP_BIN),   $(VBOX_PATH_GSOAP_BIN),   $(VBOX_PATH_GSOAP)/bin))
     95VBOX_PATH_GSOAP_BIN    := $(strip $(VBOX_PATH_GSOAP_BIN))
     96if "$(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
     110endif
     111VBOX_SOAPCPP2          := $(VBOX_PATH_GSOAP_BIN)/soapcpp2$(HOSTSUFF_EXE)
     112VBOX_WSDL2H            := $(VBOX_PATH_GSOAP_BIN)/wsdl2h$(HOSTSUFF_EXE)
     113
    89114VBOX_PATH_GSOAP_IMPORT := $(strip $(if $(VBOX_PATH_GSOAP_IMPORT),$(VBOX_PATH_GSOAP_IMPORT),$(VBOX_PATH_GSOAP)/import))
    90115VBOX_GSOAP_INCS        := $(strip $(if $(VBOX_GSOAP_INCS),       $(VBOX_GSOAP_INCS),       $(VBOX_PATH_GSOAP) $(VBOX_PATH_GSOAP_IMPORT) ))
    91116VBOX_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)
    94117
    95118
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette