VirtualBox

Changeset 18801 in vbox for trunk/src/VBox/Main/webservice


Ignore:
Timestamp:
Apr 7, 2009 10:33:10 AM (16 years ago)
Author:
vboxsync
Message:

webservices: allow to override VBOX_GSOAP_CXX_SOURCES and VBOX_GSOAP_CXX_LIBS with empty values; add VBOX_GSOAP_CXX_LIBS when linking the binaries (adding this to vboxsoap does not work without hacks)

File:
1 edited

Legend:

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

    r18694 r18801  
    125125
    126126VBOX_PATH_GSOAP_IMPORT := $(strip $(if $(VBOX_PATH_GSOAP_IMPORT),$(VBOX_PATH_GSOAP_IMPORT),$(VBOX_PATH_GSOAP)/import))
    127 VBOX_GSOAP_INCS        := $(strip $(if $(VBOX_GSOAP_INCS),       $(VBOX_GSOAP_INCS),       $(VBOX_PATH_GSOAP) $(VBOX_PATH_GSOAP_IMPORT) ))
    128 VBOX_GSOAP_CXX_SOURCES := $(strip $(if $(VBOX_GSOAP_CXX_SOURCES),$(VBOX_GSOAP_CXX_SOURCES),$(VBOX_PATH_GSOAP)/stdsoap2.cpp))
    129 VBOX_GSOAP_CXX_LIBS    := $(strip $(if $(VBOX_GSOAP_CXX_LIBS),   $(VBOX_GSOAP_CXX_LIBS),))
     127VBOX_GSOAP_INCS        := $(strip $(if $(VBOX_GSOAP_INCS),$(VBOX_GSOAP_INCS),$(VBOX_PATH_GSOAP) $(VBOX_PATH_GSOAP_IMPORT) ))
     128# note: $(if $(defined FOO)) does not work here!
     129VBOX_GSOAP_CXX_SOURCES := $(strip $(if-expr "$(origin VBOX_GSOAP_CXX_SOURCES)" != "undefined",$(VBOX_GSOAP_CXX_SOURCES),$(VBOX_PATH_GSOAP)/stdsoap2.cpp))
     130VBOX_GSOAP_CXX_LIBS    := $(strip $(if-expr "$(origin VBOX_GSOAP_CXX_LIBS)" != "undefined",$(VBOX_GSOAP_CXX_LIBS),))
    130131
    131132
     
    220221 vboxsoap_SOURCES += \
    221222        $(VBOX_GSOAP_CXX_SOURCES)
    222  vboxsoap_LIBS += \
    223         $(VBOX_GSOAP_CXX_LIBS)
    224223 vboxsoap_ORDERDEPS = \
    225224        $(VBOXWEB_IDL_SRC) \
     
    256255 endif
    257256 vboxwebsrv_LIBS += \
    258         $(PATH_LIB)/vboxsoap$(VBOX_SUFF_LIB)
     257        $(PATH_LIB)/vboxsoap$(VBOX_SUFF_LIB) \
     258        $(VBOX_GSOAP_CXX_LIBS)
    259259 vboxwebsrv_LIBS.solaris += socket nsl
    260260 vboxwebsrv_SOURCES = \
     
    284284     .
    285285 webtest_LIBS += \
    286         $(PATH_LIB)/vboxsoap$(VBOX_SUFF_LIB)
     286        $(PATH_LIB)/vboxsoap$(VBOX_SUFF_LIB) \
     287        $(VBOX_GSOAP_CXX_LIBS)
    287288 webtest_LIBS.solaris += nsl
    288289 webtest_SOURCES = \
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