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.8 KiB
70 lines
1.8 KiB
TARGETNAME=portcls
|
|
TARGETTYPE=EXPORT_DRIVER
|
|
TARGETPATH=obj
|
|
|
|
PASS1_PUBLISH={$(O)\portcls.lib=$(DDK_LIB_PATH)\portcls.lib}
|
|
|
|
USE_MAPSYM=1
|
|
|
|
PORTPATH=..\ports\lib\*
|
|
|
|
MINIDIR=..\miniport\lib\*
|
|
|
|
TARGETLIBS= \
|
|
$(PORTPATH)\dmusprt.lib \
|
|
$(PORTPATH)\topoprt.lib \
|
|
$(PORTPATH)\wavecyc.lib \
|
|
$(PORTPATH)\wavepci.lib \
|
|
$(MINIDIR)\DMusUART.lib \
|
|
$(MINIDIR)\fmsynth.lib \
|
|
$(MINIDIR)\uart.lib \
|
|
$(DDK_LIB_PATH)\drmk.lib \
|
|
$(DDK_LIB_PATH)\ks.lib \
|
|
$(DDK_LIB_PATH)\stdunk.lib
|
|
|
|
INCLUDES= \
|
|
..\inc; \
|
|
$(DDK_INC_PATH);
|
|
|
|
MSC_WARNING_LEVEL=-W3 -WX
|
|
|
|
|
|
C_DEFINES=-D_WIN32 -DUNDER_NT -DUNICODE -D_UNICODE -DUSE_DMA_MACROS
|
|
|
|
#
|
|
# Enable if you want PortCls to expire (nominally 60 days)
|
|
#
|
|
#C_DEFINES= $(C_DEFINES) -DTIME_BOMB -DDAYS_UNTIL_EXPIRATION=60
|
|
|
|
#
|
|
# Different levels of debug printage. First is nothing but
|
|
# catastrophic errors, last is everything under the sun.
|
|
#
|
|
#C_DEFINES= $(C_DEFINES) -DDEBUG_LEVEL=DEBUGLVL_ERROR
|
|
C_DEFINES= $(C_DEFINES) -DDEBUG_LEVEL=DEBUGLVL_TERSE
|
|
#C_DEFINES= $(C_DEFINES) -DDEBUG_LEVEL=DEBUGLVL_VERBOSE
|
|
#C_DEFINES= $(C_DEFINES) -DDEBUG_LEVEL=DEBUGLVL_BLAB
|
|
|
|
LINKER_FLAGS=-map
|
|
|
|
SOURCES= \
|
|
portcls.rc \
|
|
callback.cpp \
|
|
dma.cpp \
|
|
event.cpp \
|
|
irpstrm.cpp \
|
|
kso.cpp \
|
|
minihelp.cpp \
|
|
perf.cpp \
|
|
portcls.cpp \
|
|
porthelp.cpp \
|
|
porttbl.cpp \
|
|
power.cpp \
|
|
property.cpp \
|
|
registry.cpp \
|
|
resource.cpp \
|
|
service.cpp \
|
|
shmisc.cpp \
|
|
shreq.cpp \
|
|
sync.cpp
|
|
|