mirror of https://github.com/tongzx/nt5src
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.
47 lines
900 B
47 lines
900 B
!IF 0
|
|
|
|
Copyright (C) Microsoft Corporation, 1997 - 1999
|
|
|
|
Module Name:
|
|
|
|
sources.
|
|
|
|
!ENDIF
|
|
|
|
TARGETNAME=pciidex
|
|
TARGETPATH=obj
|
|
TARGETTYPE=EXPORT_DRIVER
|
|
|
|
PASS1_PUBLISH={$(O)\$(TARGETNAME).lib=$(DDK_LIB_PATH)\$(TARGETNAME).lib}
|
|
|
|
C_DEFINES = $(C_DEFINES) /D_NTDRIVER_
|
|
|
|
TARGETLIBS=$(SDK_LIB_PATH)\wdmguid.lib
|
|
|
|
INCLUDES=$(BASE_INC_PATH);$(BASEDIR)\base\ntos\inc;..\inc;..\inc\$(O);
|
|
|
|
#
|
|
# with this define we will never actually enable the busmaster
|
|
# controller. all dma trasnfers should timeout
|
|
#
|
|
#C_DEFINES=$(C_DEFINES) -DFAKE_BAD_IDE_DMA_DEVICE
|
|
|
|
#
|
|
# Enable register access for the mini ide drivers
|
|
#
|
|
#C_DEFINES=$(C_DEFINES) -DENABLE_REGISTER_ACCESS
|
|
|
|
#
|
|
# Enable register access for the mini ide drivers
|
|
#
|
|
C_DEFINES=$(C_DEFINES) -DENABLE_NATIVE_MODE
|
|
|
|
SOURCES=pciidex.rc\
|
|
ctlrfdo.c \
|
|
chanpdo.c \
|
|
pciidex.c \
|
|
bm.c \
|
|
sync.c \
|
|
power.c
|
|
|
|
DLLDEF=$(O)\pciidex.def
|