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.

61 lines
1.9 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. # compiler options
  15. USE_MSVCRT=1
  16. # include path
  17. INCLUDES=$(COBRA_ROOT)\inc; \
  18. $(COBRA_ROOT)\utils\inc; \
  19. $(BASE_INC_PATH); \
  20. $(WINDOWS_INC_PATH); \
  21. $(ADMIN_INC_PATH); \
  22. # SDK link libraries
  23. TARGETLIBS=$(TARGETLIBS) \
  24. $(SDK_LIB_PATH)\kernel32.lib \
  25. $(SDK_LIB_PATH)\user32.lib \
  26. $(SDK_LIB_PATH)\gdi32.lib \
  27. $(SDK_LIB_PATH)\advapi32.lib \
  28. $(SDK_LIB_PATH)\version.lib \
  29. $(SDK_LIB_PATH)\imagehlp.lib \
  30. $(SDK_LIB_PATH)\shell32.lib \
  31. $(SDK_LIB_PATH)\ole32.lib \
  32. $(SDK_LIB_PATH)\comdlg32.lib \
  33. $(SDK_LIB_PATH)\comctl32.lib \
  34. $(SDK_LIB_PATH)\uuid.lib \
  35. $(SDK_LIB_PATH)\winmm.lib \
  36. $(SDK_LIB_PATH)\mpr.lib \
  37. $(SDK_LIB_PATH)\userenv.lib \
  38. $(SHELL_LIB_PATH)\shell32p.lib \
  39. $(SDK_LIB_PATH)\netapi32.lib \
  40. $(SDK_LIB_PATH)\setupapi.lib \
  41. $(COBRA_ROOT)\utils\log\$(O)\log.obj \
  42. $(COBRA_ROOT)\lib\$(O)\utils.lib \
  43. $(COBRA_ROOT)\utils\pch\$(O)\pch.obj
  44. # LINT options, do not end in a semicolon
  45. LINT_TYPE=all
  46. LINT_EXT=lnt
  47. 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;
  48. LINT_OPTS=-v -cmsc -zero +fcu +fwu +fan +fas +fpc +fie -e$(LINT_ERRORS_TO_IGNORE:;= -e)
  49. LINT_OPTS=$(LINT_OPTS:-e =)