windows-nt/Source/XPSP1/NT/shell/osshell/lmui/ntshrui/sources
2020-09-26 16:20:57 +08:00

87 lines
1.8 KiB
Plaintext

TARGETNAME= ntshrui
TARGETPATH= obj
TARGETTYPE= DYNLINK
DLLDEF= $(O)\app.def
DLLENTRY= _DllMainCRTStartup
USE_MSVCRT=1
USE_ATL=1
C_DEFINES= $(C_DEFINES) -DUNICODE -D_UNICODE
!IF "$(SHELLDBG)"=="1"
C_DEFINES=$(C_DEFINES) -DDEBUG -DFULL_DEBUG
!ENDIF
# Make warnings equivalent to errors
!IFNDEF MSC_WARNING_LEVEL
MSC_WARNING_LEVEL=/W3
!ENDIF
MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /WX
CONDITIONAL_INCLUDES=\
afxres.h \
app.rc2
INCLUDES=$(O); \
..\debug; \
$(NET_INC_PATH); \
$(SHELL_INC_PATH); \
$(BASE_INC_PATH)
# Dynamically loading comctl32 through shfusion. Need to ignore "locally defined symbol imported" error
LINKER_FLAGS = $(LINKER_FLAGS) -ignore:4049,4217
TARGETLIBS=\
..\debug\$(O)\debug.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
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