TARGETNAME=mux TARGETPATH=obj TARGETTYPE=DRIVER C_DEFINES=$(C_DEFINES) -DNDIS_MINIPORT_DRIVER -DNDIS_WDM=1 !if !defined(DDK_TARGET_OS) || "$(DDK_TARGET_OS)"=="Win2K" # # The driver is built in the Win2K build environment # C_DEFINES=$(C_DEFINES) -DNDIS40_MINIPORT=1 C_DEFINES=$(C_DEFINES) -DNDIS40=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 C_DEFINES=$(C_DEFINES) -DNDIS51=1 C_DEFINES=$(C_DEFINES) -DIEEE_VLAN_SUPPORT=1 !endif PRECOMPILED_INCLUDE=precomp.h PRECOMPILED_PCH=precomp.pch PRECOMPILED_OBJ=precomp.obj TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib INCLUDES= SOURCES=\ miniport.c \ mux.c \ mux.rc \ protocol.c