windows-nt/Source/XPSP1/NT/base/mvdm/v86/scaffold/sources
2020-09-26 16:20:57 +08:00

158 lines
4.2 KiB
Plaintext

!IF 0
Copyright (c) 1989 Microsoft Corporation
Module Name:
sources.
Abstract:
This file specifies the target component being built and the list of
sources files needed to build that component. Also specifies optional
compiler switches and libraries that are unique for the component being
built.
Author:
Steve Wood (stevewo) 12-Apr-1990
Dave Hastings (daveh) 24-Apr-1991
Sudeep Bharati (sudeepb) 31-Dec-1991 - deleted wow32 related stuff and
converted .EXE to (.EXE/.EXP/.LIB)
NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
!ENDIF
#
# The MAJORCOMP and MINORCOMP variables are defined
# so that $(MAJORCOMP)$(MINORCOMP)filename can be used in
# cross compiling to provide unique filenames in a flat namespace.
#
MAJORCOMP=v86
MINORCOMP=scaffold
#
# The TARGETNAME variable is defined by the developer. It is the name of
# the target (component) that is being built by this makefile. It
# should NOT include any path or file extension information.
#
TARGETNAME=ntvdm
#
# The TARGETPATH and TARGETTYPE variables are defined by the developer.
# The first specifies where the target is to be build. The second specifies
# the type of target (either PROGRAM, DYNLINK, LIBRARY, UMAPPL_NOLIB or
# BOOTPGM). UMAPPL_NOLIB is used when you're only building user-mode
# apps and don't need to build a library.
#
TARGETPATH=obj
# PROGLIB is a new target type which allows ntvdm to be an exe and
# at the same time exports interfaces like a dll.
TARGETTYPE=PROGLIB
#
# The TARGETLIBS specifies additional libraries to link with you target
# image. Each library path specification should contain an asterisk (*)
# where the machine specific subdirectory name should go.
#
!IFNDEF NTVDM_NET_PATH
NTVDM_NET_PATH=..\..\..\net
!ENDIF
!IFDEF NTLIBPATH
TARGETLIBS=$(SDK_LIB_PATH)\monitor.lib \
$(SDK_LIB_PATH)\xms.lib \
$(SDK_LIB_PATH)\dbg.lib \
$(SDK_LIB_PATH)\dem.lib \
$(SDK_LIB_PATH)\command.lib \
!IFDEF NTVDM_NET_SUPPORT
..\..\dos\command\$(O)\command.lib \
..\..\vdmredir\$(O)\vdmredir.lib
!ELSE
..\..\dos\command\$(O)\command.lib
!ENDIF
!ELSE
TARGETLIBS=$(SDK_LIB_PATH)\monitor.lib \
$(SDK_LIB_PATH)\dem.lib \
$(SDK_LIB_PATH)\xms.lib \
$(SDK_LIB_PATH)\dbg.lib \
$(SDK_LIB_PATH)\command.lib \
!IFDEF NTVDM_NET_SUPPORT
..\..\vdmredir\$(O)\vdmredir.lib \
$(SDK_LIB_PATH)\netapi32.lib \
$(SDK_LIB_PATH)\xactsrv.lib \
$(SDK_LIB_PATH)\rxcommon.lib \
$(NTVDM_NET_PATH)\netlib\$(O)\netlib.lib \
!ENDIF
$(SDK_LIB_PATH)\gdi32.lib \
!ENDIF
#
# The INCLUDES variable specifies any include paths that are specific to
# this source directory. Separate multiple directory paths with single
# semicolons. Relative path specifications are okay.
#
INCLUDES=..\..\inc;..\..\..\windows\inc
#
# The SOURCES variable is defined by the developer. It is a list of all the
# source files for this component. Each source file should be on a separate
# line using the line continuation character. This will minimize merge
# conflicts if two developers adding source files to the same component.
#
SOURCES=vdm.rc
#
# Next specify options for the compiler.
#
!IFDEF NTVDM_NET_SUPPORT
C_DEFINES=-DWIN_32 -DWOW -DNTVDM_NET_SUPPORT
!ELSE
C_DEFINES=-DWIN_32 -DWOW
!ENDIF
#
# Next specify a kernel mode test (valid only in NTOS tree)
#
NTTEST=
#
# Next specify one or more user mode test programs and their type
# UMTEST is used for optional test programs. UMAPPL is used for
# programs that always get built when the directory is built.
#
UMTYPE=console
UMTEST=
UMAPPL=
UMBASE=0x1000000
UMLIBS=
#
# Defining either (or both) the variables NTTARGETFILE0 and/or NTTARGETFILES
# will cause MAKEFILE.DEF to include .\makefile.inc immediately after it
# specifies the top level targets (all, clean and loc) and their dependencies.
# MAKEFILE.DEF also expands NTTARGETFILE0 as the first dependent for the
# "all" target and NTTARGETFILES as the last dependent for the "all" target.
# Useful for specifying additional targets and dependencies that don't fit the
# general case covered by MAKEFILE.DEF
#
# NTTARGETFILE0=
# NTTARGETFILES=