66 lines
1.2 KiB
Plaintext
66 lines
1.2 KiB
Plaintext
|
TARGETNAME=shelldrt
|
||
|
TARGETPATH=obj
|
||
|
TARGETTYPE=PROGRAM
|
||
|
|
||
|
NOT_LEAN_AND_MEAN=1
|
||
|
|
||
|
USE_NTDLL=1
|
||
|
|
||
|
CCSHELL_DIR = $(PROJECT_ROOT)
|
||
|
|
||
|
INCLUDES=$(INCLUDES);$(CCSHELL_DIR)\ext\shtl
|
||
|
INCLUDES = $(INCLUDES);$(PROJECT_ROOT)\lib\$(O)
|
||
|
|
||
|
!if !$(FREEBUILD)
|
||
|
C_DEFINES = $(C_DEFINES) -DDEBUG
|
||
|
LINKER_NOICF = 1 # ICF is s-l-o-w
|
||
|
!endif
|
||
|
|
||
|
!if "$(FULL_DEBUG)" == "1"
|
||
|
MSC_OPTIMIZATION= /Odi
|
||
|
!endif
|
||
|
|
||
|
LINKER_FLAGS=-merge:.CRT=.data
|
||
|
|
||
|
SOURCES= shelldrt.cpp \
|
||
|
shelldrt.rc
|
||
|
|
||
|
UMTYPE=console
|
||
|
EXPECTED_WINVER=4.0
|
||
|
UMENTRYABS=mainCRTStartup
|
||
|
|
||
|
USE_STATIC_ATL=1
|
||
|
ATL_VER=30
|
||
|
USE_VCCOM=1
|
||
|
USE_NATIVE_EH=1
|
||
|
USE_STL=1
|
||
|
USE_MSVCRT=1
|
||
|
|
||
|
VDMLIBS= \
|
||
|
$(SDK_LIB_PATH)\vdmdbg.lib
|
||
|
|
||
|
TARGETLIBS= \
|
||
|
$(SDK_LIB_PATH)\oleaut32.lib \
|
||
|
$(WINDOWS_LIB_PATH)\user32p.lib \
|
||
|
$(SDK_LIB_PATH)\uuid.lib \
|
||
|
$(SDK_LIB_PATH)\version.lib \
|
||
|
$(SHELL_LIB_PATH)\shell32p.lib \
|
||
|
$(SDK_LIB_PATH)\ntdll.lib
|
||
|
|
||
|
LINKLIBS= \
|
||
|
$(TERMSRV_LIB_PATH)\utildll.lib
|
||
|
|
||
|
!if !$(WIN64)
|
||
|
TARGETLIBS = \
|
||
|
$(TARGETLIBS) \
|
||
|
$(VDMLIBS)
|
||
|
!endif
|
||
|
|
||
|
PRECOMPILED_CXX=1
|
||
|
PRECOMPILED_INCLUDE=stdafx.h
|
||
|
PRECOMPILED_PCH=stdafx.pch
|
||
|
PRECOMPILED_OBJ=stdafx.obj
|
||
|
|
||
|
|
||
|
C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE
|
||
|
UMENTRY=wmain
|