VirtualBox

Changeset 16990 in vbox


Ignore:
Timestamp:
Feb 21, 2009 11:35:53 PM (16 years ago)
Author:
vboxsync
Message:

webservice: prep for gSOAP upgrade: getting rid of the checked in standard gSOAP stuff and import.

Location:
trunk/src/VBox/Main/webservice
Files:
1 deleted
1 edited

Legend:

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

    r16676 r16990  
    6969
    7070#
    71 # Find the gSOAP tools.
     71# Find the gSOAP toolkit.
    7272#
    7373ifeq ($(VBOX_GSOAP_INSTALLED),)
    7474 VBOX_GSOAP_INSTALLED = 1
    75  VBOX_PATH_GSOAP   := $(lastword $(sort $(wildcard $(PATH_DEVTOOLS_BLD)/gsoap/*)))
     75 VBOX_PATH_GSOAP := $(lastword $(sort $(wildcard $(KBUILD_DEVTOOLS_HST)/gsoap/*)))
    7676 ifeq ($(VBOX_PATH_GSOAP),)
    77   ifeq ($(KBUILD_HOST_ARCH),amd64)
    78    VBOX_PATH_GSOAP  := $(lastword $(sort $(wildcard $(PATH_DEVTOOLS)/$(KBUILD_HOST).x86/gsoap/*)))
     77  ifdef KBUILD_DEVTOOLS_HST
     78   VBOX_PATH_GSOAP := $(lastword $(sort $(wildcard $(KBUILD_DEVTOOLS_HST_ALT)/gsoap/*)))
    7979  endif
    8080 endif
    8181 ifeq ($(VBOX_PATH_GSOAP),)
    8282  $(warning VBOX_PATH_GSOAP not found...)
    83   VBOX_GSOAP_INSTALLED=
    84  else
    85   VBOX_PATH_GSOAP_BIN = $(VBOX_PATH_GSOAP)/bin
     83  VBOX_GSOAP_INSTALLED =
    8684 endif
    8785else
    88  VBOX_PATH_GSOAP     := $(VBOX_PATH_GSOAP)
    89  VBOX_PATH_GSOAP_BIN := $(VBOX_PATH_GSOAP)
     86 VBOX_PATH_GSOAP       := $(VBOX_PATH_GSOAP)
    9087endif
    91 VBOX_SOAPCPP2 = $(VBOX_PATH_GSOAP_BIN)/soapcpp2$(HOSTSUFF_EXE)
    92 VBOX_WSDL2H   = $(VBOX_PATH_GSOAP_BIN)/wsdl2h$(HOSTSUFF_EXE)
     88VBOX_PATH_GSOAP_BIN    := $(strip $(if $(VBOX_PATH_GSOAP_BIN),   $(VBOX_PATH_GSOAP_BIN),   $(VBOX_PATH_GSOAP)/bin))
     89VBOX_PATH_GSOAP_IMPORT := $(strip $(if $(VBOX_PATH_GSOAP_IMPORT),$(VBOX_PATH_GSOAP_IMPORT),$(VBOX_PATH_GSOAP)/import))
     90VBOX_GSOAP_INCS        := $(strip $(if $(VBOX_GSOAP_INCS),       $(VBOX_GSOAP_INCS),       $(VBOX_PATH_GSOAP) $(VBOX_PATH_GSOAP_IMPORT) ))
     91VBOX_GSOAP_CXX_SOURCES := $(strip $(if $(VBOX_GSOAP_CXX_SOURCES),$(VBOX_GSOAP_CXX_SOURCES),$(VBOX_PATH_GSOAP)/stdsoap2.cpp))
     92VBOX_SOAPCPP2          := $(VBOX_PATH_GSOAP_BIN)/soapcpp2$(HOSTSUFF_EXE)
     93VBOX_WSDL2H            := $(VBOX_PATH_GSOAP_BIN)/wsdl2h$(HOSTSUFF_EXE)
    9394
    9495
     
    152153 endif
    153154 vboxsoap_INCS := \
    154         gsoap \
     155        $(VBOX_GSOAP_INCS) \
    155156        $(VBOXWEB_OUT_DIR) \
    156157        $(PATH_SUB_CURRENT)
     
    183184 vboxsoap_CLEAN := $(vboxsoap_SOURCES) # lazy bird
    184185 vboxsoap_SOURCES += \
    185         gsoap/stdsoap2.cpp
     186        $(VBOX_GSOAP_CXX_SOURCES)
    186187
    187188 vboxsoap_ORDERDEPS = \
     
    212213 vboxwebsrv_DEFS += SOCKET_CLOSE_ON_EXEC
    213214 vboxwebsrv_INCS = \
    214         gsoap \
     215        $(VBOX_GSOAP_INCS) \
    215216        $(VBOXWEB_OUT_DIR) \
    216217        .
     
    245246 endif
    246247 webtest_INCS := \
    247      gsoap \
     248     $(VBOX_GSOAP_INCS) \
    248249     $(VBOXWEB_OUT_DIR) \
    249250     .
     
    455456        $(call MSG_GENERATE,,lots of files,$(GSOAPH_RELEVANT))
    456457        $(RM) -f $@
    457         $(REDIRECT) -C $(VBOXWEB_OUT_DIR) -- $(VBOX_SOAPCPP2) $(VBOXWEB_SOAPCPP2_SKIP_FILES) -L -w -I$(VBOX_PATH_WEBSERVICE)/gsoap $(GSOAPH_RELEVANT)
     458        $(REDIRECT) -C $(VBOXWEB_OUT_DIR) -- $(VBOX_SOAPCPP2) $(VBOXWEB_SOAPCPP2_SKIP_FILES) -L -w -I$(VBOX_PATH_GSOAP_IMPORT) $(GSOAPH_RELEVANT)
    458459        $(APPEND) $@ done
    459460
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