mirror of https://github.com/tongzx/nt5src
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.
126 lines
3.8 KiB
126 lines
3.8 KiB
#
|
|
# 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=
|
|
# MINORCOMP=
|
|
#
|
|
# The developer defines the TARGETNAME variable. It is the name of
|
|
# the target (component) that is being built by this makefile.
|
|
# It should not include any path or filename extension.
|
|
#
|
|
TARGETNAME=UpdateDB
|
|
#
|
|
# The developer defines the TARGETPATH and TARGETTYPE variables.
|
|
|
|
# The first variable specifies where the target will be built. The second specifies
|
|
# the type of target (either PROGRAM, DYNLINK, LIBRARY, UMAPPL_NOLIB or
|
|
# BOOTPGM). Use UMAPPL_NOLIB when you are only building user-mode
|
|
# programs and do not need to build a library.
|
|
#
|
|
TARGETPATH=obj
|
|
# Select one of the following, and delete the others:
|
|
# TARGETTYPE=PROGRAM
|
|
TARGETTYPE=DYNLINK
|
|
# TARGETTYPE=LIBRARY
|
|
# TARGETTYPE=UMAPPL_NOLIB
|
|
# TARGETTYPE=BOOTPGM
|
|
#
|
|
# The TARGETLIBS macro specifies additional libraries to link against your target
|
|
|
|
# image. Each library path specification should contain an asterisk (*)
|
|
# where the machine-specific subdirectory name should go.
|
|
#
|
|
DLLDEF=UpdateDB.def
|
|
DLLENTRY=_DllMainCRTStartup
|
|
NO_NTDLL=1
|
|
|
|
ATL_VER=30
|
|
USE_STATIC_ATL=1
|
|
USE_IOSTREAM=1
|
|
USE_VCCOM=1
|
|
USE_LIBCMT=1
|
|
#MSC_WARNING_LEVEL=/W4
|
|
|
|
TARGETLIBS=\
|
|
..\..\Common\CommonLib\$(O)\common.lib \
|
|
$(SDK_LIB_PATH)\netapi32.lib \
|
|
$(SDK_LIB_PATH)\activeds.lib \
|
|
$(SDK_LIB_PATH)\adsiid.lib \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\oleaut32.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SDK_LIB_PATH)\gdi32.lib \
|
|
$(SDK_LIB_PATH)\winspool.lib \
|
|
$(SDK_LIB_PATH)\comdlg32.lib \
|
|
$(SDK_LIB_PATH)\shell32.lib \
|
|
$(SDK_LIB_PATH)\rpcrt4.lib
|
|
|
|
#
|
|
# The INCLUDES variable specifies any include paths that are specific to
|
|
# this source directory. Separate multiple paths with single
|
|
# semicolons. Relative path specifications are okay.
|
|
#
|
|
INCLUDES=..\..\Common\Include;..\..\Common\idl\agtsvc\$(O);..\..\Common\idl\otheridls\$(O);..\..\Common\mcsdmres\mcsdmres\$(O);..\..\Common\mcsdmmsg\mcsdmmsg\$(O);..\..\Common\mcsdmres;..\..\Common\mcsdmmsg
|
|
#
|
|
# The developer defines the SOURCES macro. It contains a list of all the
|
|
# source files for this component. Specify each source file on a separate
|
|
|
|
# line using the line-continuation character. This minimizes merge
|
|
# conflicts if two developers are adding source files to the same component.
|
|
#
|
|
|
|
SOURCES=\
|
|
StdAfx.cpp \
|
|
StoreInfo.cpp \
|
|
UpdateDB.cpp \
|
|
UpdateDB.rc
|
|
|
|
# ..\..\Common\include\ARExt_i.c \
|
|
# UpdateDB.idl \
|
|
# Common.cpp \
|
|
# Err.cpp \
|
|
# McsDbgU.cpp \
|
|
# McsDebug.cpp \
|
|
# TSync.cpp \
|
|
|
|
# i386_SOURCES=i386\source1.asm
|
|
# ALPHA_SOURCES=alpha\source1.s
|
|
# MIPS_SOURCES=mips\source1.s
|
|
# PPC_SOURCES=ppc\source1.s
|
|
#
|
|
# Next, specify options for the compiler using C_DEFINES.
|
|
#
|
|
C_DEFINES=/DWIN32 /D_WINDOWS /D_USRDLL /D_UNICODE /DUNICODE
|
|
|
|
BINPLACE_PLACEFILE=..\..\placefil.txt
|
|
#
|
|
# Next, specify one or more user-mode test programs and their type.
|
|
|
|
# Use UMTEST for optional test programs. Use UMAPPL for
|
|
# programs that are always built when the directory is built. See also
|
|
# UMTYPE, UMBASE, and UMLIBS.
|
|
#
|
|
# UMTYPE=nt
|
|
# UMTEST=bunny*baz
|
|
# UMAPPL=bunny*baz
|
|
# UMBASE=0x1000000
|
|
# UMLIBS=obj\*\bunny.lib
|
|
#
|
|
# Defining either (or both) the variables NTTARGETFILE0 and/or NTTARGETFILES
|
|
# causes makefile.def to include .\makefile.inc immediately after it
|
|
|
|
# specifies the top level targets (all, clean and loc) and their dependencies.
|
|
# The makefile.def file expands NTTARGETFILE0 as the first dependent for the
|
|
# "all" target and NTTARGETFILES as the last dependent for the "all" target.
|
|
# This is useful for specifying additional targets and dependencies that do not fit the
|
|
# general case covered by makefile.def.
|
|
#
|
|
# NTTARGETFILE0=
|
|
# NTTARGETFILES=
|
|
# For more information about the macros in this file, see Macro Definitions.
|
|
|