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.

80 lines
2.4 KiB

  1. # general build settings
  2. MAJORCOMP=winstate
  3. !ifndef WINSTATE_DIR
  4. WINSTATE_DIR=winstate
  5. ! IF EXIST(..\..\..\projroot.inc)
  6. ! include ..\..\..\projroot.inc
  7. ! ELSEIF EXIST(..\..\..\..\projroot.inc)
  8. ! include ..\..\..\..\projroot.inc
  9. ! ENDIF
  10. !endif
  11. OUR_PROJECT_ROOT=$(PROJECT_ROOT)\$(WINSTATE_DIR)
  12. COBRA_ROOT=$(OUR_PROJECT_ROOT)\cobra
  13. TARGETPATH=$(COBRA_ROOT)\bin\$(_OBJ_DIR)
  14. BINPLACE_PLACEFILE=$(COBRA_ROOT)\placefil.txt
  15. # compiler options
  16. USE_MSVCRT=1
  17. USER_C_FLAGS=-J
  18. # linker flags
  19. LINKER_STACKSIZE=-STACK:262144,262144
  20. # include path
  21. INCLUDES=$(COBRA_ROOT)\inc; \
  22. $(COBRA_ROOT)\app\inc; \
  23. $(COBRA_ROOT)\utils\inc; \
  24. $(COBRA_ROOT)\utils\pch; \
  25. $(COBRA_ROOT)\engine\inc; \
  26. $(ADMIN_INC_PATH); \
  27. $(BASE_INC_PATH); \
  28. $(WINDOWS_INC_PATH); \
  29. $(SHELL_INC_PATH); \
  30. # SDK link libraries
  31. TARGETLIBS=$(TARGETLIBS) \
  32. $(SDK_LIB_PATH)\kernel32.lib \
  33. $(SDK_LIB_PATH)\user32.lib \
  34. $(SDK_LIB_PATH)\gdi32.lib \
  35. $(SDK_LIB_PATH)\advapi32.lib \
  36. $(SDK_LIB_PATH)\version.lib \
  37. $(SDK_LIB_PATH)\imagehlp.lib \
  38. $(SDK_LIB_PATH)\shell32.lib \
  39. $(SDK_LIB_PATH)\ole32.lib \
  40. $(SDK_LIB_PATH)\comdlg32.lib \
  41. $(SDK_LIB_PATH)\comctl32.lib \
  42. $(SDK_LIB_PATH)\uuid.lib \
  43. $(SDK_LIB_PATH)\winmm.lib \
  44. $(SDK_LIB_PATH)\mpr.lib \
  45. $(SDK_LIB_PATH)\userenv.lib \
  46. $(SDK_LIB_PATH)\netapi32.lib \
  47. $(SDK_LIB_PATH)\setupapi.lib \
  48. $(SHELL_LIB_PATH)\shell32p.lib \
  49. $(COBRA_ROOT)\bin\$(O)\log.lib \
  50. $(COBRA_ROOT)\lib\$(O)\utils.lib \
  51. $(COBRA_ROOT)\lib\$(O)\reg.lib \
  52. $(COBRA_ROOT)\lib\$(O)\inf.lib \
  53. $(COBRA_ROOT)\lib\$(O)\file.lib \
  54. $(COBRA_ROOT)\utils\pch\$(O)\pch.obj \
  55. #ICECAP options
  56. !ifdef USEICECAP
  57. LINKER_FLAGS = $(LINKER_FLAGS) /INCREMENTAL:NO /DEBUGTYPE:FIXUP
  58. !endif
  59. # LINT options, do not end in a semicolon
  60. LINT_TYPE=all
  61. LINT_EXT=lnt
  62. LINT_ERRORS_TO_IGNORE=$(LINT_ERRORS_TO_IGNORE);43;729;730;534;526;552;714;715;749;750;751;752;753;754;755;756;757;758;759;765;768;769;
  63. LINT_OPTS=-v -cmsc -zero +fcu +fwu +fan +fas +fpc +fie -e$(LINT_ERRORS_TO_IGNORE:;= -e)
  64. LINT_OPTS=$(LINT_OPTS:-e =)