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.

106 lines
1.8 KiB

  1. ##########################################################################
  2. #
  3. # Copyright (C) 1992 - 1992, Microsoft Corporation.
  4. #
  5. # All rights reserved.
  6. #
  7. ############################################################################
  8. EXENAME = chkdsk
  9. #
  10. # Set up include directories and roots for includes.exe
  11. #
  12. CFLAGS = -DCHKDSK
  13. CINC = $(CINC) -I$(COMMON)\h -I$(OLE)\h -I$(OLE2H) -I$(OLE)\msf
  14. INCLUDES_ROOTS = -P$$(OLE2H)=$(OLE2H) -P$$(OLE)=$(OLE)
  15. #
  16. # Default OLE2 paths
  17. #
  18. !ifndef OLE2H
  19. !if "$(OPSYS)" == "NT"
  20. OLE2H = $(OLE)\ole2flat
  21. !else
  22. OLE2H = $(OLE)\ole2h
  23. !endif
  24. !endif
  25. !ifndef OLE2BIN
  26. !if "$(OPSYS)" == "NT"
  27. OLE2BIN = $(OLE)\ole2flat
  28. !else
  29. OLE2BIN = $(OLE)\ole2h
  30. !endif
  31. !endif
  32. #
  33. # Defining NO_WINMAIN suppresses linking with astartw.obj
  34. #
  35. NO_WINMAIN = 1
  36. #
  37. # Copy built exes to this directory
  38. #
  39. EXECOPY = $(OLETARGET)\$(OBJDIR)
  40. #
  41. # Name of target. Include an extension (.dll, .lib, .exe)
  42. # If the target is part of the release, set RELEASE to 1.
  43. #
  44. TARGET = $(EXENAME).exe
  45. RELEASE =
  46. #
  47. # C compiler flags
  48. #
  49. !if "$(OPSYS)" == "NT"
  50. CFLAGS = -DUL64
  51. !endif
  52. #
  53. # Source files. Remember to prefix each name with .\
  54. #
  55. CXXFILES = .\$(EXENAME).cxx
  56. #
  57. # Libraries and other object files to link.
  58. #
  59. LIBS = $(DFLIB)\
  60. !if "$(OPSYS)" != "NT"
  61. $(OLE)\common\$(OBJDIR)\dfcommon.lib\
  62. $(OLE)\msf\$(OBJDIR)\msf.lib\
  63. $(COMMON)\ilib\$(OBJDIR)\misc.lib\
  64. $(OLE)\docfile\$(OBJDIR)\docfile.lib\
  65. $(OLE)\wclib\$(OBJDIR)\wclib.lib\
  66. $(RTLIBEXEQ)\
  67. $(OSLIBDIR)\toolhelp.lib\
  68. $(OLE2BIN)\stdobj.lib\
  69. !else
  70. $(CAIROLIB)\
  71. !endif
  72. OBJFILES = \
  73. !if "$(OPSYS)" != "NT"
  74. $(OLE2BIN)\stdalloc.obj\
  75. !endif
  76. $(OLE2BIN)\iid.obj
  77. #
  78. # Set MULTIDEPEND to support multiple build targets
  79. #
  80. MULTIDEPEND = 1
  81. !include $(COMMON)\src\win40.mk
  82. !include $(DEPENDFILE)