VirtualBox

source: vbox/trunk/src/VBox/NetworkServices/NAT/Makefile.kmk@ 31516

最後變更 在這個檔案從31516是 31516,由 vboxsync 提交於 14 年 前

split line.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.1 KB
 
1SUB_DEPTH = ../../../..
2include $(KBUILD_PATH)/subheader.kmk
3
4ifdef VBOX_WITH_HARDENING
5 PROGRAMS += VBoxNetNATHardened
6 DLLS += VBoxNetNAT
7else
8 PROGRAMS += VBoxNetNAT
9endif
10VBoxNetNAT_TEMPLATE =
11VBoxNetNAT_TEMPLATE := VBOXR3$(if-expr defined(VBOX_WITH_HARDENING),,EXE)
12VBoxNetNAT_INCS = ../../Devices/Network/slirp
13VBoxNetNAT_DEFS = VBOX_WITH_NAT_SERVICE
14VBoxNetNAT_SOURCES += VBoxNetNAT.cpp
15VBoxNetNAT_DEFS += VBOX_WITH_NAT_SERVICE
16
17#define def_vbox_slirp_service_cflags
18# $(file)_DEFS += VBOX_WITH_NAT_SERVICE
19#endef
20
21define def_vbox_slirp_service_sources
22 VBoxNetNAT_SOURCES += $1/$(file)
23endef
24VBOX_NOT_IN_NATSERVICE = Network/DrvNAT.cpp
25$(foreach file,$(filter-out $(VBOX_NOT_IN_NATSERVICE), $(VBOX_SLIRP_SOURCES)),$(eval $(call def_vbox_slirp_service_sources, ../../Devices)))
26$(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(call def_vbox_slirp_service_sources, ../../Devices)))
27$(foreach file,$(VBOX_SLIRP_BSD_SOURCES),$(eval $(call def_vbox_slirp_service_sources, ../../Devices)))
28
29$(foreach file,$(addprefix ../../Devices/, $(VBOX_SLIRP_BSD_SOURCES)),$(eval $(call def_vbox_slirp_cflags, ../../Devices/Network)))
30$(foreach file,$(addprefix ../../Devices/, $(VBOX_SLIRP_BSD_SOURCES)),$(eval $(call def_vbox_slirp_bsd_cflags, ../../Devices/Network)))
31$(foreach file,$(addprefix ../../Devices/, $(filter-out $(VBOX_WITH_NAT_SERVICE), $(VBOX_SLIRP_SOURCES))),$(eval $(call def_vbox_slirp_service_cflags, ../../Devices/Network)))
32$(foreach file,$(addprefix ../../Devices/, $(filter-out $(VBOX_WITH_NAT_SERVICE), $(VBOX_SLIRP_SOURCES))),$(eval $(call def_vbox_slirp_cflags, ../../Devices/Network)))
33$(foreach file,$(addprefix ../../Devices/, $(VBOX_SLIRP_ALIAS_SOURCES)),$(eval $(call def_vbox_slirp_cflags, ../../Devices/Network)))
34$(foreach file,$(addprefix ../../Devices/, $(VBOX_SLIRP_ALIAS_SOURCES)),$(eval $(call def_vbox_slirp_alias_cflags, ../../Devices/Network)))
35
36VBoxNetNAT_SOURCES += ../NetLib/VBoxNetBaseService.cpp
37
38VBoxNetNAT_LIBS = \
39 $(PATH_LIB)/Drivers$(VBOX_SUFF_LIB) \
40 $(LIB_RUNTIME)
41VBoxNetNAT_LDFLAGS.win = /SUBSYSTEM:windows
42
43include $(KBUILD_PATH)/subfooter.kmk
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette