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.

91 lines
2.9 KiB

  1. MAJORCOMP=ApplicationManager
  2. MINORCOMP=AppManDLL
  3. #
  4. # The build environment sets the FREEBUILD macro to 1 when it is a free build
  5. # so you can change the name of the built binary to be different in that case.
  6. # side effects:
  7. # need 2 entries in placefil.txt (one for each name)
  8. # if a lib is published it will be called the new name; depending on your
  9. # viewpoint this could be a good thing or not
  10. #
  11. TARGETNAME=AppMan
  12. # Append a 'D' to AppMan if we are doing a debug (checked) build.
  13. !if !$(FREEBUILD)
  14. !ifdef DIRECTX_REDIST
  15. TARGETNAME=$(TARGETNAME)d
  16. !endif
  17. !endif
  18. TARGETTYPE=DYNLINK
  19. TARGETEXT=dll
  20. TARGETPATH=Obj
  21. UMTYPE=windows
  22. # 4/09/2000(RichGr): Specify the DX SDK PlaceFil.txt instead of the Win2K one.
  23. BINPLACE_PLACEFILE=$(DXROOT)\public\sdk\lib\placefil.txt
  24. DLLENTRY=_DllMainCRTStartup
  25. # 4/12/2000(RichGr): USE_LIBCMT causes libcmt(d).lib to be selected for the link.
  26. USE_LIBCMT=1
  27. # 4/08/2000(RichGr): Instead of adding /GX to the command-line options, specify USE_NATIVE_EH (Exception Handling).
  28. USE_NATIVE_EH=1
  29. !IF "$(NTDEBUG)" == "ntsd" || "$(NTDEBUG)" == "cvp" || "$(NTDEBUG)" == "sym"
  30. USE_MAPSYM = 1
  31. RC_DEFINES=$(RC_DEFINES) -DDEBUG=1
  32. C_DEFINES=$(C_DEFINES) /D"WIN32" /D"_DEBUG" /D"_WINDOWS" /D"MBCS" /D"_USERDLL"
  33. # 4/12/2000(RichGr): DEBUG_CRTS causes 'd' to be appended to libcmt, etc.
  34. # Note: DEBUG_CRTS defines _DEBUG (if it's not already defined).
  35. DEBUG_CRTS=1
  36. !ELSE
  37. C_DEFINES=$(C_DEFINES) /D"WIN32" /D"NDEBUG" /D"_WINDOWS" /D"MBCS" /D"_USERDLL"
  38. !ENDIF
  39. # 04/10/2000 - allows for addition of BoundsChecker, etc
  40. # libs specified in the OS environment
  41. #
  42. # 4/12/2000(RichGr): Remove msvcrtd.lib from the debug list of libs - most machines don't have msvcrtd.dll installed.
  43. #
  44. TARGETLIBS=$(TARGETLIBS) \
  45. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\kernel32.lib \
  46. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\user32.lib \
  47. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\gdi32.lib \
  48. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\winspool.lib \
  49. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\comdlg32.lib \
  50. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\advapi32.lib \
  51. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\shell32.lib \
  52. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\ole32.lib \
  53. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\oleaut32.lib \
  54. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\uuid.lib \
  55. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\shlwapi.lib
  56. INCLUDES=$(DXROOT)\Inc; \
  57. $(DXROOT)\ApplicationManager\Include; \
  58. $(SDXROOT)\public\sdk\inc\mfc42;
  59. SOURCES= \
  60. ..\AppMan.rc \
  61. ..\ApplicationEntry.cpp \
  62. ..\ApplicationManager.cpp \
  63. ..\ApplicationManagerAdmin.cpp \
  64. ..\ApplicationManagerRoot.cpp \
  65. ..\AppManDebug.cpp \
  66. ..\AppPropertyRules.cpp \
  67. ..\CriticalSection.cpp \
  68. ..\EmptyVolumeCache.cpp \
  69. ..\ExceptionHandler.cpp \
  70. ..\FApplicationManager.cpp \
  71. ..\Global.cpp \
  72. ..\Guids.cpp \
  73. ..\InformationManager.cpp \
  74. ..\Lock.cpp \
  75. ..\RegistryKey.cpp \
  76. ..\Win32API.cpp