- Timestamp:
- May 4, 2009 3:38:31 AM (16 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Builtins.cpp
r19183 r19317 223 223 if (RT_FAILURE(rc)) 224 224 return rc; 225 #ifndef RT_OS_L4 225 #if !defined(RT_OS_L4) 226 # if !defined(VBOX_WITH_NAT_SERVICE) 226 227 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvNAT); 227 228 if (RT_FAILURE(rc)) 228 229 return rc; 230 # endif 229 231 #endif 230 232 #if defined(RT_OS_LINUX) -
trunk/src/VBox/Devices/Builtins.h
r19183 r19317 105 105 #endif 106 106 extern const PDMDRVREG g_DrvIntNet; 107 #ifndef VBOX_WITH_NAT_SERVICE 107 108 extern const PDMDRVREG g_DrvNAT; 109 #endif 108 110 extern const PDMDRVREG g_DrvNetSniffer; 109 111 extern const PDMDRVREG g_DrvAUDIO; -
trunk/src/VBox/Devices/Makefile.kmk
r19272 r19317 136 136 endif 137 137 ifdef VBOX_WITH_ISCSI 138 VBoxDD_DEFS += VBOX_WITH_ISCSI138 VBoxDD_DEFS += VBOX_WITH_ISCSI 139 139 ifdef VBOX_WITH_INIP 140 140 VBoxDD_DEFS += VBOX_WITH_INIP … … 626 626 Drivers_DEFS += VBOX_WITH_FAULT_INJECTION 627 627 endif 628 628 629 Drivers_INCS := \ 629 $(PATH_SUB_CURRENT) \ 630 Network/slirp 630 $(PATH_SUB_CURRENT) 631 631 Drivers_SOURCES = \ 632 632 Audio/audio.c \ … … 651 651 Network/Pcap.cpp 652 652 653 Drivers_INCS += Network/slirp 654 655 ifndef VBOX_WITH_NAT_SERVICE 653 656 VBOX_SLIRP_SOURCES = \ 654 657 Network/DrvNAT.cpp \ … … 674 677 VBOX_WITH_SLIRP_DNS_PROXY=1 675 678 676 ifdef VBOX_WITH_SLIRP_DNS_PROXY679 ifdef VBOX_WITH_SLIRP_DNS_PROXY 677 680 VBOX_SLIRP_SOURCES += \ 678 681 Network/slirp/dnsproxy/hash.c \ 679 682 Network/slirp/dnsproxy/dnsproxy.c 680 endif683 endif 681 684 682 685 # some day will be deleted … … 684 687 685 688 Drivers_SOURCES += $(VBOX_SLIRP_SOURCES) 686 define def_vbox_slirp_cflags687 $(file)_DEFS += \689 define def_vbox_slirp_cflags 690 $(file)_DEFS += \ 688 691 $(if $(VBOX_WITH_SLIRP_MEMORY_CHECK),RTMEM_WRAP_TO_EF_APIS,) \ 689 692 $(if $(VBOX_WITH_DEBUG_NAT_SOCKETS),VBOX_WITH_DEBUG_NAT_SOCKETS,) \ … … 691 694 $(if $(VBOX_WITH_SLIRP_DNS_PROXY),VBOX_WITH_SLIRP_DNS_PROXY,) \ 692 695 $(if $(VBOX_WITH_SLIRP_MT),VBOX_WITH_SLIRP_MT,) 693 ifeq ($(KBUILD_TARGET),win)694 $(file)_CFLAGS = -wd4018695 else696 $(file)_CFLAGS = -Wno-sign-compare697 endif698 endef696 ifeq ($(KBUILD_TARGET),win) 697 $(file)_CFLAGS = -wd4018 698 else 699 $(file)_CFLAGS = -Wno-sign-compare 700 endif 701 endef 699 702 $(foreach file,$(VBOX_SLIRP_SOURCES),$(eval $(def_vbox_slirp_cflags))) 703 else 704 Drivers_DEFS += VBOX_WITH_NAT_SERVICE 705 VBoxDD_DEFS += VBOX_WITH_NAT_SERVICE 706 endif 700 707 701 708 # -- OS specific --
Note:
See TracChangeset
for help on using the changeset viewer.