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.
50 lines
992 B
50 lines
992 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
|
|
USE_STL=1
|
|
|
|
C_DEFINES=$(C_DEFINES) -DNT -D_NTDRIVER_
|
|
|
|
# C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE
|
|
# C_DEFINES=$(C_DEFINES) -DLOCK_INSTRUMENTATION
|
|
|
|
# MSC_WARNING_LEVEL=/W4
|
|
|
|
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
|