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.

46 lines
1.2 KiB

  1. MAJORCOMP=wdmlib
  2. MINORCOMP=wdmsec
  3. TARGETNAME=wl
  4. TARGETTYPE=LIBRARY
  5. TARGETPATH=obj
  6. BUILD_CONSUMES=wdmsec_inc \
  7. wdmsec_cm \
  8. wdmsec_io \
  9. wdmsec_pp \
  10. wdmsec_se
  11. BUILD_PRODUCES=wdmsec_wl
  12. INCLUDES=..;..\inc;$(IFSKIT_INC_PATH);$(DDK_INC_PATH)
  13. #MSC_WARNING_LEVEL=/W4 /WX
  14. USE_NOLIBS=1
  15. SOURCES=wlwrap.c
  16. #
  17. # We must disable buffer overflow checks here. The reason is that we are
  18. # producing a static library that is published in the Windows DDK and this LIB
  19. # must not only be available to VC6 users, it must be available to users of
  20. # non-Microsoft compilers.
  21. #
  22. # (In SP1, the *presence* of this flag enables /GS stuff)
  23. # (In .NET, the flag must be present and set to zero to turn it off!)
  24. #
  25. # This is SP1, so turn off /GS by not defining the flag
  26. #BUFFER_OVERFLOW_CHECKS=0
  27. OBJLIBFILES=$(DDK_LIB_PATH)\ntoskrnl.lib \
  28. ..\cm\$(O)\cm.lib \
  29. ..\io\$(O)\io.lib \
  30. ..\pp\$(O)\pp.lib \
  31. ..\se\$(O)\se.lib
  32. PASS1_PUBLISH={$(O)\wl.lib=$(DDK_LIB_PATH)\wdmsec.lib} \
  33. {$(O)\wl.lib=$(DDK_LIB_PATH)\legacy\wdmsec.lib}
  34. SYNCHRONIZE_DRAIN=1
  35. SYNCHRONIZE_BLOCK=1