spiegel-keyman/windows/src/engine/keymanmc/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

33 lines
1 KiB
Makefile

#
# Keymanmc Makefile
#
!include ..\..\Defines.mak
build:
mc -U keymanmc.mc
rc keymanmc.rc
link -dll -noentry keymanmc.res
$(COPY) keymanmc.dll $(PROGRAM)\engine
clean: def-clean
-del keymanmc.rc
-del keymanmc.h
-del keymanmc.dll
-del keymanmc.res
-del MSG00409.bin
signcode:
$(SIGNCODE) /d "Keyman Engine" $(PROGRAM)\engine\keymanmc.dll
wrap-symbols:
rem no symbols
install:
$(COPY) $(PROGRAM)\engine\keymanmc.dll "$(INSTALLPATH_KEYMANENGINE)\keymanmc.dll"
reg add HKLM\SYSTEM\CurrentControlSet\services\eventlog\Application\Keyman /v CategoryCount /t REG_DWORD /d 1 /f
reg add HKLM\SYSTEM\CurrentControlSet\services\eventlog\Application\Keyman /v CategoryMessageFile /t REG_SZ /d "$(INSTALLPATH_KEYMANENGINE)\keymanmc.dll" /f
reg add HKLM\SYSTEM\CurrentControlSet\services\eventlog\Application\Keyman /v EventMessageFile /t REG_SZ /d "$(INSTALLPATH_KEYMANENGINE)\keymanmc.dll" /f
reg add HKLM\SYSTEM\CurrentControlSet\services\eventlog\Application\Keyman /v TypesSupported /t REG_DWORD /d 7 /f
!include ..\..\Target.mak