42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
CCSHELL_DIR=$(PROJECT_ROOT)
|
|
|
|
!include $(CCSHELL_DIR)\common.inc
|
|
SOURCES_USED=$(CCSHELL_DIR)\common.inc
|
|
|
|
USE_MSVCRT=1
|
|
|
|
TARGETNAME=diskcopy
|
|
TARGETPATH=obj
|
|
|
|
TARGETTYPE=DYNLINK
|
|
DLLDEF=diskcopy.def
|
|
DLLENTRY=DllMain
|
|
|
|
# Dynamically loading comctl32 through shfusion. Need to ignore "locally defined symbol imported" error
|
|
LINKER_FLAGS = $(LINKER_FLAGS) -ignore:4049,4217
|
|
|
|
TARGETLIBS = \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SHELL_LIB_PATH)\shfusion.lib \
|
|
$(SHELL_LIB_PATH)\shlwapip.lib \
|
|
$(SHELL_LIB_PATH)\shell32p.lib \
|
|
|
|
|
|
SOURCES = diskcopy.cpp \
|
|
diskcopy.rc \
|
|
dll.cpp \
|
|
makeboot.cpp \
|
|
shellext.cpp
|
|
|
|
|
|
#
|
|
# Fusionized
|
|
#
|
|
SXS_ASSEMBLY_NAME=Microsoft.Windows.DiskCopy
|
|
SXS_MANIFEST_RESOURCE_ID=123
|
|
SXS_APPLICATION_MANIFEST=WindowsShell.Manifest
|
|
SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
|