71 lines
1.4 KiB
Plaintext
71 lines
1.4 KiB
Plaintext
|
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
|