Changeset 47992 in vbox for trunk/src/VBox
- Timestamp:
- Aug 22, 2013 2:38:19 PM (11 years ago)
- Location:
- trunk/src/VBox/NetworkServices/NAT
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/Makefile.kmk
r47897 r47992 17 17 SUB_DEPTH = ../../../.. 18 18 include $(KBUILD_PATH)/subheader.kmk 19 #20 # Disable Slirp based service.21 #ifdef VBOX_WITH_HARDENING22 # PROGRAMS += VBoxNetSlirpNATHardened23 # DLLS += VBoxNetSlirpNAT24 #else25 # PROGRAMS += VBoxNetSlirpNAT26 #endif27 VBoxNetSlirpNAT_TEMPLATE =28 VBoxNetSlirpNAT_TEMPLATE := VBOXR3$(if-expr defined(VBOX_WITH_HARDENING),,EXE)29 VBoxNetSlirpNAT_INCS = ../../Devices/Network/slirp30 VBoxNetSlirpNAT_DEFS = VBOX_WITH_NAT_SERVICE31 VBoxNetSlirpNAT_SOURCES += VBoxNetSlirpNAT.cpp32 VBoxNetSlirpNAT_DEFS += VBOX_WITH_NAT_SERVICE33 34 #define def_vbox_slirp_service_cflags35 # $(file)_DEFS += VBOX_WITH_NAT_SERVICE36 #endef37 19 38 20 define def_vbox_nat_network_service_sources … … 43 25 $(1)_INCS += $2/$3 44 26 endef 45 46 VBOX_NOT_IN_NATSERVICE = Network/DrvNAT.cpp47 $(foreach file,$(filter-out $(VBOX_NOT_IN_NATSERVICE), $(VBOX_SLIRP_SOURCES)),$(eval $(call def_vbox_nat_network_service_sources,VBoxNetSlirpNAT,../../Devices,$(file))))48 $(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(call def_vbox_nat_network_service_sources, VBoxSlirpNetNAT,../../Devices,$(file))))49 $(foreach file,$(VBOX_SLIRP_BSD_SOURCES),$(eval $(call def_vbox_nat_network_service_sources, VBoxNetSlirpNAT,../../Devices,$(file))))50 51 $(foreach file,$(addprefix ../../Devices/, $(VBOX_SLIRP_BSD_SOURCES)),$(eval $(call def_vbox_slirp_cflags,../../Devices/Network)))52 $(foreach file,$(addprefix ../../Devices/, $(VBOX_SLIRP_BSD_SOURCES)),$(eval $(call def_vbox_slirp_bsd_cflags,../../Devices/Network)))53 $(foreach file,$(addprefix ../../Devices/, $(filter-out $(VBOX_WITH_NAT_SERVICE), $(VBOX_SLIRP_SOURCES))),$(eval $(call def_vbox_slirp_service_cflags, ../../Devices/Network)))54 $(foreach file,$(addprefix ../../Devices/, $(filter-out $(VBOX_WITH_NAT_SERVICE), $(VBOX_SLIRP_SOURCES))),$(eval $(call def_vbox_slirp_cflags,../../Devices/Network)))55 56 $(foreach file,$(addprefix ../../Devices/, $(VBOX_SLIRP_ALIAS_SOURCES)),$(eval $(call def_vbox_slirp_cflags, ../../Devices/Network)))57 58 59 $(foreach file,$(addprefix ../../Devices/, $(VBOX_SLIRP_ALIAS_SOURCES)),$(eval $(call def_vbox_slirp_alias_cflags, ../../Devices/Network)))60 61 VBoxNetSlirpNAT_SOURCES += ../NetLib/VBoxNetBaseService.cpp62 63 VBoxNetSlirpNAT_LIBS = \64 $(LIB_RUNTIME)65 VBoxNetSlirpNAT_LDFLAGS.win = /SUBSYSTEM:windows66 27 67 28 ifdef VBOX_WITH_LWIP_NAT
Note:
See TracChangeset
for help on using the changeset viewer.