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

#
# If BUILDMSG is not defined, the define it as the empty string to make
# the conditionals easier to write.
#
.SUFFIXES: .mh .mcp
GENTGT = $(_OBJ_DIR)\$(TARGET_DIRECTORY)
# We must use our own version of m4 for two reasons:
# 1. Alpha support.
# 2. It has bug fixes that are necessary to correctly process our m4 files.
M4 = $(DXGROOT)\tools\$(PROCESSOR_ARCHITECTURE)\m4.exe
# Create a .h file from a .mh file.
{..}.mh{$(GENTGT)}.h:
$(M4) -I.. $< > $*.h
# Create a .cpp file from a .mcp file.
{..}.mcp{$(GENTGT)}.cpp:
$(M4) -I.. $< > $(GENTGT)\$(<B).cpp
..\pvvid.mcp: ..\pvvid.mh
..\pvone.mcp: ..\pvvid.mh
..\loops.mcp: ..\pvvid.mh
$(GENTGT)\pvvid.cpp: ..\pvvid.mcp
$(GENTGT)\pvone.cpp: ..\pvone.mcp
$(GENTGT)\loops.cpp: ..\loops.mcp