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.
86 lines
2.6 KiB
86 lines
2.6 KiB
CCSHELL_DIR = $(PROJECT_ROOT)
|
|
|
|
!include $(CCSHELL_DIR)\common.inc
|
|
SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\common.inc
|
|
|
|
TARGETNAME = taskui
|
|
TARGETPATH = obj
|
|
TARGETTYPE = DYNLINK
|
|
|
|
SOURCES = \
|
|
TaskUI.idl \
|
|
TaskUI.cpp \
|
|
TaskSheet.cpp \
|
|
TaskFrame.cpp \
|
|
debug.cpp \
|
|
propbag.cpp \
|
|
Page.cpp \
|
|
HTMLControl.cpp \
|
|
TaskUI.rc
|
|
|
|
# Note: $(WINDOWS_LIB_PATH)\obj and not $(WINDOWS_LIB_PATH)\$(_OBJ_DIR)
|
|
# because the Windows depot publishes only the fre libraries.
|
|
|
|
!ifdef DUI_GDIPLUS
|
|
C_DEFINES = $(C_DEFINES) -DGADGET_ENABLE_GDIPLUS
|
|
!if $(FREEBUILD)
|
|
DUILIB = directuigp
|
|
!else
|
|
DUILIB = directuigpd
|
|
!endif
|
|
!else
|
|
!if $(FREEBUILD)
|
|
DUILIB = directui
|
|
!else
|
|
DUILIB = directuid
|
|
!endif
|
|
!endif
|
|
|
|
TARGETLIBS = \
|
|
$(SDK_LIB_PATH)\uuid.lib \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
$(SDK_LIB_PATH)\user32.lib \
|
|
$(SDK_LIB_PATH)\gdi32.lib \
|
|
$(SDK_LIB_PATH)\netapi32.lib \
|
|
$(SDK_LIB_PATH)\advapi32.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\oleaut32.lib \
|
|
$(SDK_LIB_PATH)\oleacc.lib \
|
|
$(SDK_LIB_PATH)\comctl32.lib \
|
|
$(SHELL_LIB_PATH)\comctlp.lib \
|
|
$(SDK_LIB_PATH)\shlwapi.lib \
|
|
$(SHELL_LIB_PATH)\shlwapip.lib\
|
|
$(SDK_LIB_PATH)\shell32.lib \
|
|
$(SHELL_LIB_PATH)\shell32p.lib\
|
|
$(SDK_LIB_PATH)\msimg32.lib \
|
|
$(SDK_LIB_PATH)\urlmon.lib \
|
|
$(SDK_LIB_PATH)\gdiplus.lib \
|
|
$(WINDOWS_LIB_PATH)\obj\duser.lib \
|
|
$(WINDOWS_LIB_PATH)\$(DUILIB).lib \
|
|
$(CCSHELL_DIR)\lib\$(O)\stock.lib
|
|
|
|
INCLUDES = $(INCLUDES); \
|
|
$(O); \
|
|
$(SDK_INC_PATH)\GDIPlus; \
|
|
$(WINDOWS_INC_PATH)\DUser
|
|
|
|
USE_ATL=1
|
|
USE_MSVCRT=1
|
|
|
|
DLLDEF = $(O)\$(TARGETNAME).def
|
|
DLLENTRY = _DllMainCRTStartup
|
|
|
|
PRECOMPILED_CXX = 1
|
|
PRECOMPILED_INCLUDE = StdAfx.h
|
|
|
|
PASS0_HEADERDIR=$(O)
|
|
PASS0_SOURCEDIR=$(O)
|
|
MIDL_UUIDDIR=$(O)
|
|
MIDL_TLBDIR=$(O)
|
|
|
|
# specify -Oicf once
|
|
MIDL_OPTIMIZATION=$(MIDL_OPTIMIZATION:-Oicf=) -Oicf
|
|
|
|
SELFREGNAME = $(O)\selfreg_$(TARGETNAME).inf
|
|
MISCFILES = $(MISCFILES) $(SELFREGNAME)
|
|
NTTARGETFILE0 = $(SELFREGNAME)
|