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.

46 lines
949 B

  1. TARGETPATH=obj$(BUILD_ALT_DIR)
  2. C_DEFINES=$(C_DEFINES) -DWIN32 -DUNICODE -D_UNICODE -D_NTSDK=1
  3. C_DEFINES=$(C_DEFINES) -DUSE_HEAP_ALLOC=1 -DMPR50=1 -DENABLE_1394
  4. C_DEFINES=$(C_DEFINES) -DUSE_CUSTOM_STL_ALLOCATOR
  5. !IFDEF COMPILE_WITH_TYPESAFE_PRINTF
  6. C_DEFINES=$(C_DEFINES) -DCOMPILE_WITH_TYPESAFE_PRINTF
  7. !ENDIF
  8. !IF !$(FREEBUILD)
  9. C_DEFINES=$(C_DEFINES) -DENABLETRACE
  10. !ENDIF
  11. MSC_WARNING_LEVEL=/W3 /WX
  12. !IF defined(_NCIBUILD_) && $(IA64)
  13. MSC_OPTIMIZATION=/Odi
  14. !ENDIF
  15. PRECOMPILED_CXX=1
  16. PRECOMPILED_INCLUDE=$(PROJDIR)\inc\pch.h
  17. PRECOMPILED_OPTION=/Yu /Fp$(O)\pch.pch
  18. PRECOMPILED_TARGET=$(O)\pch.pch
  19. PRECOMPILED_OBJ=$(O)\pch.obj
  20. RCOPTIONS=-N
  21. UMTYPE=windows
  22. USE_STATIC_ATL=1
  23. USE_MAKEFILE=1
  24. USELIB_CMT=1
  25. USE_NATIVE_EH=1
  26. USE_STL=1
  27. !IF "$(TARGETTYPE)" == "PROGRAM"
  28. UMLIBS=$(PROJDIR)\lib\$(O)\ncbase.lib
  29. !ELSE
  30. LINKLIBS=$(PROJDIR)\lib\$(O)\ncbase.lib
  31. !ENDIF
  32. !IF $(IA64)
  33. # Emit LTCG codegen
  34. LTCG_WKS=1
  35. !ENDIF