Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

70 lines
1.7 KiB

TARGETNAME=IRSTUSB
TARGETPATH=obj
TARGETTYPE=DRIVER
TARGETLIBS=$(DDK_LIB_PATH)\ndis.lib \
$(DDK_LIB_PATH)\wdm.lib \
$(DDK_LIB_PATH)\usbd.lib
C_DEFINES=$(C_DEFINES) -DNDIS_WDM=1 -DNDIS_MINIPORT_DRIVER=1 -DNDIS50_MINIPORT=1 -DIRDA -DDRIVER -DBINARY_COMPATIBLE=1 \
-DSERIALIZE \
-DFAST_WRITE_REGISTERS \
-DWORKAROUND_POLLING_FIFO_COUNT \
-DWORKAROUND_BROKEN_MIR \
-DWORKAROUND_33_HANG \
-DWORKAROUND_XX_HANG \
-DWORKAROUND_FF_HANG \
-DWORKAROUND_GEAR_DOWN \
-DWORKAROUND_E0_81_FLAG \
-DWORKAROUND_9600_ANTIBOUNCING \
-DWORKAROUND_MISSING_7E \
-DWORKAROUND_FAKE_EMPTY_FIFO \
-DWORKAROUND_STUCK_AFTER_GEAR_DOWN \
-DWORKAROUND_BAD_SOF \
-DWORKAROUND_BAD_ESC \
# Uncomment to support the LA8 version
-DSUPPORT_LA8 \
# Keep these commented out for Whistler
# -DLEGACY_NDIS5 \
# Keep these commented out for public builds
-DERROR_MESSAGES \
# -DDIAGS \
# -DRECEIVE_LOGGING \
# -DRECEIVE_ERROR_LOGGING \
# -DSEND_LOGGING \
# These two workarounds are used together in the current code
-DWORKAROUND_EXTRA_BYTE \
-DWORKAROUND_MISSING_C1 \
-DWORKAROUND_MISSING_7E \
-DONLY_ERROR_MESSAGES
# This will be commented out for free builds
#MSC_OPTIMIZATION=/Od /Oi
INCLUDES= \
$(BASEDIR)\inc; \
$(BASEDIR)\inc\ddk; \
..\..\..\inc; \
..\..\inc
LINKER_FLAGS=-map
DRIVER_ALIGNMENT=0x200
#MSC_WARNING_LEVEL=/W3 /WX
SOURCES= \
convert.c \
rwir.c \
irmisc.c \
irusb.c \
request.c \
resource.c \
settings.c \
receive.c \
openclos.c \
debug.c \
send.c \
irusb.rc \
hwio.c \
diags.c