windows-nt/Source/XPSP1/NT/admin/snapin/smonlog/smlogsvc/sources
2020-09-26 16:20:57 +08:00

78 lines
1.5 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
NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
!ENDIF
!ifndef USE_WMI
USE_WMI=1
!endif
!if $(USE_WMI) == 1
C_DEFINES=$(C_DEFINES) -D_IMPLEMENT_WMI=1
!else
C_DEFINES=$(C_DEFINES) -D_IMPLEMENT_WMI=0
!endif
# MSC_WARNING_LEVEL=/W4
MAJORCOMP=mmc
MINORCOMP=smlogsvc
GPSIZE=32
# Include shell_inc_path until SHLoadRegUIStringW call is moved to pdhpla
INCLUDES= .; \
..\common; \
$(SHELL_INC_PATH); \
$(BASE_INC_PATH); \
$(SDKTOOLS_INC_PATH)
TARGETNAME=smlogsvc
TARGETPATH=obj
TARGETTYPE=PROGRAM
MISCFILES=smlogsvc.sld
SOURCES=smlogsvc.c \
logthred.c \
utils.c \
smlogmsg.mc \
smlogsvc.rc
UMTYPE=windows
!if $(USE_WMI) == 1
TARGETLIBS= \
$(SDK_LIB_PATH)\ntdll.lib \
$(SDK_LIB_PATH)\netapi32.lib \
$(SDK_LIB_PATH)\advapip.lib \
$(SDK_LIB_PATH)\version.lib \
$(SHELL_LIB_PATH)\shlwapip.lib \
$(SDKTOOLS_LIB_PATH)\pdhp.lib
!else
TARGETLIBS= \
$(SDK_LIB_PATH)\ntdll.lib \
$(SDK_LIB_PATH)\netapi32.lib \
$(SDK_LIB_PATH)\version.lib \
$(SHELL_LIB_PATH)\shlwapip.lib \
$(SDKTOOLS_LIB_PATH)\pdhp.lib
!endif