VirtualBox

Changeset 19978 in vbox


Ignore:
Timestamp:
May 25, 2009 12:19:23 AM (16 years ago)
Author:
vboxsync
Message:

NAT: Rule to compile libalias with Slirp, switchable with VBOX_WITH_SLIRP_ALIAS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Makefile.kmk

    r19968 r19978  
    693693        Network/slirp/udp.c
    694694
     695VBOX_SLIRP_ALIAS_SOURCES= \
     696    Network/slirp/libalias/alias.c \
     697    Network/slirp/libalias/alias_db.c \
     698    Network/slirp/libalias/alias_mod.c \
     699    Network/slirp/libalias/alias_proxy.c \
     700    Network/slirp/libalias/alias_util.c
     701
     702ifdef VBOX_WITH_SLIRP_ALIAS
     703VBOX_SLIRP_SOURCES += $(VBOX_SLIRP_ALIAS_SOURCES)
     704Drivers_INCS += Network/slirp/libalias
     705define def_vbox_slirp_alias_cflags
     706  $(file)_DEFS += VBOX_SLIRP_ALIAS
     707endef
     708$(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(def_vbox_slirp_alias_cflags)))
     709endif
     710
    695711VBOX_WITH_SLIRP_DNS_PROXY=1
    696712
     
    709725  $(file)_DEFS += \
    710726      $(if $(VBOX_WITH_SLIRP_MEMORY_CHECK),RTMEM_WRAP_TO_EF_APIS,) \
     727      $(if $(VBOX_WITH_SLIRP_ALIAS),VBOX_WITH_SLIRP_ALIAS,) \
    711728      $(if $(VBOX_WITHOUT_SLIRP_CLIENT_ETHER),VBOX_WITHOUT_SLIRP_CLIENT_ETHER,) \
    712729      $(if $(VBOX_WITH_DEBUG_NAT_SOCKETS),VBOX_WITH_DEBUG_NAT_SOCKETS,) \
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