!IF 0 Copyright (c) 1989-1996 Microsoft Corporation Module Name: sources. Abstract: This file specifies the target component being built and the list of sources files needed to build that component. Also specifies optional compiler switches and libraries that are unique for the component being built. History: Common ccshell makefile and cleanup 15-Apr-96 Scott Hysom (scotth) Created 24-Fed-2000 by davepl from template created 12-Apr-1990 by Steve Wood (stevewo) NOTE: Commented description of this file is in \nt\public\oak\bin\sources.tpl !ENDIF CCSHELL_DIR = $(PROJECT_ROOT) ! if !defined(NOT_UNICODE) C_DEFINES = $(C_DEFINES) -DUNICODE -D_UNICODE ! endif !if "$(FREEBUILD)" == "0" C_DEFINES = $(C_DEFINES) -DDEBUG LINKER_NOICF = 1 # ICF is s-l-o-w !endif INCLUDES=$(INCLUDES);$(CCSHELL_DIR)\ext\shtl INCLUDES = $(INCLUDES);$(PROJECT_ROOT)\lib\$(O) TARGET_BOTH = 1 NO_BROWSER_FILE = 1 TARGETNAME = SHDRT-SHORTCUTS TARGETPATH = obj TARGETTYPE = DYNLINK NOT_LEAN_AND_MEAN=1 PRECOMPILED_CXX=1 PRECOMPILED_INCLUDE=stdafx.h PRECOMPILED_PCH=stdafx.pch PRECOMPILED_OBJ=stdafx.obj TARGET_IS_NT50_OR_LATER=1 DLLENTRY=_DllMainCRTStartup UMTYPE=windows USE_STATIC_ATL=1 ATL_VER=30 USE_VCCOM=1 USE_NATIVE_EH=1 USE_STL=1 USE_MSVCRT=1 # These are used in makefile.def when building the idl files. PASS0_HEADERDIR=$(O) PASS0_SOURCEDIR=$(O) MIDL_UUIDDIR=$(O) MIDL_TLBDIR=$(O) !IF "$(DEBUG)" == "1" C_DEFINES=$(C_DEFINES) -D_DEBUG !ENDIF !IF "$(DEBUG_ATL)" == "1" C_DEFINES=$(C_DEFINES) -D_ATL_DEBUG_INTERFACES -D_ATL_DEBUG_REFCOUNT -D_ATL_DEBUG_QI !ENDIF # # Note! Linking to stocklib.lib generates some LNK4049 warnings # because stocklib.lib thinks that functions like StrCpyNW are imported, # even though they aren't. Don't worry. # TARGETLIBS = \ $(SDK_LIB_PATH)\kernel32.lib \ $(SDK_LIB_PATH)\gdi32.lib \ $(SDK_LIB_PATH)\user32.lib \ $(SDK_LIB_PATH)\advapi32.lib \ $(SDK_LIB_PATH)\ole32.lib \ $(SDK_LIB_PATH)\oleaut32.lib \ $(SHELL_LIB_PATH)\shlwapip.lib \ $(SHELL_LIB_PATH)\shell32p.lib \ $(CCSHELL_DIR)\lib\$O\shguidp.lib \ $(LIBRARY_PATH)\uuid.lib LINKLIBS = \ INCLUDES=$(INCLUDES);$(CCSHELL_DIR)\ext\shtl;$(CCSHELL_DIR)\shelldrt DLLDEF = $(O)\SHDRT-SHORTCUTS.def SOURCES = \ $(SOURCES_PLATFORM) \ SHDRT-SHORTCUTS.cpp C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE