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.

160 lines
2.7 KiB

  1. !if 0
  2. Copyright (c) 1995 - 1997 Microsoft Corporation. All Rights Reserved.
  3. !endif
  4. !ifdef NTMAKEENV
  5. all:
  6. clean:
  7. !else
  8. #
  9. #
  10. # Quartz Master makefile
  11. #
  12. #
  13. !ifndef QUARTZ
  14. QUARTZ = .
  15. !endif
  16. DIR_LIST = filters \
  17. compdlls \
  18. mci
  19. !if "$(CPU)" == "i386"
  20. DIR_LIST = $(DIR_LIST) \
  21. streams
  22. !endif
  23. !ifndef USE_MSVC20
  24. DIR_LIST = $(DIR_LIST) \
  25. ui
  26. !endif
  27. !if exist( "filterUS\makefile" )
  28. DIR_LIST = $(DIR_LIST) \
  29. filterUS
  30. !endif
  31. !ifndef NOTOOLS
  32. !if exist( "tools\makefile" )
  33. DIR_LIST = $(DIR_LIST) \
  34. tools
  35. !endif
  36. !endif
  37. !if exist( "test\makefile" )
  38. TEST_DIR_LIST = test
  39. !endif
  40. START_TASK = idl_lib \
  41. base_libs
  42. !ifdef SAMPLES
  43. END_TASK = sample_bins
  44. !if 0
  45. !if exist( "sdk\sampleUS\makefile" )
  46. END_TASK = $(END_TASK) \
  47. sampleUS_bins
  48. !endif
  49. !endif
  50. !ifdef EXTRAS
  51. END_TASK = $(END_TASK) \
  52. samples_extras
  53. !endif
  54. !else
  55. END_TASK =
  56. !endif
  57. CLEAN_TASK = clean_all
  58. !ifdef SAMPLES
  59. CLEAN_TASK = $(CLEAN_TASK) \
  60. clean_samples
  61. !if 0
  62. !if exist( "sdk\sampleUS\makefile" )
  63. CLEAN_TASK = $(CLEAN_TASK) \
  64. clean_sampleUS
  65. !endif
  66. !endif
  67. !ifdef EXTRAS
  68. CLEAN_TASK = $(CLEAN_TASK) \
  69. clean_extras
  70. !endif
  71. !endif
  72. #----------------------------------------------------------------------------
  73. !include $(QUARTZ)\quartz.mak
  74. #----------------------------------------------------------------------------
  75. # NOTE
  76. #
  77. # Additional targets must be specified *after*
  78. # including quartz.mak to prevent "collision"
  79. # with (first) default target!!!
  80. MAKE_PARAMS = /nologo MAKEFLAGS=$(MAKEFLAGS)
  81. idl_lib:
  82. @echo Make idl libraries...
  83. cd idl
  84. $(MAKE) $(MAKE_PARAMS)
  85. cd ..
  86. base_libs:
  87. @echo Make base class libraries...
  88. cd sdk\classes
  89. $(MAKE) $(MAKE_PARAMS)
  90. cd ..\..
  91. sample_bins:
  92. @echo Make samples binaries...
  93. cd sdk\samples\dshow
  94. $(MAKE) $(MAKE_PARAMS)
  95. cd ..\..
  96. !if 0
  97. sampleUS_bins:
  98. @echo Make samples binaries...
  99. cd sdk\sampleUS
  100. $(MAKE) $(MAKE_PARAMS)
  101. cd ..\..
  102. !endif
  103. samples_extras:
  104. @echo Make extra samples binaries...
  105. cd sdk\extra
  106. $(MAKE) $(MAKE_PARAMS)
  107. cd ..\..
  108. clean_all:
  109. echo y | del runtime\$(DBG_RTL)\*.*
  110. echo y | del lib\$(DBG_RTL)\*.*
  111. echo y | del bin\$(DBG_RTL)\*.*
  112. echo y | del sdk\lib\$(DBG_RTL)\*.*
  113. echo y | del sdk\bin\$(DBG_RTL)\*.*
  114. cd idl
  115. $(MAKE) $(MAKE_PARAMS) clean
  116. cd ..\sdk\classes
  117. $(MAKE) $(MAKE_PARAMS) clean
  118. cd ..\..
  119. clean_samples:
  120. cd sdk\samples\dshow
  121. $(MAKE) $(MAKE_PARAMS) clean
  122. cd ..\..
  123. !if 0
  124. clean_sampleUS:
  125. cd sdk\sampleUS
  126. $(MAKE) $(MAKE_PARAMS) clean
  127. cd ..\..
  128. !endif
  129. clean_extras:
  130. cd sdk\extra
  131. $(MAKE) $(MAKE_PARAMS) clean
  132. cd ..\..
  133. !endif # NTMAKEENV