spiegel-keyman/windows/src/engine/keyman32/Makefile
Marc Durdin 845d65e5e4 chore(windows): remove backup build step
We no longer need to backup debug files as they are saved to the symbol
store during a release build. This reduces the amount of storage
required for a release build and should speed up the build also.

Also fixes the broken build where backup had not been updated for the
new consistent build paths.
2021-07-07 08:09:26 +10:00

51 lines
1.3 KiB
Makefile

#
# Keyman32 Makefile
#
!include ..\..\Defines.mak
build: version.res dirs pull-core
$(MSBUILD) keyman32.vcxproj $(MSBUILD_BUILD)
$(COPY) $(WIN32_TARGET_PATH)\keyman32.dll $(PROGRAM)\engine
$(COPY) $(WIN32_TARGET_PATH)\keyman32.pdb $(DEBUGPATH)\engine
#$(COPY) $(WIN32_TARGET_PATH)\keyman32.lib $(OUTLIB) done by vcxproj
clean: def-clean
$(MSBUILD) $(MSBUILD_CLEAN) keyman32.vcxproj
signcode:
$(SIGNCODE) /d "Keyman Engine" $(PROGRAM)\engine\keyman32.dll
wrap-symbols:
$(SYMSTORE) $(PROGRAM)\engine\keyman32.dll /t keyman-engine-windows
$(SYMSTORE) $(DEBUGPATH)\engine\keyman32.pdb /t keyman-engine-windows
install:
$(COPY) $(PROGRAM)\engine\keyman32.dll "$(INSTALLPATH_KEYMANENGINE)\keyman32.dll"
echo You may want to manually tweak keyman-debug-etw.man and fill in $(INSTALLPATH_KEYMANENGINE)\keyman32.dll
echo and then run wevtutil im keyman-debug-etw.man to get the latest event tracing
!ifdef DEBUG
CORE_DEBUG=--debug
MESON_TARGET=debug
!else
MESON_TARGET=release
!endif
!ifdef GIT_BASH_FOR_KEYMAN
CALLER=$(GIT_BASH_FOR_KEYMAN)
!else
CALLER=start /wait
!endif
!ifdef DEBUG
BUILD_DEBUG=-d
!else
BUILD_DEBUG=
!endif
pull-core:
cd $(ROOT)\..\common\core\desktop
$(CALLER) ./build.sh -p native $(BUILD_DEBUG)
cd $(ROOT)\src\engine\keyman32
!include ..\..\Target.mak