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.

75 lines
2.1 KiB

  1. MAJORCOMP=ApplicationManager
  2. MINORCOMP=AppManDpDLL
  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. TARGETTYPE=DYNLINK
  12. TARGETEXT=dll
  13. TARGETPATH=Obj
  14. UMTYPE=windows
  15. TARGETNAME=AppManDp
  16. !if !$(FREEBUILD)
  17. !ifdef DIRECTX_REDIST
  18. TARGETNAME=$(TARGETNAME)d
  19. !endif
  20. !endif
  21. BINPLACE_PLACEFILE=$(DXROOT)\public\sdk\lib\placefil.txt
  22. DLLENTRY=_DllMainCRTStartup
  23. USE_LIBCMT=1
  24. PRECOMPILED_INCLUDE=..\stdafx.h
  25. PRECOMPILED_SOURCEFILE=..\stdafx.cpp
  26. PRECOMPILED_CXX=1
  27. !IF "$(NTDEBUG)" == "ntsd" || "$(NTDEBUG)" == "cvp" || "$(NTDEBUG)" == "sym"
  28. USE_MAPSYM = 1
  29. DEBUG_CRTS=1
  30. RC_DEFINES=$(RC_DEFINES) -DDEBUG=1
  31. C_DEFINES=$(C_DEFINES) /D"WIN32" /D"_DEBUG" /D"_WINDOWS" /D"MBCS" /D"_USERDLL" /D"_ATL_STATIC_REGISTRY"
  32. !ELSE
  33. C_DEFINES=$(C_DEFINES) /D"WIN32" /D"NDEBUG" /D"_WINDOWS" /D"MBCS" /D"_USERDLL" /D"_ATL_STATIC_REGISTRY"
  34. !ENDIF
  35. TARGETLIBS=$(TARGETLIBS) \
  36. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\kernel32.lib \
  37. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\user32.lib \
  38. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\gdi32.lib \
  39. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\winspool.lib \
  40. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\comdlg32.lib \
  41. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\advapi32.lib \
  42. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\shell32.lib \
  43. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\ole32.lib \
  44. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\oleaut32.lib \
  45. $(_NTDRIVE)\$(_NTROOT)\public\sdk\lib\*\uuid.lib
  46. INCLUDES=$(DXROOT)\Inc; \
  47. $(DXROOT)\ApplicationManager\Include; \
  48. $(DXROOT)\ApplicationManager\ComInterface; \
  49. $(SDXROOT)\public\sdk\inc\mfc42; \
  50. $(SDXROOT)\public\sdk\inc\atl30;
  51. SOURCES= \
  52. ..\AppManDispatch.idl \
  53. ..\AppManDispatch.rc \
  54. ..\AppEntry.cpp \
  55. ..\AppManager.cpp \
  56. ..\AppManDispatch.cpp \
  57. ..\IncAppManDebug.cpp \
  58. ..\IncGlobal.cpp \
  59. ..\IncWin32API.cpp