You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
935 B
42 lines
935 B
TARGETNAME=passthru
|
|
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
|
|
!endif
|
|
|
|
# Uncomment the following to build for Win98/SE/WinMe
|
|
# This causes several APIs that are not present in Win9X to be
|
|
# ifdef'ed out.
|
|
# C_DEFINES=$(C_DEFINES) -DWIN9X=1
|
|
|
|
PRECOMPILED_INCLUDE=precomp.h
|
|
PRECOMPILED_PCH=precomp.pch
|
|
PRECOMPILED_OBJ=precomp.obj
|
|
|
|
TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib
|
|
|
|
USE_MAPSYM=1
|
|
|
|
INCLUDES=
|
|
|
|
SOURCES=\
|
|
miniport.c \
|
|
passthru.c \
|
|
passthru.rc \
|
|
protocol.c
|