116 lines
3.2 KiB
Plaintext
116 lines
3.2 KiB
Plaintext
TARGETNAME=filemgmt
|
|
TARGETPATH=obj
|
|
TARGETTYPE=DYNLINK
|
|
|
|
!IF defined(SLATE_REGISTER) && defined(MAKEDLL)
|
|
REGSVR_FILE=$(TARGETPATH)\$(TARGET_DIRECTORY)\$(TARGETNAME).dll
|
|
REGSVR_MARKER=$O\$(TARGETNAME).trg
|
|
NTTARGETFILES=$(REGSVR_MARKER)
|
|
!ENDIF
|
|
|
|
!IF !defined(FRAMEWRK_BASEDIR)
|
|
FRAMEWRK_BASEDIR = $(PROJECT_ROOT)\snapin\framewrk
|
|
!ENDIF
|
|
|
|
DLLENTRY=_DllMainCRTStartup
|
|
UMTYPE=windows
|
|
|
|
#
|
|
# Shfusion.lib causes linker warnings. Ignore them.
|
|
#
|
|
LINKER_FLAGS=$(LINKER_FLAGS) -ignore:4049,4217
|
|
|
|
#
|
|
# Enable Fusion Build Magic (preprocess the manifest, stick in resources)
|
|
#
|
|
SXS_ASSEMBLY_NAME=Microsoft.Windows.storage.filemgmt
|
|
SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
|
|
SXS_MANIFEST=filemgmt.manifest
|
|
SXS_MANIFEST_IN_RESOURCES=1
|
|
SXS_NO_BINPLACE=1
|
|
# the resource ID here must be 2
|
|
SXS_MANIFEST_RESOURCE_ID=2
|
|
# ISOLATION_AWARE_ENABLED ==> use ui themes
|
|
C_DEFINES = -DUNICODE -DISOLATION_AWARE_ENABLED
|
|
|
|
USE_MFCUNICODE=1
|
|
USE_VCCOM=1
|
|
USE_ATL=1
|
|
|
|
TARGETLIBS=\
|
|
$(ADMIN_LIB_PATH)\AdminSnapInUuid.lib \
|
|
$(SDK_LIB_PATH)\mmc.lib \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\oleaut32.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SHELL_LIB_PATH)\shell32p.lib \
|
|
$(SDK_LIB_PATH)\activeds.lib \
|
|
$(SDK_LIB_PATH)\netapi32.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SDK_LIB_PATH)\adsiid.lib \
|
|
$(SHELL_LIB_PATH)\shfusion.lib \
|
|
$(SHELL_LIB_PATH)\shlwapip.lib \
|
|
$(SDK_LIB_PATH)\comdlg32.lib \
|
|
$(SDK_LIB_PATH)\gdi32.lib \
|
|
$(SDK_LIB_PATH)\ws2_32.lib \
|
|
$(SDK_LIB_PATH)\cfgmgr32.lib \
|
|
$(SDK_LIB_PATH)\htmlhelp.lib \
|
|
$(SDK_LIB_PATH)\shlwapi.lib \
|
|
..\corecopy\$(O)\uicore.lib \
|
|
$(FRAMEWRK_BASEDIR)\$(O)\framewrk.lib
|
|
|
|
INCLUDES=$(FRAMEWRK_BASEDIR)\inc;..\chooser;$(DS_INC_PATH); \
|
|
$(NET_INC_PATH);$(SHELL_INC_PATH);..\corecopy; \
|
|
$(BASE_INC_PATH)
|
|
|
|
PRECOMPILED_INCLUDE = stdafx.h
|
|
PRECOMPILED_CXX = 1
|
|
|
|
#MIDL_NO_ROBUST=1 96045 robust MIDL
|
|
|
|
SOURCES= \
|
|
cookie.cpp \
|
|
compdata.cpp \
|
|
cmponent.cpp \
|
|
about.cpp \
|
|
toolbar.cpp \
|
|
dataobj.cpp \
|
|
persist.cpp \
|
|
SvcEnum.cpp \
|
|
FileSvc.cpp \
|
|
filemgmt.cpp \
|
|
SnapMgr.cpp \
|
|
utils.cpp \
|
|
wraps.cpp \
|
|
smb.cpp \
|
|
fpnw.cpp \
|
|
sfm.cpp \
|
|
sfmcfg.cpp \
|
|
sfmfasoc.cpp \
|
|
sfmsess.cpp \
|
|
sfmtypes.cpp \
|
|
sfmutil.cpp \
|
|
svcutils.cpp \
|
|
svcprop.cpp \
|
|
svcprop1.cpp \
|
|
svcprop2.cpp \
|
|
svcprop3.cpp \
|
|
progress.cpp \
|
|
shrprop.cpp \
|
|
shrpub.cpp \
|
|
permpage.cpp \
|
|
mvedit.cpp \
|
|
lsastuff.cpp \
|
|
shrpgsfm.cpp \
|
|
shrpgsmb.cpp \
|
|
cacheset.cpp \
|
|
resource.rc
|
|
|
|
MISCFILES=\
|
|
..\Admin_Basic_Support_PRO_{AF2A7133-654F-4D2F-B42B-F52714781F0A}.sld \
|
|
..\Admin_Basic_Support_ADS_{4247BACE-CBB8-4FC7-BF31-AFB57C5B664B}.sld \
|
|
..\Server_Admin_tools_in_admin_pack_{3EE73300-F993-4468-AC0B-475EF6378761}.sld
|
|
|