Leaked source code of windows server 2003
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

  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. USE_STL=1
  15. C_DEFINES=$(C_DEFINES) -DNT -D_NTDRIVER_
  16. # C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE
  17. # C_DEFINES=$(C_DEFINES) -DLOCK_INSTRUMENTATION
  18. # MSC_WARNING_LEVEL=/W4
  19. INCLUDES=$(INCLUDES); \
  20. .; \
  21. ..\inc; \
  22. $(BASE_INC_PATH); \
  23. !if "$(TARGETTYPE)" == "DRIVER"
  24. MAIN = main.cpp
  25. !else
  26. MAIN =
  27. !endif
  28. SOURCES= \
  29. $(MAIN) \
  30. kLKRhash.cpp \
  31. kLocks.cpp \
  32. kIrtlDbg.cpp \
  33. kLKRhash.rc \
  34. !IF "$(NTNOPCH)" == ""
  35. PRECOMPILED_INCLUDE=precomp.hxx
  36. PRECOMPILED_OBJ=precomp.obj
  37. PRECOMPILED_PCH=precomp.pch
  38. PRECOMPILED_CXX=1
  39. !ENDIF