msxbuild/lib/make/msxbuild.mk
Willem Cazander 32e0cc4d3d
Some checks failed
Run test asserts / Test-Asserts (push) Failing after -19s
Added unsupported i18n language code error.
2024-07-10 23:38:10 +02:00

40 lines
1.9 KiB
Makefile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# msxbuild.mk - Makefile helper to use with msx projects.
#
MB__         :=
MB__     :=
MB__RECIPE := ]
MB__RECIPEPREFIX := $(.RECIPEPREFIX)
MB__BASEPATH := $(dir $(lastword $(MAKEFILE_LIST)))../..
MB__BASEPATH_REAL := $(if $(realpath $(MB__BASEPATH)),$(realpath $(MB__BASEPATH)),$(MB__BASEPATH))
include $(MB__BASEPATH)/lib/make//mb_doc.mk
include $(MB__BASEPATH)/lib/make//mb_make_call.mk
include $(MB__BASEPATH)/lib/make//mb_make_xml.mk
include $(MB__BASEPATH)/lib/make//mb_make.mk
include $(MB__BASEPATH)/lib/make//mb_os.mk
include $(MB__BASEPATH)/lib/make//mb_conv.mk
include $(MB__BASEPATH)/lib/make//mb_sdcc.mk
include $(MB__BASEPATH)/lib/make//mb_package.mk
include $(MB__BASEPATH)/lib/make//mb_msxrom.mk
include $(MB__BASEPATH)/lib/make//mb_msxhub.mk
include $(MB__BASEPATH)/lib/make//mb_msxpipe.mk
include $(MB__BASEPATH)/lib/make//mb_openmsx.mk
include $(MB__BASEPATH)/lib/make//mb_autoexec.mk
include $(MB__BASEPATH)/lib/make/mb_flight.mk
include $(MB__BASEPATH)/lib/make/mb_assert.mk
include $(MB__BASEPATH)/lib/make/mb_tool.mk
include $(MB__BASEPATH)/lib/make/mb_proj.mk
include $(MB__BASEPATH)/lib/make/i18n/mb_i18n.mk
ifneq ("$(MB_I18N)", "off")
$(if $(wildcard $(MB__BASEPATH)/lib/make/i18n/mb_i18n_$(MB_I18N).mk),,$(error Unsupported i18n language code: $(MB_I18N)))
include $(MB__BASEPATH)/lib/make/i18n/mb_i18n_$(MB_I18N).mk
endif
$(call mb_make_call,mb_doc_variable_rock,MB__RECIPEPREFIX,"Recipe prefix to restore to after flow eval.")
$(call mb_make_call,mb_doc_variable_rock,MB__BASEPATH,"Path where msxbuild lib folder is located.")
$(call mb_make_call,mb_doc_variable_rock,MB__BASEPATH_REAL,"Resolved real path of msxbuild.")