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.
76 lines
1.7 KiB
76 lines
1.7 KiB
CCSHELL_DIR = $(PROJECT_ROOT)
|
|
|
|
!include $(CCSHELL_DIR)\common.inc
|
|
SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\common.inc
|
|
|
|
PASS1_PUBLISH = {$(O)\ntshrui.lib=$(SHELL_LIB_PATH)\ntshrui.lib}
|
|
|
|
TARGETNAME= ntshrui
|
|
TARGETPATH= obj
|
|
TARGETTYPE= DYNLINK
|
|
|
|
DLLDEF= $(O)\app.def
|
|
DLLENTRY= _DllMainCRTStartup
|
|
|
|
USE_MSVCRT=1
|
|
|
|
INCLUDES=\
|
|
$(NET_INC_PATH); \
|
|
$(INCLUDES)
|
|
|
|
# Dynamically loading comctl32 through shfusion. Need to ignore "locally defined symbol imported" error
|
|
LINKER_FLAGS = $(LINKER_FLAGS) -ignore:4049,4217
|
|
|
|
TARGETLIBS=\
|
|
$(CCSHELL_DIR)\lib\$(O)\stock.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\oleaut32.lib \
|
|
$(SHELL_LIB_PATH)\shell32p.lib \
|
|
$(SDK_LIB_PATH)\shlwapi.lib \
|
|
$(SHELL_LIB_PATH)\shlwapip.lib \
|
|
$(SHELL_LIB_PATH)\shfusion.lib \
|
|
$(SHELL_LIB_PATH)\shguidp.lib \
|
|
$(DS_LIB_PATH)\netapi32p.lib \
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\userenv.lib \
|
|
$(SDK_LIB_PATH)\user32.lib
|
|
|
|
DELAYLOAD=ole32.dll;userenv.dll
|
|
DLOAD_ERROR_HANDLER=kernel32
|
|
|
|
SOURCES=\
|
|
messages.mc \
|
|
permpage.cxx \
|
|
api.cxx \
|
|
cache.cxx \
|
|
copyhook.cxx \
|
|
dlgbase.cxx \
|
|
dlgnew.cxx \
|
|
dllmain.cxx \
|
|
ole.cxx \
|
|
share.cxx \
|
|
shrinfo.cxx \
|
|
shrpage.cxx \
|
|
shrpage2.cxx \
|
|
strhash.cxx \
|
|
util.cxx \
|
|
app.rc
|
|
|
|
PASS0_HEADERDIR = $(O)
|
|
PASS0_SOURCEDIR = $(O)
|
|
|
|
PRECOMPILED_INCLUDE=headers.hxx
|
|
PRECOMPILED_CXX=1
|
|
|
|
NTTARGETFILES=
|
|
|
|
# Fusion stuff
|
|
SXS_ASSEMBLY_NAME=Microsoft.Windows.NTSHRUI
|
|
SXS_ASSEMBLY_VERSION=1.0
|
|
SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
|
|
SXS_MANIFEST=shell_ntshrui.manifest
|
|
SXS_MANIFEST_IN_RESOURCES=1
|
|
SXS_MANIFEST_RESOURCE_ID=123
|
|
SXS_NO_BINPLACE=1
|