# # 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