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.
70 lines
1.4 KiB
70 lines
1.4 KiB
CM_ROOT=$(PROJECT_ROOT)\rras\cm
|
|
!include $(CM_ROOT)\sources.inc
|
|
|
|
TARGETNAME=cmak
|
|
TARGETPATH=$(CM_BUILD_ROOT)
|
|
TARGETTYPE=PROGRAM
|
|
|
|
USE_UNICODE=1
|
|
|
|
!ifdef USE_UNICODE
|
|
C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE
|
|
!endif
|
|
|
|
PRECOMPILED_CXX=1
|
|
PRECOMPILED_INCLUDE=cmmaster.h
|
|
UMENTRY=WinMainCRTStartup
|
|
UMENTRYABS=WinMainCRTStartup
|
|
UMTYPE=windows
|
|
USE_MSVCRT=1
|
|
BUFFER_OVERFLOW_CHECKS=1
|
|
|
|
TARGETLIBS=\
|
|
$(CM_BUILD_ROOT)\*\cmdebug.lib \
|
|
$(CM_BUILD_ROOT)\*\cmutil.lib \
|
|
$(CM_BUILD_ROOT)\*\cmsecure.lib \
|
|
!ifdef USE_UNICODE
|
|
$(CM_BUILD_ROOT)\*\cmsetupw.lib \
|
|
!else
|
|
$(CM_BUILD_ROOT)\*\cmsetup.lib \
|
|
!endif
|
|
$(SDK_LIB_PATH)\comctl32.lib \
|
|
$(SDK_LIB_PATH)\comdlg32.lib \
|
|
$(SDK_LIB_PATH)\htmlhelp.lib \
|
|
$(SDK_LIB_PATH)\ole32.lib \
|
|
$(SDK_LIB_PATH)\shell32.lib \
|
|
$(SDK_LIB_PATH)\version.lib \
|
|
|
|
SOURCES=\
|
|
image.cpp \
|
|
profwiz.cpp \
|
|
profwiz.rc \
|
|
customaction.cpp \
|
|
netsettings.cpp \
|
|
util.cpp \
|
|
listview.cpp
|
|
|
|
! if "$(PROCESSOR_ARCHITECTURE)" == "x86"
|
|
|
|
MISCFILES=\
|
|
docs\cmakread.htm \
|
|
setup\instcm.inf \
|
|
setup\cmbins.sed \
|
|
setup\cmexcept.inf \
|
|
setup\template.inf \
|
|
setup\template.pmc \
|
|
setup\template.sed \
|
|
setup\template.smc \
|
|
support\x86\cnet16.dll \
|
|
|
|
! else
|
|
|
|
MISCFILES= \
|
|
docs\cmakread.htm \
|
|
setup\instcm.inf \
|
|
setup\template.inf \
|
|
setup\template.pmc \
|
|
setup\template.sed \
|
|
setup\template.smc \
|
|
|
|
! endif
|