vbox的更動 63009 路徑 trunk/src/VBox/NetworkServices
- 時間撮記:
- 2016-8-4 下午08:54:40 (8 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/NetworkServices/NAT/Makefile.kmk
r63007 r63009 50 50 PROGRAMS += VBoxNetLwipNAT 51 51 endif 52 VBoxNetLwipNAT_TEMPLATE := VBOXMAIN$(if-expr defined(VBOX_WITH_HARDENING),DLL,CLIENTEXE) 53 VBoxNetLwipNAT_NAME = VBoxNetNAT 54 VBoxNetLwipNAT_DEFS += ${LWIP_DEFS} IPv6 55 # VBoxNetLwipNAT_DEFS.linux += WITH_VALGRIND # instrument lwip memp.c 56 VBoxNetLwipNAT_DEFS.win += VBOX_COM_OUTOFPROC_MODULE _WIN32_WINNT=0x501 # Windows XP 57 VBoxNetLwipNAT_SOURCES += VBoxNetLwipNAT.cpp \ 58 $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetBaseService.cpp \ 59 $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetPortForwardString.cpp \ 60 $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetIntIf.cpp \ 61 $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetUDP.cpp \ 62 $(VBOX_PATH_NAT_SRC)/../NetLib/VBoxNetARP.cpp \ 63 $(VBOX_PATH_NAT_SRC)/../NetLib/ComHostUtils.cpp 64 65 VBoxNetLwipNAT_LIBS = \ 66 $(LIB_RUNTIME) 67 VBoxNetLwipNAT_LIBS.solaris += socket nsl 68 VBoxNetLwipNAT_LDFLAGS.win = /SUBSYSTEM:windows 69 52 VBoxNetLwipNAT_TEMPLATE := $(if-expr defined(VBOX_WITH_HARDENING),VBOXMAINDLL,VBOXMAINCLIENTEXE) 53 VBoxNetLwipNAT_NAME := VBoxNetNAT 54 VBoxNetLwipNAT_DEFS = IPv6 55 # VBoxNetLwipNAT_DEFS.linux = WITH_VALGRIND # instrument lwip memp.c 56 VBoxNetLwipNAT_DEFS.win = VBOX_COM_OUTOFPROC_MODULE _WIN32_WINNT=0x501 # Windows XP 70 57 # Convince Solaris headers to expose socket stuff we need. 71 58 # … … 95 82 endif 96 83 97 VBoxNetLwipNAT_SOURCES += \ 84 # (current dir is for for lwipopts.h) 85 VBoxNetLwipNAT_INCS += . $(addprefix ../../Devices/Network/lwip-new/,$(LWIP_INCS)) 86 87 VBoxNetLwipNAT_SOURCES = \ 88 VBoxNetLwipNAT.cpp \ 89 ../NetLib/VBoxNetBaseService.cpp \ 90 ../NetLib/VBoxNetPortForwardString.cpp \ 91 ../NetLib/VBoxNetIntIf.cpp \ 92 ../NetLib/VBoxNetUDP.cpp \ 93 ../NetLib/VBoxNetARP.cpp \ 94 ../NetLib/ComHostUtils.cpp \ 95 $(addprefix ../../Devices/Network/lwip-new/,$(LWIP_SOURCES)) \ 98 96 proxy_pollmgr.c \ 99 97 proxy_rtadvd.c \ … … 110 108 111 109 ifeq ($(KBUILD_TARGET),win) 112 # unprivileged Icmp API 113 VBoxNetLwipNAT_SOURCES += pxping_win.c 110 VBoxNetLwipNAT_SOURCES += pxping_win.c # unprivileged Icmp API 114 111 else 115 # raw sockets 116 VBoxNetLwipNAT_SOURCES += pxping.c 112 VBoxNetLwipNAT_SOURCES += pxping.c # raw sockets 117 113 endif 114 115 VBoxNetLwipNAT_SOURCES.darwin += rtmon_bsd.c 116 VBoxNetLwipNAT_SOURCES.freebsd += rtmon_bsd.c 117 VBoxNetLwipNAT_SOURCES.linux += rtmon_linux.c 118 VBoxNetLwipNAT_SOURCES.solaris += rtmon_bsd.c 119 VBoxNetLwipNAT_SOURCES.win += \ 120 rtmon_win.c \ 121 RTWinPoll.cpp \ 122 RTWinSocketPair.cpp 123 124 VBoxNetLwipNAT_LIBS = \ 125 $(LIB_RUNTIME) 126 VBoxNetLwipNAT_LIBS.solaris += socket nsl 127 128 VBoxNetLwipNAT_LDFLAGS.win = /SUBSYSTEM:windows 118 129 119 130 # ifeq ($(VBOX_WITH_HARDENING),) … … 124 135 # endif 125 136 # endif 126 127 VBoxNetLwipNAT_SOURCES.darwin += rtmon_bsd.c128 VBoxNetLwipNAT_SOURCES.freebsd += rtmon_bsd.c129 VBoxNetLwipNAT_SOURCES.linux += rtmon_linux.c130 VBoxNetLwipNAT_SOURCES.solaris += rtmon_bsd.c131 VBoxNetLwipNAT_SOURCES.win += rtmon_win.c132 133 VBoxNetLwipNAT_SOURCES.win += \134 RTWinPoll.cpp \135 RTWinSocketPair.cpp136 137 VBoxNetLwipNAT_INCS += . # for lwipopts.h138 $(eval $(call def_vbox_lwip_public, VBoxNetLwipNAT, $(PATH_SUB_CURRENT)/../../Devices/Network/lwip-new))139 137 140 138 ifeq ($(KBUILD_TARGET),win)
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器