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.

136 lines
4.0 KiB

  1. #
  2. # The MAJORCOMP and MINORCOMP variables are defined
  3. # so that $(MAJORCOMP)$(MINORCOMP)filename can be used in
  4. # cross compiling to provide unique filenames in a flat namespace.
  5. #
  6. # MAJORCOMP=
  7. # MINORCOMP=
  8. #
  9. # The developer defines the TARGETNAME variable. It is the name of
  10. # the target (component) that is being built by this makefile.
  11. # It should not include any path or filename extension.
  12. #
  13. TARGETNAME=ScmMigr
  14. #
  15. # The developer defines the TARGETPATH and TARGETTYPE variables.
  16. # The first variable specifies where the target will be built. The second specifies
  17. # the type of target (either PROGRAM, DYNLINK, LIBRARY, UMAPPL_NOLIB or
  18. # BOOTPGM). Use UMAPPL_NOLIB when you are only building user-mode
  19. # programs and do not need to build a library.
  20. #
  21. TARGETPATH=obj
  22. # Select one of the following, and delete the others:
  23. # TARGETTYPE=PROGRAM
  24. TARGETTYPE=DYNLINK
  25. # TARGETTYPE=LIBRARY
  26. # TARGETTYPE=UMAPPL_NOLIB
  27. # TARGETTYPE=BOOTPGM
  28. #
  29. # The TARGETLIBS macro specifies additional libraries to link against your target
  30. # image. Each library path specification should contain an asterisk (*)
  31. # where the machine-specific subdirectory name should go.
  32. #
  33. DLLDEF=ScmMigr.def
  34. DLLENTRY=_DllMainCRTStartup
  35. NO_NTDLL=1
  36. ATL_VER=30
  37. USE_STATIC_ATL=1
  38. USE_IOSTREAM=1
  39. USE_VCCOM=1
  40. USE_LIBCMT=1
  41. USE_NATIVE_EH=1
  42. #MSC_WARNING_LEVEL=/W4
  43. TARGETLIBS=\
  44. ..\..\Common\CommonLib\$(O)\common.lib \
  45. $(SDK_LIB_PATH)\netapi32.lib \
  46. $(SDK_LIB_PATH)\activeds.lib \
  47. $(SDK_LIB_PATH)\adsiid.lib \
  48. $(SDK_LIB_PATH)\kernel32.lib \
  49. $(SDK_LIB_PATH)\user32.lib \
  50. $(SDK_LIB_PATH)\advapi32.lib \
  51. $(SDK_LIB_PATH)\ole32.lib \
  52. $(SDK_LIB_PATH)\oleaut32.lib \
  53. $(SDK_LIB_PATH)\uuid.lib \
  54. $(SDK_LIB_PATH)\gdi32.lib \
  55. $(SDK_LIB_PATH)\winspool.lib \
  56. $(SDK_LIB_PATH)\comdlg32.lib \
  57. $(SDK_LIB_PATH)\shell32.lib \
  58. $(SDK_LIB_PATH)\rpcrt4.lib
  59. #
  60. # The INCLUDES variable specifies any include paths that are specific to
  61. # this source directory. Separate multiple paths with single
  62. # semicolons. Relative path specifications are okay.
  63. #
  64. INCLUDES=..\..\Common\Include;..\..\Common\idl\agtsvc\$(O);..\..\Common\idl\otheridls\$(O);..\..\Common\mcsdmres\mcsdmres\$(O);..\..\Common\mcsdmmsg\mcsdmmsg\$(O);..\..\Common\mcsdmres
  65. #
  66. # The developer defines the SOURCES macro. It contains a list of all the
  67. # source files for this component. Specify each source file on a separate
  68. # line using the line-continuation character. This minimizes merge
  69. # conflicts if two developers are adding source files to the same component.
  70. #
  71. SOURCES=\
  72. dlldatax.c \
  73. ScmMigr.cpp \
  74. ScmMigr.rc \
  75. ServMigr.cpp \
  76. StdAfx.cpp
  77. # ScmMigr.idl \
  78. # ..\..\Common\Include\ARExt_i.c \
  79. # BkupRstr.cpp \
  80. # Common.cpp \
  81. # Err.cpp \
  82. # ErrDct.cpp \
  83. # McsDbgU.cpp \
  84. # McsDebug.cpp \
  85. # TNode.cpp \
  86. # TSync.cpp \
  87. # TxtSid.cpp
  88. # Sd.cpp \
  89. # SecObj.cpp \
  90. # PWGen.cpp \
  91. # CommaLog.cpp \
  92. # i386_SOURCES=i386\source1.asm
  93. # ALPHA_SOURCES=alpha\source1.s
  94. # MIPS_SOURCES=mips\source1.s
  95. # PPC_SOURCES=ppc\source1.s
  96. #
  97. # Next, specify options for the compiler using C_DEFINES.
  98. #
  99. C_DEFINES=/DWIN32 /D_WINDOWS /D_USRDLL /D_UNICODE /DUNICODE /DUSE_STDAFX
  100. BINPLACE_PLACEFILE=..\..\placefil.txt
  101. #
  102. # Next, specify one or more user-mode test programs and their type.
  103. # Use UMTEST for optional test programs. Use UMAPPL for
  104. # programs that are always built when the directory is built. See also
  105. # UMTYPE, UMBASE, and UMLIBS.
  106. #
  107. # UMTYPE=nt
  108. # UMTEST=bunny*baz
  109. # UMAPPL=bunny*baz
  110. # UMBASE=0x1000000
  111. # UMLIBS=obj\*\bunny.lib
  112. #
  113. # Defining either (or both) the variables NTTARGETFILE0 and/or NTTARGETFILES
  114. # causes makefile.def to include .\makefile.inc immediately after it
  115. # specifies the top level targets (all, clean and loc) and their dependencies.
  116. # The makefile.def file expands NTTARGETFILE0 as the first dependent for the
  117. # "all" target and NTTARGETFILES as the last dependent for the "all" target.
  118. # This is useful for specifying additional targets and dependencies that do not fit the
  119. # general case covered by makefile.def.
  120. #
  121. # NTTARGETFILE0=
  122. # NTTARGETFILES=
  123. # For more information about the macros in this file, see Macro Definitions.