mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-09 10:25:32 +00:00
58 lines
No EOL
1 KiB
Makefile
58 lines
No EOL
1 KiB
Makefile
#
|
|
# Header.mak - used for makefiles which are in parent folders
|
|
#
|
|
|
|
!IFNDEF TARGETS
|
|
!ERROR You must define the targets before including the Header.mak file!
|
|
!ENDIF
|
|
|
|
!IFDEF KEYMAN_ROOT
|
|
ROOT=$(KEYMAN_ROOT)\windows
|
|
!ELSE
|
|
ROOT=c:\keyman\windows
|
|
!ENDIF
|
|
|
|
# This path will need to be updated if the root path changes
|
|
|
|
!include $(ROOT)\src\Defines.mak
|
|
|
|
#
|
|
# These three targets are the standard targets for all
|
|
#
|
|
|
|
build: $(BUILDPREREQ)
|
|
$(MAKE) -DTARGET=build $(TARGETS)
|
|
|
|
!IFNDEF NOTARGET_SIGNCODE
|
|
signcode:
|
|
$(MAKE) -DTARGET=signcode $(TARGETS)
|
|
|
|
backup:
|
|
$(MAKE) -DTARGET=backup $(TARGETS)
|
|
!ELSE
|
|
signcode:
|
|
rem no signcode required
|
|
|
|
backup:
|
|
rem no backup required
|
|
!ENDIF
|
|
|
|
build-release:
|
|
!IFDEF RELEASE_TARGETS
|
|
$(MAKE) -DTARGET=build-release $(RELEASE_TARGETS)
|
|
!ELSE
|
|
@rem
|
|
!ENDIF
|
|
|
|
clean:
|
|
$(MAKE) -DTARGET=clean $(TARGETS) $(CLEANS)
|
|
|
|
install:
|
|
$(MAKE) -DTARGET=install $(TARGETS)
|
|
|
|
test-manifest:
|
|
!IFDEF MANIFESTS
|
|
$(MAKE) -DTARGET=test-manifest $(MANIFESTS)
|
|
!ELSE
|
|
$(MAKE) -DTARGET=test-manifest $(TARGETS)
|
|
!ENDIF |