From 95c4b324651862744a6f262ed4e1a3049c54bb88 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 24 Apr 2023 21:57:49 -0500 Subject: [PATCH] Update: The stand alone builds should also support fakefiles. This is an oversight from previous changes where stand alone support is implemented and where the fakefile is make more advanced (adding help etc..). --- build/scripts/package.sh | 14 ++++++++++++++ build/stand_alone/byte_dump.fakefile | 27 +++++++++++++++++++++++++++ build/stand_alone/controller.fakefile | 27 +++++++++++++++++++++++++++ build/stand_alone/fake.fakefile | 27 +++++++++++++++++++++++++++ build/stand_alone/firewall.fakefile | 27 +++++++++++++++++++++++++++ build/stand_alone/fss_identify.fakefile | 27 +++++++++++++++++++++++++++ build/stand_alone/fss_status_code.fakefile | 27 +++++++++++++++++++++++++++ build/stand_alone/iki_read.fakefile | 27 +++++++++++++++++++++++++++ build/stand_alone/iki_write.fakefile | 27 +++++++++++++++++++++++++++ build/stand_alone/status_code.fakefile | 27 +++++++++++++++++++++++++++ build/stand_alone/utf8.fakefile | 27 +++++++++++++++++++++++++++ 11 files changed, 284 insertions(+) create mode 100644 build/stand_alone/byte_dump.fakefile create mode 100644 build/stand_alone/controller.fakefile create mode 100644 build/stand_alone/fake.fakefile create mode 100644 build/stand_alone/firewall.fakefile create mode 100644 build/stand_alone/fss_identify.fakefile create mode 100644 build/stand_alone/fss_status_code.fakefile create mode 100644 build/stand_alone/iki_read.fakefile create mode 100644 build/stand_alone/iki_write.fakefile create mode 100644 build/stand_alone/status_code.fakefile create mode 100644 build/stand_alone/utf8.fakefile diff --git a/build/scripts/package.sh b/build/scripts/package.sh index ade8d01..844012f 100644 --- a/build/scripts/package.sh +++ b/build/scripts/package.sh @@ -2548,6 +2548,20 @@ package_operation_stand_alone() { break fi + cp $verbose_common -R ${path_build}stand_alone/${name}.fakefile ${package}data/build/fakefile + + if [[ $? -ne 0 ]] ; then + if [[ $verbosity != "quiet" ]] ; then + package_print_first + + echo -e "${c_error}ERROR: Failed to copy file ${c_notice}${path_build}stand_alone/${name}.fakefile${c_error} to ${c_notice}${package}data/build/fakefile${c_error}.${c_reset}" + fi + + let failure=1 + + break + fi + if [[ ! -d ${package}sources/c/program/${name}/ ]] ; then mkdir $verbose_common -p ${package}sources/c/program/$name/ diff --git a/build/stand_alone/byte_dump.fakefile b/build/stand_alone/byte_dump.fakefile new file mode 100644 index 0000000..91ec047 --- /dev/null +++ b/build/stand_alone/byte_dump.fakefile @@ -0,0 +1,27 @@ +# fss-0005 iki-0002 + +settings: + fail exit + modes stand_alone clang test fanalyzer thread threadless + + environment PATH LD_LIBRARY_PATH + environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH + +main: + build + +install: + shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color' + +help: + print + print context:'title'Fakefile Options for Byte Dump Software.context:'reset' + + print + print The following operations are available\: + print " - context:'notable'help:context:'reset' Perform the help operation, printing this message." + print " - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings." + print " - context:'notable'main:context:'reset' The default compilation using the build settings mode." + + print + print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters. diff --git a/build/stand_alone/controller.fakefile b/build/stand_alone/controller.fakefile new file mode 100644 index 0000000..c189e76 --- /dev/null +++ b/build/stand_alone/controller.fakefile @@ -0,0 +1,27 @@ +# fss-0005 iki-0002 + +settings: + fail exit + modes stand_alone clang test fanalyzer thread threadless + + environment PATH LD_LIBRARY_PATH + environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH + +main: + build + +install: + shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color' + +help: + print + print context:'title'Fakefile Options for Controller Software.context:'reset' + + print + print The following operations are available\: + print " - context:'notable'help:context:'reset' Perform the help operation, printing this message." + print " - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings." + print " - context:'notable'main:context:'reset' The default compilation using the build settings mode." + + print + print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters. diff --git a/build/stand_alone/fake.fakefile b/build/stand_alone/fake.fakefile new file mode 100644 index 0000000..75e8cf3 --- /dev/null +++ b/build/stand_alone/fake.fakefile @@ -0,0 +1,27 @@ +# fss-0005 iki-0002 + +settings: + fail exit + modes stand_alone clang test fanalyzer thread threadless + + environment PATH LD_LIBRARY_PATH + environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH + +main: + build + +install: + shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color' + +help: + print + print context:'title'Fakefile Options for Featureless Make Software.context:'reset' + + print + print The following operations are available\: + print " - context:'notable'help:context:'reset' Perform the help operation, printing this message." + print " - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings." + print " - context:'notable'main:context:'reset' The default compilation using the build settings mode." + + print + print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters. diff --git a/build/stand_alone/firewall.fakefile b/build/stand_alone/firewall.fakefile new file mode 100644 index 0000000..c07e15d --- /dev/null +++ b/build/stand_alone/firewall.fakefile @@ -0,0 +1,27 @@ +# fss-0005 iki-0002 + +settings: + fail exit + modes stand_alone clang test fanalyzer thread threadless + + environment PATH LD_LIBRARY_PATH + environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH + +main: + build + +install: + shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color' + +help: + print + print context:'title'Fakefile Options for Firewall Software.context:'reset' + + print + print The following operations are available\: + print " - context:'notable'help:context:'reset' Perform the help operation, printing this message." + print " - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings." + print " - context:'notable'main:context:'reset' The default compilation using the build settings mode." + + print + print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters. diff --git a/build/stand_alone/fss_identify.fakefile b/build/stand_alone/fss_identify.fakefile new file mode 100644 index 0000000..28e7ca8 --- /dev/null +++ b/build/stand_alone/fss_identify.fakefile @@ -0,0 +1,27 @@ +# fss-0005 iki-0002 + +settings: + fail exit + modes stand_alone clang test fanalyzer thread threadless + + environment PATH LD_LIBRARY_PATH + environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH + +main: + build + +install: + shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color' + +help: + print + print context:'title'Fakefile Options for FSS Identify Software.context:'reset' + + print + print The following operations are available\: + print " - context:'notable'help:context:'reset' Perform the help operation, printing this message." + print " - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings." + print " - context:'notable'main:context:'reset' The default compilation using the build settings mode." + + print + print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters. diff --git a/build/stand_alone/fss_status_code.fakefile b/build/stand_alone/fss_status_code.fakefile new file mode 100644 index 0000000..324bae6 --- /dev/null +++ b/build/stand_alone/fss_status_code.fakefile @@ -0,0 +1,27 @@ +# fss-0005 iki-0002 + +settings: + fail exit + modes stand_alone clang test fanalyzer thread threadless + + environment PATH LD_LIBRARY_PATH + environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH + +main: + build + +install: + shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color' + +help: + print + print context:'title'Fakefile Options for FSS Status Code Software.context:'reset' + + print + print The following operations are available\: + print " - context:'notable'help:context:'reset' Perform the help operation, printing this message." + print " - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings." + print " - context:'notable'main:context:'reset' The default compilation using the build settings mode." + + print + print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters. diff --git a/build/stand_alone/iki_read.fakefile b/build/stand_alone/iki_read.fakefile new file mode 100644 index 0000000..e0acef5 --- /dev/null +++ b/build/stand_alone/iki_read.fakefile @@ -0,0 +1,27 @@ +# fss-0005 iki-0002 + +settings: + fail exit + modes stand_alone clang test fanalyzer thread threadless + + environment PATH LD_LIBRARY_PATH + environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH + +main: + build + +install: + shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color' + +help: + print + print context:'title'Fakefile Options for IKI Read Software.context:'reset' + + print + print The following operations are available\: + print " - context:'notable'help:context:'reset' Perform the help operation, printing this message." + print " - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings." + print " - context:'notable'main:context:'reset' The default compilation using the build settings mode." + + print + print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters. diff --git a/build/stand_alone/iki_write.fakefile b/build/stand_alone/iki_write.fakefile new file mode 100644 index 0000000..b7c6758 --- /dev/null +++ b/build/stand_alone/iki_write.fakefile @@ -0,0 +1,27 @@ +# fss-0005 iki-0002 + +settings: + fail exit + modes stand_alone clang test fanalyzer thread threadless + + environment PATH LD_LIBRARY_PATH + environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH + +main: + build + +install: + shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color' + +help: + print + print context:'title'Fakefile Options for IKI Write Software.context:'reset' + + print + print The following operations are available\: + print " - context:'notable'help:context:'reset' Perform the help operation, printing this message." + print " - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings." + print " - context:'notable'main:context:'reset' The default compilation using the build settings mode." + + print + print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters. diff --git a/build/stand_alone/status_code.fakefile b/build/stand_alone/status_code.fakefile new file mode 100644 index 0000000..e84d526 --- /dev/null +++ b/build/stand_alone/status_code.fakefile @@ -0,0 +1,27 @@ +# fss-0005 iki-0002 + +settings: + fail exit + modes stand_alone clang test fanalyzer thread threadless + + environment PATH LD_LIBRARY_PATH + environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH + +main: + build + +install: + shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color' + +help: + print + print context:'title'Fakefile Options for Status Code Software.context:'reset' + + print + print The following operations are available\: + print " - context:'notable'help:context:'reset' Perform the help operation, printing this message." + print " - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings." + print " - context:'notable'main:context:'reset' The default compilation using the build settings mode." + + print + print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters. diff --git a/build/stand_alone/utf8.fakefile b/build/stand_alone/utf8.fakefile new file mode 100644 index 0000000..bbe159c --- /dev/null +++ b/build/stand_alone/utf8.fakefile @@ -0,0 +1,27 @@ +# fss-0005 iki-0002 + +settings: + fail exit + modes stand_alone clang test fanalyzer thread threadless + + environment PATH LD_LIBRARY_PATH + environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH + +main: + build + +install: + shell ./install.sh parameter:'work' parameter:'verbosity' parameter:'color' + +help: + print + print context:'title'Fakefile Options for UTF8 Software.context:'reset' + + print + print The following operations are available\: + print " - context:'notable'help:context:'reset' Perform the help operation, printing this message." + print " - context:'notable'install:context:'reset' A helper operation that simply calls the ./install.sh script with default settings." + print " - context:'notable'main:context:'reset' The default compilation using the build settings mode." + + print + print The context:'notable'install context:'reset'operation supports the context:'notable'work,context:'reset' context:'notable'verbosity,context:'reset' and context:'notable'color context:'reset'parameters. -- 1.8.3.1