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.

56 lines
1.4 KiB

  1. #
  2. # If BUILDMSG is not defined, the define it as the empty string to make
  3. # the conditionals easier to write.
  4. #
  5. OFFSETS = $(_OBJ_DIR)\$(TARGET_DIRECTORY)\offsets.asm
  6. D3D_VERSION = 0x0800
  7. GENSYMFLAGS = -DWIN32 -D_WIN32 -DD3D -Zp -DIS_32 -DDIRECT3D_VERSION=$(D3D_VERSION)
  8. GENSYMBASE = $(_OBJ_DIR)\$(TARGET_DIRECTORY)\gensym
  9. GENSYMEXE = $(GENSYMBASE).exe
  10. GENSYMSOURCE = ..\gensym.cpp
  11. GENSYMINCS =
  12. GENTGT = $(_OBJ_DIR)\$(TARGET_DIRECTORY)
  13. INCPATHS = \
  14. -I$(BASEDIR)\public\sdk\inc\
  15. -I$(BASEDIR)\public\sdk\inc\crt\
  16. -I$(BASEDIR)\public\oak\inc\
  17. -I$(BASEDIR)\public\internal\multimedia\inc\
  18. -I..\
  19. -I$(BASEDIR)\public\internal\windows\inc\
  20. -I$(BASEDIR)\public\internal\base\inc\
  21. -I$(D3DDX8)\inc\
  22. -I$(D3DDX8)\fe\
  23. -I$(D3DDX8)\util\
  24. -I$(D3DDX8)\fw\
  25. -I$(DXGROOT)\misc\
  26. -I$(DXGROOT)\inc\
  27. -I$(DXROOT)\inc\
  28. $(OFFSETS): $(GENSYMSOURCE) $(GENSYMINCS)
  29. set PASS0ONLY=
  30. nmake $(GENSYMBASE).obj $(HOST_TARGET_DEFINES) $(HOST_TOOLS)
  31. -link -out:$(GENSYMEXE) @<<
  32. -machine:$(HOST_TARGETCPU)
  33. -base:@$(COFFBASE_TXT_FILE),usermode
  34. -subsystem:console
  35. -entry:mainCRTStartup
  36. -ignore:4089
  37. -force:unresolved
  38. -nodefaultlib
  39. $(GENSYMBASE).obj
  40. $(BASEDIR)\public\sdk\lib\$(TARGET_DIRECTORY)\kernel32.lib
  41. $(SDK_LIB_DEST)\$(HOST_TARGETCPU)\msvcrt.lib
  42. $(PERFLIBS)
  43. <<
  44. -$(GENSYMEXE) > $(OFFSETS)
  45. -erase $(GENSYMBASE).obj
  46. -erase $(GENSYMEXE)