Back to one prolog inc file.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -7s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -7s
This commit is contained in:
parent
6c21443439
commit
f7a0e097b6
5
Makefile
5
Makefile
|
@ -8,11 +8,8 @@ PATH_BIN := bin
|
|||
PATH_SRC := src
|
||||
PATH_MKLOCAL ?= .
|
||||
PATH_MSXBUILD ?= .
|
||||
include $(PATH_MSXBUILD)/lib/make/setup-prolog.mk
|
||||
include $(PATH_MSXBUILD)/lib/make/setup-debug.mk
|
||||
include $(PATH_MSXBUILD)/lib/make/setup-verbose.mk
|
||||
include $(PATH_MSXBUILD)/lib/make/setup-cnspace.mk
|
||||
-include $(PATH_MKLOCAL)/Makelocal.mk
|
||||
include $(PATH_MSXBUILD)/lib/make/msxbuild-prolog.mk
|
||||
include $(PATH_MSXBUILD)/lib/make/msxbuild.mk
|
||||
$(call mb_make_call,mb_doc_flow_help,MSXBUILD-Example)
|
||||
$(call mb_make_call,mb_make_flow_0module,$(PATH_SRC))
|
||||
|
|
176
lib/make/msxbuild-prolog.mk
Normal file
176
lib/make/msxbuild-prolog.mk
Normal file
|
@ -0,0 +1,176 @@
|
|||
#
|
||||
# Mandatory prolog to included before msxbuild.mk
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
# Make make, make behave.
|
||||
#
|
||||
MAKEFLAGS += --no-builtin-rules
|
||||
MAKEFLAGS += --no-builtin-variables
|
||||
MAKEFLAGS += --warn-undefined-variables
|
||||
.DELETE_ON_ERROR :=
|
||||
.RECIPEPREFIX := _
|
||||
.SUFFIXES :=
|
||||
.PHONY := Makefile
|
||||
.ONESHELL :=
|
||||
.SHELLFLAGS := -e -u -o pipefail -c
|
||||
SHELL := bash
|
||||
ifeq ($(origin .RECIPEPREFIX), undefined)
|
||||
$(error This version of make does not support dynamic white space brain fuck mode.)
|
||||
endif
|
||||
# === Below here is optional ===
|
||||
|
||||
|
||||
#
|
||||
# Latin1 white space and latin1 tab space are not usable in makefiles.
|
||||
# Setup private chinese white space
|
||||
#
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
# TODO: Fix these white spaces will NOT work when put and the end of this file.
|
||||
|
||||
#
|
||||
# Configure verbose mode
|
||||
#
|
||||
ifdef VERBOSE
|
||||
ifeq ("$(VERBOSE)", "off")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef うるさい
|
||||
ifeq ("$(うるさい)", "ユニット")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef LUIDRUCHTIG
|
||||
ifeq ("$(LUIDRUCHTIG)", "uit")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef VERBOSA
|
||||
ifeq ("$(VERBOSA)", "traje")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef VERBOSO
|
||||
ifeq ("$(VERBOSO)", "traje")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef VERBEUSE
|
||||
ifeq ("$(VERBEUSE)", "dehors")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef VERBEUX
|
||||
ifeq ("$(VERBEUX)", "dehors")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef шумный
|
||||
ifeq ("$(шумный)", "вне")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef 吵雜
|
||||
ifeq ("$(吵雜)", "出去")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef वाचाल
|
||||
ifeq ("$(वाचाल)", "बंद")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef ᕗᕉᑉᕉᔅ
|
||||
ifeq ("$(ᕗᕉᑉᕉᔅ)", "ᖃᒥᓪᓗᒍ")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifndef VERBOSE
|
||||
ifndef うるさい
|
||||
ifndef LUIDRUCHTIG
|
||||
ifndef VERBOSA
|
||||
ifndef VERBOSO
|
||||
ifndef VERBEUSE
|
||||
ifndef VERBEUX
|
||||
ifndef шумный
|
||||
ifndef 吵雜
|
||||
ifndef वाचाल
|
||||
ifndef ᕗᕉᑉᕉᔅ
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
#
|
||||
# Configure debug mode
|
||||
#
|
||||
ifdef DEBUG
|
||||
ifneq ("$(DEBUG)", "off")
|
||||
MB_MAKE_CALL_DEBUG ?= $(DEBUG)
|
||||
endif
|
||||
endif
|
||||
ifdef ONTBEESTEN
|
||||
ifneq ("$(ONTBEESTEN)", "uit")
|
||||
MB_MAKE_CALL_DEBUG ?= $(ONTBEESTEN)
|
||||
endif
|
||||
endif
|
||||
ifdef デバッグ
|
||||
ifneq ("$(デバッグ)", "ユニット")
|
||||
MB_MAKE_CALL_DEBUG ?= $(デバッグ)
|
||||
endif
|
||||
endif
|
||||
ifdef DEPURAR
|
||||
ifneq ("$(DEPURAR)", "traje")
|
||||
MB_MAKE_CALL_DEBUG ?= $(DEPURAR)
|
||||
endif
|
||||
endif
|
||||
ifdef DÉBOGUER
|
||||
ifneq ("$(DÉBOGUER)", "dehors")
|
||||
MB_MAKE_CALL_DEBUG ?= $(DÉBOGUER)
|
||||
endif
|
||||
endif
|
||||
ifdef отлаживать
|
||||
ifneq ("$(отлаживать)", "вне")
|
||||
MB_MAKE_CALL_DEBUG ?= $(отлаживать)
|
||||
endif
|
||||
endif
|
||||
ifdef 偵錯
|
||||
ifneq ("$(偵錯)", "出去")
|
||||
MB_MAKE_CALL_DEBUG ?= $(偵錯)
|
||||
endif
|
||||
endif
|
||||
ifdef डिबग
|
||||
ifneq ("$(डिबग)", "बंद")
|
||||
MB_MAKE_CALL_DEBUG ?= $(डिबग)
|
||||
endif
|
||||
endif
|
||||
ifdef ᐃᕿᒡᒐᖅᑐᖅ
|
||||
ifneq ("$(ᐃᕿᒡᒐᖅᑐᖅ)", "ᖃᒥᓪᓗᒍ")
|
||||
MB_MAKE_CALL_DEBUG ?= $(ᐃᕿᒡᒐᖅᑐᖅ)
|
||||
endif
|
||||
endif
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
#
|
||||
# Latin1 white space and latin1 tab space are not usable in makefiles.
|
||||
#
|
||||
|
||||
# Setup private chinese white space
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
_XXX :=
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
#
|
||||
# Configure debug mode
|
||||
#
|
||||
ifdef DEBUG
|
||||
ifneq ("$(DEBUG)", "off")
|
||||
MB_MAKE_CALL_DEBUG ?= $(DEBUG)
|
||||
endif
|
||||
endif
|
||||
ifdef ONTBEESTEN
|
||||
ifneq ("$(ONTBEESTEN)", "uit")
|
||||
MB_MAKE_CALL_DEBUG ?= $(ONTBEESTEN)
|
||||
endif
|
||||
endif
|
||||
ifdef デバッグ
|
||||
ifneq ("$(デバッグ)", "ユニット")
|
||||
MB_MAKE_CALL_DEBUG ?= $(デバッグ)
|
||||
endif
|
||||
endif
|
||||
ifdef DEPURAR
|
||||
ifneq ("$(DEPURAR)", "traje")
|
||||
MB_MAKE_CALL_DEBUG ?= $(DEPURAR)
|
||||
endif
|
||||
endif
|
||||
ifdef DÉBOGUER
|
||||
ifneq ("$(DÉBOGUER)", "dehors")
|
||||
MB_MAKE_CALL_DEBUG ?= $(DÉBOGUER)
|
||||
endif
|
||||
endif
|
||||
ifdef отлаживать
|
||||
ifneq ("$(отлаживать)", "вне")
|
||||
MB_MAKE_CALL_DEBUG ?= $(отлаживать)
|
||||
endif
|
||||
endif
|
||||
ifdef 偵錯
|
||||
ifneq ("$(偵錯)", "出去")
|
||||
MB_MAKE_CALL_DEBUG ?= $(偵錯)
|
||||
endif
|
||||
endif
|
||||
ifdef डिबग
|
||||
ifneq ("$(डिबग)", "बंद")
|
||||
MB_MAKE_CALL_DEBUG ?= $(डिबग)
|
||||
endif
|
||||
endif
|
||||
ifdef ᐃᕿᒡᒐᖅᑐᖅ
|
||||
ifneq ("$(ᐃᕿᒡᒐᖅᑐᖅ)", "ᖃᒥᓪᓗᒍ")
|
||||
MB_MAKE_CALL_DEBUG ?= $(ᐃᕿᒡᒐᖅᑐᖅ)
|
||||
endif
|
||||
endif
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
#
|
||||
# Mandatory prolog to included as very first line.
|
||||
#
|
||||
MAKEFLAGS += --no-builtin-rules
|
||||
MAKEFLAGS += --no-builtin-variables
|
||||
MAKEFLAGS += --warn-undefined-variables
|
||||
.DELETE_ON_ERROR :=
|
||||
.RECIPEPREFIX := _
|
||||
.SUFFIXES :=
|
||||
.PHONY := Makefile
|
||||
.ONESHELL :=
|
||||
.SHELLFLAGS := -e -u -o pipefail -c
|
||||
SHELL := bash
|
||||
ifeq ($(origin .RECIPEPREFIX), undefined)
|
||||
$(error This version of make does not support dynamic white space brain fuck mode.)
|
||||
endif
|
|
@ -1,82 +0,0 @@
|
|||
#
|
||||
# Configure verbose mode
|
||||
#
|
||||
ifdef VERBOSE
|
||||
ifeq ("$(VERBOSE)", "off")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef うるさい
|
||||
ifeq ("$(うるさい)", "ユニット")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef LUIDRUCHTIG
|
||||
ifeq ("$(LUIDRUCHTIG)", "uit")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef VERBOSA
|
||||
ifeq ("$(VERBOSA)", "traje")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef VERBOSO
|
||||
ifeq ("$(VERBOSO)", "traje")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef VERBEUSE
|
||||
ifeq ("$(VERBEUSE)", "dehors")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef VERBEUX
|
||||
ifeq ("$(VERBEUX)", "dehors")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef шумный
|
||||
ifeq ("$(шумный)", "вне")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef 吵雜
|
||||
ifeq ("$(吵雜)", "出去")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef वाचाल
|
||||
ifeq ("$(वाचाल)", "बंद")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifdef ᕗᕉᑉᕉᔅ
|
||||
ifeq ("$(ᕗᕉᑉᕉᔅ)", "ᖃᒥᓪᓗᒍ")
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
ifndef VERBOSE
|
||||
ifndef うるさい
|
||||
ifndef LUIDRUCHTIG
|
||||
ifndef VERBOSA
|
||||
ifndef VERBOSO
|
||||
ifndef VERBEUSE
|
||||
ifndef VERBEUX
|
||||
ifndef шумный
|
||||
ifndef 吵雜
|
||||
ifndef वाचाल
|
||||
ifndef ᕗᕉᑉᕉᔅ
|
||||
.SILENT:
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in a new issue