windows-nt/Source/XPSP1/NT/multimedia/directx/dxg/d3d/dx6/bldd3d.mk
2020-09-26 16:20:57 +08:00

53 lines
1 KiB
Makefile

!ifndef DXGROOT
DXGROOT = $(DXROOT)\dxg
!endif
!ifndef D3DROOT
D3DROOT = $(DXGROOT)\d3d
!endif
!ifndef DDROOT
DDROOT = $(DXGROOT)\dd
!endif
!ifndef D3DDX6
D3DDX6 = $(D3DROOT)\dx6
!endif
!if "$(WANTASM)" == "" && ("$(PLAT_DIR)" == "win9x" && !($(ALPHA)||$(AXP64)||$(IA64)))
WANTASM = 1
!endif
!if ("$(WANTASM)" == "1")
WANT_ASM_DEFINES = -DWANT_ASM=1
!else
WANT_ASM_DEFINES = -DWANT_ASM=0
!endif
C_DEFINES = $(C_DEFINES) \
-DD3D \
-DMSBUILD \
-DIS_32 \
-DWIN32 \
$(WANT_ASM_DEFINES)
!if "$(USE_ICECAP)" != ""
C_DEFINES = $(C_DEFINES) -DPROFILE=1
ASM_DEFINES = $(ASM_DEFINES) -DPROFILE=1
!endif
386_STDCALL = 0
INCLUDES = \
$(D3DDX6)\inc; \
$(D3DDX6)\d3dim\inc; \
$(D3DDX6)\d3dutil; \
$(DDROOT)\ddraw\main; \
$(DDROOT)\ddraw\ddhelp; \
$(DXGROOT)\misc; \
$(DXGROOT)\inc; \
$(DXGROOT)\dd\ddraw\inc;\
$(DXROOT)\inc; \
$(INCLUDES)