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.
56 lines
1.5 KiB
56 lines
1.5 KiB
CCSHELL_DIR = $(PROJECT_ROOT)
|
|
|
|
!include $(CCSHELL_DIR)\common.inc
|
|
SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\common.inc
|
|
|
|
SELFREGNAME = $(O)\selfreg.inf
|
|
MISCFILES = $(MISCFILES) $(SELFREGNAME)
|
|
|
|
USE_NT_PRODUCT_VER = 1
|
|
|
|
# Dynamically loading comctl32 through shfusion. Need to ignore "locally defined symbol imported" error
|
|
LINKER_FLAGS = $(LINKER_FLAGS) -ignore:4049,4217
|
|
|
|
NTTARGETFILE0 = $(SELFREGNAME)
|
|
|
|
PRECOMPILED_INCLUDE = precomp.h
|
|
PRECOMPILED_PCH = precomp.pch
|
|
PRECOMPILED_OBJ = precomp.obj
|
|
|
|
TARGETNAME = powertoy
|
|
TARGETPATH = obj
|
|
TARGETTYPE = DYNLINK
|
|
|
|
USE_MSVCRT=1
|
|
|
|
INCLUDES = $(INCLUDES);$(SDK_INC_PATH)\gdiplus
|
|
|
|
TARGETLIBS=\
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SDK_LIB_PATH)\gdi32.lib \
|
|
$(SHELL_LIB_PATH)\shell32p.lib \
|
|
$(SHELL_LIB_PATH)\shlwapip.lib \
|
|
$(SHELL_LIB_PATH)\shuuid.lib \
|
|
$(SHELL_LIB_PATH)\shguidp.lib \
|
|
$(SHELL_LIB_PATH)\shfusion.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\oleaut32.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(CCSHELL_DIR)\lib\$O\stock.lib
|
|
|
|
DLLDEF = powertoy.def
|
|
DLLBASE = 0x71300000
|
|
DLLENTRY = DllMain
|
|
|
|
SOURCES = dll.cpp \
|
|
resize.cpp \
|
|
slideshow.cpp \
|
|
resource.rc
|
|
|
|
#
|
|
# Fusionized
|
|
#
|
|
SXS_MANIFEST_RESOURCE_ID=123
|
|
SXS_APPLICATION_MANIFEST=WindowsShell.Manifest
|