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
907 B
47 lines
907 B
#
|
|
# Builds LKRhash.sys using the NT Build Environment
|
|
#
|
|
# George V. Reilly, georgere, 10/23/2000
|
|
#
|
|
|
|
TARGETNAME=kLKRhash
|
|
TARGETPATH=..\$(_OBJ_DIR)
|
|
TARGETTYPE=DRIVER_LIBRARY
|
|
|
|
# TARGETLIBS=\
|
|
|
|
#
|
|
# Dont use C++ exception handling (/GX-)
|
|
#
|
|
!undef USE_NATIVE_EH
|
|
|
|
C_DEFINES=$(C_DEFINES) -DNT -D_NTDRIVER_
|
|
|
|
# C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE
|
|
# C_DEFINES=$(C_DEFINES) -DLOCK_INSTRUMENTATION
|
|
|
|
INCLUDES=$(INCLUDES); \
|
|
.; \
|
|
..\inc; \
|
|
$(BASE_INC_PATH); \
|
|
|
|
|
|
!if "$(TARGETTYPE)" == "DRIVER"
|
|
MAIN = main.cpp
|
|
!else
|
|
MAIN =
|
|
!endif
|
|
|
|
SOURCES= \
|
|
$(MAIN) \
|
|
kLKRhash.cpp \
|
|
kLocks.cpp \
|
|
kIrtlDbg.cpp \
|
|
kLKRhash.rc \
|
|
|
|
!IF "$(NTNOPCH)" == ""
|
|
PRECOMPILED_INCLUDE=precomp.hxx
|
|
PRECOMPILED_OBJ=precomp.obj
|
|
PRECOMPILED_PCH=precomp.pch
|
|
PRECOMPILED_CXX=1
|
|
!ENDIF
|