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.

28 lines
750 B

  1. #
  2. # If BUILDMSG is not defined, the define it as the empty string to make
  3. # the conditionals easier to write.
  4. #
  5. .SUFFIXES: .mh .mcp
  6. GENTGT = $(_OBJ_DIR)\$(TARGET_DIRECTORY)
  7. # We must use our own version of m4 for two reasons:
  8. # 1. Alpha support.
  9. # 2. It has bug fixes that are necessary to correctly process our m4 files.
  10. M4 = $(DXGROOT)\tools\$(PROCESSOR_ARCHITECTURE)\m4.exe
  11. # Create a .h file from a .mh file.
  12. {..}.mh{$(GENTGT)}.h:
  13. $(M4) -I.. $< > $*.h
  14. # Create a .cpp file from a .mcp file.
  15. {..}.mcp{$(GENTGT)}.cpp:
  16. $(M4) -I.. $< > $(GENTGT)\$(<B).cpp
  17. ..\pvvid.mcp: ..\pvvid.mh
  18. ..\pvone.mcp: ..\pvvid.mh
  19. ..\loops.mcp: ..\pvvid.mh
  20. $(GENTGT)\pvvid.cpp: ..\pvvid.mcp
  21. $(GENTGT)\pvone.cpp: ..\pvone.mcp
  22. $(GENTGT)\loops.cpp: ..\loops.mcp