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.

45 lines
1.2 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. GENSYMFLAGS = -DWIN32 -D_WIN32 -DD3D -Zp -D__DD_OPT_SURFACE $(GENSYMFLAGS) -DIS_32
  7. GENSYMBASE = $(_OBJ_DIR)\$(TARGET_DIRECTORY)\gensym
  8. GENSYMEXE = $(GENSYMBASE).exe
  9. GENSYMSOURCE = ..\gensym.cpp
  10. GENSYMINCS =
  11. !if $(AXP64)
  12. GENSYMFLAGS = /Ap64 $(GENSYMFLAGS)
  13. !endif
  14. INCPATHS = \
  15. -I$(BASEDIR)\public\sdk\inc\
  16. -I$(BASEDIR)\public\sdk\inc\crt\
  17. -I$(BASEDIR)\public\oak\inc\
  18. -I$(INCLUDES:;= -I)
  19. $(GENTGT)\pvvid.cpp: ..\pvvid.mcp $(RAST_STD_M4)
  20. $(OFFSETS): $(GENSYMSOURCE) $(GENSYMINCS)
  21. set PASS0ONLY=
  22. $(TARGET_CPP) -c $(INCPATHS) $(GENSYMFLAGS) -Fo$(GENSYMBASE).obj $(GENSYMSOURCE)
  23. -link -out:$(GENSYMEXE) @<<
  24. -machine:$(TARGET_DIRECTORY)
  25. -base:@$(BASEDIR)\PUBLIC\SDK\LIB\coffbase.txt,usermode
  26. -subsystem:console
  27. -entry:mainCRTStartup
  28. -ignore:4078,2001
  29. -force:unresolved
  30. -nodefaultlib
  31. $(GENSYMBASE).obj
  32. $(BASEDIR)\public\sdk\lib\$(TARGET_DIRECTORY)\msvcrt.lib
  33. $(BASEDIR)\public\sdk\lib\$(TARGET_DIRECTORY)\kernel32.lib
  34. $(PERFLIBS)
  35. <<
  36. -$(GENSYMEXE) > $(OFFSETS)
  37. # -erase $(GENSYMBASE).obj
  38. # -erase $(GENSYMEXE)