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.

73 lines
2.4 KiB

  1. # general 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. # include path
  19. INCLUDES=\
  20. $(COBRA_ROOT)\inc; \
  21. $(COBRA_ROOT)\utils\inc; \
  22. $(COBRA_ROOT)\utils\pch; \
  23. $(COBRA_ROOT)\engine\inc; \
  24. $(ADMIN_INC_PATH); \
  25. $(BASE_INC_PATH); \
  26. $(WINDOWS_INC_PATH); \
  27. # SDK link libraries
  28. TARGETLIBS=$(TARGETLIBS) \
  29. $(SDK_LIB_PATH)\kernel32.lib \
  30. $(SDK_LIB_PATH)\user32.lib \
  31. $(SDK_LIB_PATH)\gdi32.lib \
  32. $(SDK_LIB_PATH)\advapi32.lib \
  33. $(SDK_LIB_PATH)\version.lib \
  34. $(SDK_LIB_PATH)\imagehlp.lib \
  35. $(SDK_LIB_PATH)\shell32.lib \
  36. $(SDK_LIB_PATH)\ole32.lib \
  37. $(SDK_LIB_PATH)\comdlg32.lib \
  38. $(SDK_LIB_PATH)\comctl32.lib \
  39. $(SDK_LIB_PATH)\uuid.lib \
  40. $(SDK_LIB_PATH)\winmm.lib \
  41. $(SDK_LIB_PATH)\mpr.lib \
  42. $(SDK_LIB_PATH)\userenv.lib \
  43. $(SDK_LIB_PATH)\netapi32.lib \
  44. $(SDK_LIB_PATH)\setupapi.lib \
  45. $(SHELL_LIB_PATH)\shell32p.lib \
  46. $(COBRA_ROOT)\bin\$(O)\log.lib \
  47. $(COBRA_ROOT)\lib\$(O)\utils.lib \
  48. $(COBRA_ROOT)\utils\pch\$(O)\pch.obj \
  49. #ICECAP options
  50. !ifdef USEICECAP
  51. LINKER_FLAGS = $(LINKER_FLAGS) /INCREMENTAL:NO /DEBUGTYPE:FIXUP
  52. !endif
  53. # LINT options, do not end in a semicolon
  54. LINT_TYPE=all
  55. LINT_EXT=lnt
  56. 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;
  57. LINT_OPTS=-v -cmsc -zero +fcu +fwu +fan +fas +fpc +fie -e$(LINT_ERRORS_TO_IGNORE:;= -e)
  58. LINT_OPTS=$(LINT_OPTS:-e =)