?? sources
字號:
# Build TAP-Win32 driver.# Build Command: build -cefMAJORCOMP=ntosMINORCOMP=ndisTARGETNAME=tap0801TARGETTYPE=DRIVERTARGETPATH=.TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib $(DDK_LIB_PATH)\ntstrsafe.libINCLUDES=$(DDK_INCLUDE_PATH)# The TAP version numbers here must be >=# TAP_WIN32_MIN_x values defined in# config-win32.hC_DEFINES=C_DEFINES=$(C_DEFINES) -DTAP_DRIVER_MAJOR_VERSION=8C_DEFINES=$(C_DEFINES) -DTAP_DRIVER_MINOR_VERSION=1# Use 00:FF:XX:XX:XX:XX format MAC addresses where# the Xs are random (like Linux tap driver).## Don't allow TAP device to be opened by more than one process# at a time.C_DEFINES=$(C_DEFINES)# Produce the same symbolic information for both free & checked builds.# This will allow us to perform full source-level debugging on both# builds without affecting the free build's performance.!IF "$(DDKBUILDENV)" != "chk"NTDEBUGTYPE=bothUSE_PDB=1!ELSENTDEBUGTYPE=bothUSE_PDB=1!ENDIF# Set compiler optimizations:# /Ox - Full optimization enabled# /Os - favor speed over size when optimizing# /Od - Disable all optimizations# /Oi - Enable optimization for intrinsic functions# /Fc - Generate mixed assembler/source code files## For both checked and free builds, make sure that any intrinsic# functions are compiled correctly. To do this, ensure that /Oi# is selected for both free and checked builds. There is a bug in# VC++ 6.0 (at least through SP4) where, if you specify any# intrinsic functions in your code with "#pragma intrinsic" but# you don't have the /Oi optimization enabled, neither a call# to the function, nor the intrinsic inline version of the function# will end up in your object code. This bug only applies to free# builds, but just to be safe we'll make sure that the flag is# enabled for all builds.!IF "$(DDKBUILDENV)" != "chk"MSC_OPTIMIZATION=/Ox /Oi /Fc!ELSEMSC_OPTIMIZATION=/Od /Oi /Fc!ENDIF# Generate a linker map file just in case we need one for debuggingLINKER_FLAGS=$(LINKER_FLAGS) /MAP /MAPINFO:EXPORTS /MAPINFO:LINES /MAPINFO:FIXUPS# Generate a browser information file for use in IDE developmentBROWSER_INFO=1BROWSERFILE=$(TARGETNAME).BSC -n# Abort compilation on warnings.MSC_WARNING_LEVEL=/W3 /WXSOURCES=tapdrvr.c resource.rc
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -