VirtualBox

Changeset 20452 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 10, 2009 1:38:40 AM (16 years ago)
Author:
vboxsync
Message:

NAT: Make Devices less dependend on changes in NAT

File:
1 edited

Legend:

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

    r20403 r20452  
    723723        Network/slirp/libalias/alias_util.c
    724724
    725 ifdef VBOX_WITH_SLIRP_ALIAS
    726 VBOX_SLIRP_SOURCES += $(VBOX_SLIRP_ALIAS_SOURCES)
    727 Drivers_INCS += Network/slirp/libalias
    728 define def_vbox_slirp_alias_cflags
    729   $(file)_DEFS += VBOX_SLIRP_ALIAS
    730 endef
    731 $(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(def_vbox_slirp_alias_cflags)))
    732 endif
    733725
    734726VBOX_WITH_SLIRP_DNS_PROXY=1
     
    754746      $(if $(VBOX_WITH_SLIRP_DNS_PROXY),VBOX_WITH_SLIRP_DNS_PROXY,)     \
    755747      $(if $(VBOX_WITH_SLIRP_MT),VBOX_WITH_SLIRP_MT,)
     748 ifdef VBOX_WITH_SLIRP_ALIAS
     749  $(file)_INCS += Network/slirp/libalias
     750 endif
    756751 ifeq ($(KBUILD_TARGET),win)
    757752  $(file)_CFLAGS = -wd4018
     
    761756endef
    762757$(foreach file,$(VBOX_SLIRP_SOURCES),$(eval $(def_vbox_slirp_cflags)))
     758
     759ifdef VBOX_WITH_SLIRP_ALIAS
     760Drivers_SOURCES += $(VBOX_SLIRP_ALIAS_SOURCES)
     761define def_vbox_slirp_alias_cflags
     762  $(file)_DEFS += VBOX_SLIRP_ALIAS
     763  $(file)_INCS += Network/slirp/libalias
     764  $(file)_INCS += Network/slirp
     765  $(file)_INCS += Network/slirp/dnsproxy
     766endef
     767$(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(def_vbox_slirp_cflags)))
     768$(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(def_vbox_slirp_alias_cflags)))
     769endif
    763770
    764771# -- OS specific --
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