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.

45 lines
1.2 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)\lib\$(_OBJ_DIR)
  14. # compiler options
  15. USE_MSVCRT=1
  16. USER_C_FLAGS=-J
  17. # include path
  18. INCLUDES=$(COBRA_ROOT)\inc; \
  19. $(COBRA_ROOT)\utils\inc; \
  20. $(COBRA_ROOT)\utils\pch; \
  21. $(ADMIN_INC_PATH); \
  22. $(BASE_INC_PATH); \
  23. $(WINDOWS_INC_PATH); \
  24. $(SHELL_INC_PATH); \
  25. #ICECAP options
  26. !ifdef USEICECAP
  27. LINKER_FLAGS = $(LINKER_FLAGS) /INCREMENTAL:NO /DEBUGTYPE:FIXUP
  28. !endif
  29. # LINT options, do not end in a semicolon
  30. LINT_TYPE=all
  31. LINT_EXT=lnt
  32. 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;
  33. LINT_OPTS=-v -cmsc -zero +fcu +fwu +fan +fas +fpc +fie -e$(LINT_ERRORS_TO_IGNORE:;= -e)
  34. LINT_OPTS=$(LINT_OPTS:-e =)