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.

157 lines
4.2 KiB

  1. !IF 0
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. sources.
  5. Abstract:
  6. This file specifies the target component being built and the list of
  7. sources files needed to build that component. Also specifies optional
  8. compiler switches and libraries that are unique for the component being
  9. built.
  10. Author:
  11. Steve Wood (stevewo) 12-Apr-1990
  12. Dave Hastings (daveh) 24-Apr-1991
  13. Sudeep Bharati (sudeepb) 31-Dec-1991 - deleted wow32 related stuff and
  14. converted .EXE to (.EXE/.EXP/.LIB)
  15. NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
  16. !ENDIF
  17. #
  18. # The MAJORCOMP and MINORCOMP variables are defined
  19. # so that $(MAJORCOMP)$(MINORCOMP)filename can be used in
  20. # cross compiling to provide unique filenames in a flat namespace.
  21. #
  22. MAJORCOMP=v86
  23. MINORCOMP=scaffold
  24. #
  25. # The TARGETNAME variable is defined by the developer. It is the name of
  26. # the target (component) that is being built by this makefile. It
  27. # should NOT include any path or file extension information.
  28. #
  29. TARGETNAME=ntvdm
  30. #
  31. # The TARGETPATH and TARGETTYPE variables are defined by the developer.
  32. # The first specifies where the target is to be build. The second specifies
  33. # the type of target (either PROGRAM, DYNLINK, LIBRARY, UMAPPL_NOLIB or
  34. # BOOTPGM). UMAPPL_NOLIB is used when you're only building user-mode
  35. # apps and don't need to build a library.
  36. #
  37. TARGETPATH=obj
  38. # PROGLIB is a new target type which allows ntvdm to be an exe and
  39. # at the same time exports interfaces like a dll.
  40. TARGETTYPE=PROGLIB
  41. #
  42. # The TARGETLIBS specifies additional libraries to link with you target
  43. # image. Each library path specification should contain an asterisk (*)
  44. # where the machine specific subdirectory name should go.
  45. #
  46. !IFNDEF NTVDM_NET_PATH
  47. NTVDM_NET_PATH=..\..\..\net
  48. !ENDIF
  49. !IFDEF NTLIBPATH
  50. TARGETLIBS=$(SDK_LIB_PATH)\monitor.lib \
  51. $(SDK_LIB_PATH)\xms.lib \
  52. $(SDK_LIB_PATH)\dbg.lib \
  53. $(SDK_LIB_PATH)\dem.lib \
  54. $(SDK_LIB_PATH)\command.lib \
  55. !IFDEF NTVDM_NET_SUPPORT
  56. ..\..\dos\command\$(O)\command.lib \
  57. ..\..\vdmredir\$(O)\vdmredir.lib
  58. !ELSE
  59. ..\..\dos\command\$(O)\command.lib
  60. !ENDIF
  61. !ELSE
  62. TARGETLIBS=$(SDK_LIB_PATH)\monitor.lib \
  63. $(SDK_LIB_PATH)\dem.lib \
  64. $(SDK_LIB_PATH)\xms.lib \
  65. $(SDK_LIB_PATH)\dbg.lib \
  66. $(SDK_LIB_PATH)\command.lib \
  67. !IFDEF NTVDM_NET_SUPPORT
  68. ..\..\vdmredir\$(O)\vdmredir.lib \
  69. $(SDK_LIB_PATH)\netapi32.lib \
  70. $(SDK_LIB_PATH)\xactsrv.lib \
  71. $(SDK_LIB_PATH)\rxcommon.lib \
  72. $(NTVDM_NET_PATH)\netlib\$(O)\netlib.lib \
  73. !ENDIF
  74. $(SDK_LIB_PATH)\gdi32.lib \
  75. !ENDIF
  76. #
  77. # The INCLUDES variable specifies any include paths that are specific to
  78. # this source directory. Separate multiple directory paths with single
  79. # semicolons. Relative path specifications are okay.
  80. #
  81. INCLUDES=..\..\inc;..\..\..\windows\inc
  82. #
  83. # The SOURCES variable is defined by the developer. It is a list of all the
  84. # source files for this component. Each source file should be on a separate
  85. # line using the line continuation character. This will minimize merge
  86. # conflicts if two developers adding source files to the same component.
  87. #
  88. SOURCES=vdm.rc
  89. #
  90. # Next specify options for the compiler.
  91. #
  92. !IFDEF NTVDM_NET_SUPPORT
  93. C_DEFINES=-DWIN_32 -DWOW -DNTVDM_NET_SUPPORT
  94. !ELSE
  95. C_DEFINES=-DWIN_32 -DWOW
  96. !ENDIF
  97. #
  98. # Next specify a kernel mode test (valid only in NTOS tree)
  99. #
  100. NTTEST=
  101. #
  102. # Next specify one or more user mode test programs and their type
  103. # UMTEST is used for optional test programs. UMAPPL is used for
  104. # programs that always get built when the directory is built.
  105. #
  106. UMTYPE=console
  107. UMTEST=
  108. UMAPPL=
  109. UMBASE=0x1000000
  110. UMLIBS=
  111. #
  112. # Defining either (or both) the variables NTTARGETFILE0 and/or NTTARGETFILES
  113. # will cause MAKEFILE.DEF to include .\makefile.inc immediately after it
  114. # specifies the top level targets (all, clean and loc) and their dependencies.
  115. # MAKEFILE.DEF also expands NTTARGETFILE0 as the first dependent for the
  116. # "all" target and NTTARGETFILES as the last dependent for the "all" target.
  117. # Useful for specifying additional targets and dependencies that don't fit the
  118. # general case covered by MAKEFILE.DEF
  119. #
  120. # NTTARGETFILE0=
  121. # NTTARGETFILES=