# Copyright (c) Microsoft Corporation. All rights reserved. # # sources # Microsoft Virutal Miniport Driver # BUILD command sources file # TARGETNAME=netvmini TARGETPATH=obj TARGETTYPE=DRIVER TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib # System and NDIS wrapper definitions. C_DEFINES=$(C_DEFINES) -DNDIS_MINIPORT_DRIVER=1 C_DEFINES=$(C_DEFINES) -DNDIS_WDM=1 -DIOCTL_INTERFACE !if !defined(DDK_TARGET_OS) || "$(DDK_TARGET_OS)"=="Win2K" # # The driver is built in the Win2K build environment # C_DEFINES=$(C_DEFINES) -DNDIS50_MINIPORT=1 !else # # The driver is built in the XP or .NET build environment # So let us build NDIS 5.1 version. # C_DEFINES=$(C_DEFINES) -DNDIS51_MINIPORT=1 !endif SOURCES = \ miniport.c \ init.c \ request.c \ sendrcv.c \ ioctl.c \ netvmini.rc