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.

47 lines
907 B

  1. #
  2. # Builds LKRhash.sys using the NT Build Environment
  3. #
  4. # George V. Reilly, georgere, 10/23/2000
  5. #
  6. TARGETNAME=kLKRhash
  7. TARGETPATH=..\$(_OBJ_DIR)
  8. TARGETTYPE=DRIVER_LIBRARY
  9. # TARGETLIBS=\
  10. #
  11. # Dont use C++ exception handling (/GX-)
  12. #
  13. !undef USE_NATIVE_EH
  14. C_DEFINES=$(C_DEFINES) -DNT -D_NTDRIVER_
  15. # C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE
  16. # C_DEFINES=$(C_DEFINES) -DLOCK_INSTRUMENTATION
  17. INCLUDES=$(INCLUDES); \
  18. .; \
  19. ..\inc; \
  20. $(BASE_INC_PATH); \
  21. !if "$(TARGETTYPE)" == "DRIVER"
  22. MAIN = main.cpp
  23. !else
  24. MAIN =
  25. !endif
  26. SOURCES= \
  27. $(MAIN) \
  28. kLKRhash.cpp \
  29. kLocks.cpp \
  30. kIrtlDbg.cpp \
  31. kLKRhash.rc \
  32. !IF "$(NTNOPCH)" == ""
  33. PRECOMPILED_INCLUDE=precomp.hxx
  34. PRECOMPILED_OBJ=precomp.obj
  35. PRECOMPILED_PCH=precomp.pch
  36. PRECOMPILED_CXX=1
  37. !ENDIF