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.

86 lines
1.5 KiB

  1. !IF 0
  2. Copyright (c) 1994 Microsoft Corporation
  3. Module Name:
  4. w3spoof.inc
  5. Abstract:
  6. Common makefile contents for w3spoof project
  7. !ENDIF
  8. !IFNDEF SDKINC
  9. SDKINC=$(SDK_INC_PATH)
  10. !ENDIF
  11. !IFDEF LIBDIR
  12. !ERROR LIBDIR already defined - choose new name
  13. !ENDIF
  14. LIBDIR=..\lib\$(_OBJ_DIR)
  15. W3SPOOFINC=..\inc
  16. #
  17. # if TARGETPATH is not defined (in the paths that build libraries) then this
  18. # is the default target path
  19. #
  20. !IFNDEF TARGETPATH
  21. TARGETPATH=$(LIBDIR)
  22. TARGETTYPE=LIBRARY
  23. !ENDIF
  24. #
  25. # what it is that we're building
  26. #
  27. MAJORCOMP=w3spoof
  28. USE_NOLIBS=1
  29. #USE_LIBCMT=0
  30. NO_NTDLL=1
  31. #NO_BINPLACE=0
  32. BINPLACE_PLACEFILE=..\binplace.txt
  33. #
  34. # Linker flags
  35. #
  36. WIN32_WINNT_VERSION=0x0500
  37. #WIN32_WIN95_VERSION=0x0400
  38. #
  39. # compiler warning flags
  40. #
  41. MSC_WARNING_LEVEL=/W3 /WX
  42. #
  43. # compiler definitions
  44. #
  45. C_DEFINES=$(C_DEFINES) -DWIN32
  46. CLEANINF = cleaninf.exe $(CLEANINF_FLAGS)
  47. #
  48. # Set debugging level
  49. #
  50. !IF "$(NTDEBUG)" != "" && "$(NTDEBUG)" != "retail" && "$(NTDEBUG)" != "ntsdnodbg"
  51. C_DEFINES=$(C_DEFINES) -D_DEBUG
  52. !ENDIF
  53. !IF "$(__FULL_DEBUG__)" != "" && "$(__RELEASE_DEBUG__)" == ""
  54. C_DEFINES=$(C_DEFINES) -D__FULL_DEBUG__
  55. !IF "$(__DBG_TO_CONSOLE__)" == "1"
  56. C_DEFINES=$(C_DEFINES) -D__DBG_TO_CONSOLE__
  57. !ENDIF
  58. !ENDIF
  59. !IF "$(__RELEASE_DEBUG__)" != "" && "$(__FULL_DEBUG__)" == ""
  60. C_DEFINES=$(C_DEFINES) -D__RELEASE_DEBUG__
  61. !ENDIF
  62. !IFNDEF W3SPOOF_PCH
  63. PRECOMPILED_OPTION=/Fp..\inc\$(_OBJ_DIR)\*\common.pch /Yucommon.h
  64. PRECOMPILED_CXX=1
  65. !ENDIF