The Featureless Make program appears to function at this time.
There is still a lot more work to do.
#endif // _di_fake_build_version_s_
#ifndef _di_fake_parameter_s_
+ const f_string_static_t fake_short_build_s = macro_f_string_static_t_initialize(FAKE_short_build_s, 0, FAKE_short_build_s_length);
+ const f_string_static_t fake_short_data_s = macro_f_string_static_t_initialize(FAKE_short_data_s, 0, FAKE_short_data_s_length);
const f_string_static_t fake_short_define_s = macro_f_string_static_t_initialize(FAKE_short_define_s, 0, FAKE_short_define_s_length);
+ const f_string_static_t fake_short_documents_s = macro_f_string_static_t_initialize(FAKE_short_documents_s, 0, FAKE_short_documents_s_length);
const f_string_static_t fake_short_fakefile_s = macro_f_string_static_t_initialize(FAKE_short_fakefile_s, 0, FAKE_short_fakefile_s_length);
+ const f_string_static_t fake_short_licenses_s = macro_f_string_static_t_initialize(FAKE_short_licenses_s, 0, FAKE_short_licenses_s_length);
const f_string_static_t fake_short_mode_s = macro_f_string_static_t_initialize(FAKE_short_mode_s, 0, FAKE_short_mode_s_length);
const f_string_static_t fake_short_process_s = macro_f_string_static_t_initialize(FAKE_short_process_s, 0, FAKE_short_process_s_length);
const f_string_static_t fake_short_settings_s = macro_f_string_static_t_initialize(FAKE_short_settings_s, 0, FAKE_short_settings_s_length);
+ const f_string_static_t fake_short_sources_s = macro_f_string_static_t_initialize(FAKE_short_sources_s, 0, FAKE_short_sources_s_length);
+ const f_string_static_t fake_short_work_s = macro_f_string_static_t_initialize(FAKE_short_work_s, 0, FAKE_short_work_s_length);
- const f_string_static_t fake_short_path_build_s = macro_f_string_static_t_initialize(FAKE_short_path_build_s, 0, FAKE_short_path_build_s_length);
- const f_string_static_t fake_short_path_data_s = macro_f_string_static_t_initialize(FAKE_short_path_data_s, 0, FAKE_short_path_data_s_length);
- const f_string_static_t fake_short_path_documents_s = macro_f_string_static_t_initialize(FAKE_short_path_documents_s, 0, FAKE_short_path_documents_s_length);
- const f_string_static_t fake_short_path_licenses_s = macro_f_string_static_t_initialize(FAKE_short_path_licenses_s, 0, FAKE_short_path_licenses_s_length);
- const f_string_static_t fake_short_path_sources_s = macro_f_string_static_t_initialize(FAKE_short_path_sources_s, 0, FAKE_short_path_sources_s_length);
- const f_string_static_t fake_short_path_work_s = macro_f_string_static_t_initialize(FAKE_short_path_work_s, 0, FAKE_short_path_work_s_length);
-
+ const f_string_static_t fake_long_build_s = macro_f_string_static_t_initialize(FAKE_long_build_s, 0, FAKE_long_build_s_length);
+ const f_string_static_t fake_long_data_s = macro_f_string_static_t_initialize(FAKE_long_data_s, 0, FAKE_long_data_s_length);
const f_string_static_t fake_long_define_s = macro_f_string_static_t_initialize(FAKE_long_define_s, 0, FAKE_long_define_s_length);
+ const f_string_static_t fake_long_documents_s = macro_f_string_static_t_initialize(FAKE_long_documents_s, 0, FAKE_long_documents_s_length);
const f_string_static_t fake_long_fakefile_s = macro_f_string_static_t_initialize(FAKE_long_fakefile_s, 0, FAKE_long_fakefile_s_length);
+ const f_string_static_t fake_long_licenses_s = macro_f_string_static_t_initialize(FAKE_long_licenses_s, 0, FAKE_long_licenses_s_length);
const f_string_static_t fake_long_mode_s = macro_f_string_static_t_initialize(FAKE_long_mode_s, 0, FAKE_long_mode_s_length);
const f_string_static_t fake_long_process_s = macro_f_string_static_t_initialize(FAKE_long_process_s, 0, FAKE_long_process_s_length);
const f_string_static_t fake_long_settings_s = macro_f_string_static_t_initialize(FAKE_long_settings_s, 0, FAKE_long_settings_s_length);
-
- const f_string_static_t fake_long_path_build_s = macro_f_string_static_t_initialize(FAKE_long_path_build_s, 0, FAKE_long_path_build_s_length);
- const f_string_static_t fake_long_path_data_s = macro_f_string_static_t_initialize(FAKE_long_path_data_s, 0, FAKE_long_path_data_s_length);
- const f_string_static_t fake_long_path_documents_s = macro_f_string_static_t_initialize(FAKE_long_path_documents_s, 0, FAKE_long_path_documents_s_length);
- const f_string_static_t fake_long_path_licenses_s = macro_f_string_static_t_initialize(FAKE_long_path_licenses_s, 0, FAKE_long_path_licenses_s_length);
- const f_string_static_t fake_long_path_sources_s = macro_f_string_static_t_initialize(FAKE_long_path_sources_s, 0, FAKE_long_path_sources_s_length);
- const f_string_static_t fake_long_path_work_s = macro_f_string_static_t_initialize(FAKE_long_path_work_s, 0, FAKE_long_path_work_s_length);
+ const f_string_static_t fake_long_sources_s = macro_f_string_static_t_initialize(FAKE_long_sources_s, 0, FAKE_long_sources_s_length);
+ const f_string_static_t fake_long_work_s = macro_f_string_static_t_initialize(FAKE_long_work_s, 0, FAKE_long_work_s_length);
const f_string_static_t fake_long_documents_disabled_s = macro_f_string_static_t_initialize(FAKE_long_documents_disabled_s, 0, FAKE_long_documents_disabled_s_length);
const f_string_static_t fake_long_documents_enabled_s = macro_f_string_static_t_initialize(FAKE_long_documents_enabled_s, 0, FAKE_long_documents_enabled_s_length);
* The main program parameters.
*/
#ifndef _di_fake_parameter_s_
- #define FAKE_short_define_s "d"
- #define FAKE_short_fakefile_s "f"
- #define FAKE_short_mode_s "m"
- #define FAKE_short_process_s "p"
- #define FAKE_short_settings_s "s"
-
- #define FAKE_short_path_build_s "b"
- #define FAKE_short_path_data_s "D"
- #define FAKE_short_path_documents_s "O"
- #define FAKE_short_path_licenses_s "l"
- #define FAKE_short_path_sources_s "S"
- #define FAKE_short_path_work_s "w"
-
- #define FAKE_long_define_s "define"
- #define FAKE_long_fakefile_s "fakefile"
- #define FAKE_long_mode_s "mode"
- #define FAKE_long_process_s "process"
- #define FAKE_long_settings_s "settings"
-
- #define FAKE_long_path_build_s "build"
- #define FAKE_long_path_data_s "data"
- #define FAKE_long_path_documents_s "documents"
- #define FAKE_long_path_licenses_s "licenses"
- #define FAKE_long_path_sources_s "sources"
- #define FAKE_long_path_work_s "work"
+ #define FAKE_short_build_s "b"
+ #define FAKE_short_data_s "D"
+ #define FAKE_short_define_s "d"
+ #define FAKE_short_documents_s "O"
+ #define FAKE_short_fakefile_s "f"
+ #define FAKE_short_licenses_s "l"
+ #define FAKE_short_mode_s "m"
+ #define FAKE_short_process_s "p"
+ #define FAKE_short_settings_s "s"
+ #define FAKE_short_sources_s "S"
+ #define FAKE_short_work_s "w"
+
+ #define FAKE_long_build_s "build"
+ #define FAKE_long_data_s "data"
+ #define FAKE_long_define_s "define"
+ #define FAKE_long_documents_s "documents"
+ #define FAKE_long_fakefile_s "fakefile"
+ #define FAKE_long_licenses_s "licenses"
+ #define FAKE_long_mode_s "mode"
+ #define FAKE_long_process_s "process"
+ #define FAKE_long_settings_s "settings"
+ #define FAKE_long_sources_s "sources"
+ #define FAKE_long_work_s "work"
// These special parameters are provided in such a way that they mimic the traditional ./configure script.
#define FAKE_long_documents_disabled_s "disable-doc"
#define FAKE_other_operation_make_s "make"
#define FAKE_other_operation_skeleton_s "skeleton"
- #define FAKE_short_define_s_length 1
- #define FAKE_short_fakefile_s_length 1
- #define FAKE_short_mode_s_length 1
- #define FAKE_short_process_s_length 1
- #define FAKE_short_settings_s_length 1
-
- #define FAKE_short_path_build_s_length 1
- #define FAKE_short_path_data_s_length 1
- #define FAKE_short_path_documents_s_length 1
- #define FAKE_short_path_licenses_s_length 1
- #define FAKE_short_path_sources_s_length 1
- #define FAKE_short_path_work_s_length 1
-
- #define FAKE_long_define_s_length 6
- #define FAKE_long_fakefile_s_length 8
- #define FAKE_long_mode_s_length 4
- #define FAKE_long_process_s_length 7
- #define FAKE_long_settings_s_length 8
-
- #define FAKE_long_path_build_s_length 5
- #define FAKE_long_path_data_s_length 4
- #define FAKE_long_path_documents_s_length 9
- #define FAKE_long_path_licenses_s_length 8
- #define FAKE_long_path_sources_s_length 7
- #define FAKE_long_path_work_s_length 4
+ #define FAKE_short_build_s_length 1
+ #define FAKE_short_data_s_length 1
+ #define FAKE_short_define_s_length 1
+ #define FAKE_short_documents_s_length 1
+ #define FAKE_short_fakefile_s_length 1
+ #define FAKE_short_licenses_s_length 1
+ #define FAKE_short_mode_s_length 1
+ #define FAKE_short_process_s_length 1
+ #define FAKE_short_settings_s_length 1
+ #define FAKE_short_sources_s_length 1
+ #define FAKE_short_work_s_length 1
+
+ #define FAKE_long_build_s_length 5
+ #define FAKE_long_data_s_length 4
+ #define FAKE_long_define_s_length 6
+ #define FAKE_long_documents_s_length 9
+ #define FAKE_long_fakefile_s_length 8
+ #define FAKE_long_licenses_s_length 8
+ #define FAKE_long_mode_s_length 4
+ #define FAKE_long_process_s_length 7
+ #define FAKE_long_settings_s_length 8
+ #define FAKE_long_sources_s_length 7
+ #define FAKE_long_work_s_length 4
#define FAKE_long_documents_disabled_s_length 11
#define FAKE_long_documents_enabled_s_length 10
#define FAKE_other_operation_make_s_length 4
#define FAKE_other_operation_skeleton_s_length 8
+ extern const f_string_static_t fake_short_build_s;
+ extern const f_string_static_t fake_short_data_s;
extern const f_string_static_t fake_short_define_s;
+ extern const f_string_static_t fake_short_documents_s;
extern const f_string_static_t fake_short_fakefile_s;
+ extern const f_string_static_t fake_short_licenses_s;
extern const f_string_static_t fake_short_mode_s;
extern const f_string_static_t fake_short_process_s;
extern const f_string_static_t fake_short_settings_s;
+ extern const f_string_static_t fake_short_sources_s;
+ extern const f_string_static_t fake_short_work_s;
- extern const f_string_static_t fake_short_path_build_s;
- extern const f_string_static_t fake_short_path_data_s;
- extern const f_string_static_t fake_short_path_documents_s;
- extern const f_string_static_t fake_short_path_licenses_s;
- extern const f_string_static_t fake_short_path_sources_s;
- extern const f_string_static_t fake_short_path_work_s;
-
+ extern const f_string_static_t fake_long_build_s;
+ extern const f_string_static_t fake_long_data_s;
extern const f_string_static_t fake_long_define_s;
+ extern const f_string_static_t fake_long_documents_s;
extern const f_string_static_t fake_long_fakefile_s;
+ extern const f_string_static_t fake_long_licenses_s;
extern const f_string_static_t fake_long_mode_s;
extern const f_string_static_t fake_long_process_s;
extern const f_string_static_t fake_long_settings_s;
-
- extern const f_string_static_t fake_long_path_build_s;
- extern const f_string_static_t fake_long_path_data_s;
- extern const f_string_static_t fake_long_path_documents_s;
- extern const f_string_static_t fake_long_path_licenses_s;
- extern const f_string_static_t fake_long_path_sources_s;
- extern const f_string_static_t fake_long_path_work_s;
+ extern const f_string_static_t fake_long_sources_s;
+ extern const f_string_static_t fake_long_work_s;
extern const f_string_static_t fake_long_documents_disabled_s;
extern const f_string_static_t fake_long_documents_enabled_s;
* The program defines.
*
* fake_signal_*_d:
- * - check: The normal signal check (@fixme is needed anymore as-is?).
- * - check_tiny: The tiny check (@fixme is needed anymore as-is?).
- * - check_short: The short signal check (@fixme this is used everywhere).
+ * - check: The normal signal check.
+ * - check_tiny: The tiny check.
+ * - check_short: The short signal check.
*/
#ifndef _di_fake_signal_d_
#define fake_signal_check_d 500000
* fake_main_flag_*_e:
* - none: No flags set.
* - copyright: Print copyright.
- * - enable_documents: Enable documents, as-in --enable-doc (not specifying means --disable-doc).
- * - enable_shared: Enable shared, as-in --enable-shared (not specifying means --disable-shared).
- * - enable_static: Enable static, as-in --enable-static (not specifying means --disable-static).
+ * - enable_documents: Enable documents, as in --enable-doc (not specifying means --disable-doc).
+ * - enable_shared: Enable shared, as in --enable-shared (not specifying means --disable-shared).
+ * - enable_static: Enable static, as in --enable-static (not specifying means --disable-static).
* - file_from: Using a specified source file.
* - file_to: Using a specified destination file.
* - header: Enable printing of headers.
fake_parameter_line_first_no_e,
fake_parameter_line_last_no_e,
+ fake_parameter_build_e,
+ fake_parameter_data_e,
fake_parameter_define_e,
+ fake_parameter_documents_e,
fake_parameter_fakefile_e,
+ fake_parameter_licenses_e,
fake_parameter_mode_e,
fake_parameter_process_e,
fake_parameter_settings_e,
-
- fake_parameter_path_build_e,
- fake_parameter_path_data_e,
- fake_parameter_path_documents_e,
- fake_parameter_path_licenses_e,
- fake_parameter_path_sources_e,
- fake_parameter_path_work_e,
+ fake_parameter_sources_e,
+ fake_parameter_work_e,
fake_parameter_documents_disable_e,
fake_parameter_documents_enable_e,
macro_f_console_parameter_t_initialize_3(f_console_standard_short_line_first_no_s, f_console_standard_long_line_first_no_s, 0, f_console_flag_inverse_e), \
macro_f_console_parameter_t_initialize_3(f_console_standard_short_line_last_no_s, f_console_standard_long_line_last_no_s, 0, f_console_flag_inverse_e), \
\
- macro_f_console_parameter_t_initialize_3(fake_short_define_s, fake_long_define_s, 1, f_console_flag_normal_e), \
- macro_f_console_parameter_t_initialize_3(fake_short_fakefile_s, fake_long_fakefile_s, 1, f_console_flag_normal_e), \
- macro_f_console_parameter_t_initialize_3(fake_short_mode_s, fake_long_mode_s, 1, f_console_flag_normal_e), \
- macro_f_console_parameter_t_initialize_3(fake_short_process_s, fake_long_process_s, 1, f_console_flag_normal_e), \
- macro_f_console_parameter_t_initialize_3(fake_short_settings_s, fake_long_settings_s, 1, f_console_flag_normal_e), \
- macro_f_console_parameter_t_initialize_3(fake_short_path_build_s, fake_long_path_build_s, 1, f_console_flag_normal_e), \
- macro_f_console_parameter_t_initialize_3(fake_short_path_data_s, fake_long_path_data_s, 1, f_console_flag_normal_e), \
- macro_f_console_parameter_t_initialize_3(fake_short_path_documents_s, fake_long_path_documents_s, 1, f_console_flag_normal_e), \
- macro_f_console_parameter_t_initialize_3(fake_short_path_sources_s, fake_long_path_sources_s, 1, f_console_flag_normal_e), \
- macro_f_console_parameter_t_initialize_3(fake_short_path_licenses_s, fake_long_path_licenses_s, 1, f_console_flag_normal_e), \
- macro_f_console_parameter_t_initialize_3(fake_short_path_work_s, fake_long_path_work_s, 1, f_console_flag_normal_e), \
+ macro_f_console_parameter_t_initialize_3(fake_short_build_s, fake_long_build_s, 1, f_console_flag_normal_e), \
+ macro_f_console_parameter_t_initialize_3(fake_short_data_s, fake_long_data_s, 1, f_console_flag_normal_e), \
+ macro_f_console_parameter_t_initialize_3(fake_short_define_s, fake_long_define_s, 1, f_console_flag_normal_e), \
+ macro_f_console_parameter_t_initialize_3(fake_short_documents_s, fake_long_documents_s, 1, f_console_flag_normal_e), \
+ macro_f_console_parameter_t_initialize_3(fake_short_fakefile_s, fake_long_fakefile_s, 1, f_console_flag_normal_e), \
+ macro_f_console_parameter_t_initialize_3(fake_short_licenses_s, fake_long_licenses_s, 1, f_console_flag_normal_e), \
+ macro_f_console_parameter_t_initialize_3(fake_short_mode_s, fake_long_mode_s, 1, f_console_flag_normal_e), \
+ macro_f_console_parameter_t_initialize_3(fake_short_process_s, fake_long_process_s, 1, f_console_flag_normal_e), \
+ macro_f_console_parameter_t_initialize_3(fake_short_settings_s, fake_long_settings_s, 1, f_console_flag_normal_e), \
+ macro_f_console_parameter_t_initialize_3(fake_short_sources_s, fake_long_sources_s, 1, f_console_flag_normal_e), \
+ macro_f_console_parameter_t_initialize_3(fake_short_work_s, fake_long_work_s, 1, f_console_flag_normal_e), \
\
macro_f_console_parameter_t_initialize_5(fake_long_documents_disabled_s, 0, f_console_flag_normal_e), \
macro_f_console_parameter_t_initialize_5(fake_long_documents_enabled_s, 0, f_console_flag_normal_e), \
{
const f_array_length_t parameters[] = {
+ fake_parameter_build_e,
+ fake_parameter_data_e,
+ fake_parameter_documents_e,
fake_parameter_fakefile_e,
- fake_parameter_path_build_e,
- fake_parameter_path_data_e,
- fake_parameter_path_sources_e,
- fake_parameter_path_work_e,
+ fake_parameter_licenses_e,
fake_parameter_process_e,
fake_parameter_settings_e,
+ fake_parameter_sources_e,
+ fake_parameter_work_e,
};
const f_string_static_t names[] = {
+ fake_long_build_s,
+ fake_long_data_s,
fake_long_fakefile_s,
- fake_long_path_build_s,
- fake_long_path_data_s,
- fake_long_path_sources_s,
- fake_long_path_work_s,
+ fake_long_documents_s,
+ fake_long_licenses_s,
fake_long_process_s,
fake_long_settings_s,
+ fake_long_sources_s,
+ fake_long_work_s,
};
f_string_dynamic_t * const variable[] = {
- &setting->fakefile,
&setting->build,
&setting->data,
- &setting->sources,
- &setting->work,
+ &setting->documents,
+ &setting->fakefile,
+ &setting->licenses,
&setting->process,
&setting->settings,
+ &setting->sources,
+ &setting->work,
};
- f_string_dynamic_resize(0, &setting->build);
- f_string_dynamic_resize(0, &setting->data);
- f_string_dynamic_resize(0, &setting->fakefile);
- f_string_dynamic_resize(0, &setting->process);
- f_string_dynamic_resize(0, &setting->settings);
- f_string_dynamic_resize(0, &setting->sources);
- f_string_dynamic_resize(0, &setting->work);
+ setting->build.used = 0;
+ setting->data.used = 0;
+ setting->documents.used = 0;
+ setting->fakefile.used = 0;
+ setting->licenses.used = 0;
+ setting->process.used = 0;
+ setting->settings.used = 0;
+ setting->sources.used = 0;
+ setting->work.used = 0;
const f_string_static_t defaults[] = {
- fake_default_fakefile_s,
fake_default_build_s,
fake_default_data_s,
- fake_default_sources_s,
- fake_default_work_s,
+ fake_default_documents_s,
+ fake_default_fakefile_s,
+ fake_default_licenses_s,
fake_default_process_s,
fake_default_settings_s,
+ fake_default_sources_s,
+ fake_default_work_s,
};
const bool cleanups[] = {
+ F_true, // fake_parameter_build_e
+ F_true, // fake_parameter_data_e
+ F_true, // fake_parameter_documents_e
F_false, // fake_parameter_fakefile_e
- F_true, // fake_parameter_path_build_e
- F_true, // fake_parameter_path_data_e
- F_false, // fake_parameter_path_sources_e
- F_true, // fake_parameter_path_work_e
+ F_true, // fake_parameter_licenses_e
F_false, // fake_parameter_process_e
F_false, // fake_parameter_settings_e
+ F_false, // fake_parameter_sources_e
+ F_true, // fake_parameter_work_e
};
- for (i = 0; i < 7; ++i) {
+ for (i = 0; i < 9; ++i) {
if (main->parameters.array[parameters[i]].result & f_console_result_found_e) {
setting->status = F_status_set_error(F_parameter);
f_print_dynamic_raw(f_string_eol_s, print.to);
- fll_program_print_help_option(print, fake_short_path_build_s, fake_long_path_build_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, " Specify a custom build directory.");
- fll_program_print_help_option(print, fake_short_path_data_s, fake_long_path_data_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, " Specify a custom path to the data files.");
- fll_program_print_help_option(print, fake_short_path_documents_s, fake_long_path_documents_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, "Specify a custom path to the documents files.");
- fll_program_print_help_option(print, fake_short_path_licenses_s, fake_long_path_licenses_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, " Specify a custom path to the licenses files.");
- fll_program_print_help_option(print, fake_short_path_sources_s, fake_long_path_sources_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, " Specify a custom path to the source files.");
- fll_program_print_help_option(print, fake_short_path_work_s, fake_long_path_work_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, " Use includes/libraries/programs from this directory instead of system.");
+ fll_program_print_help_option(print, fake_short_build_s, fake_long_build_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, " Specify a custom build directory.");
+ fll_program_print_help_option(print, fake_short_data_s, fake_long_data_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, " Specify a custom path to the data files.");
+ fll_program_print_help_option(print, fake_short_documents_s, fake_long_documents_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, "Specify a custom path to the documents files.");
+ fll_program_print_help_option(print, fake_short_licenses_s, fake_long_licenses_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, " Specify a custom path to the licenses files.");
+ fll_program_print_help_option(print, fake_short_sources_s, fake_long_sources_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, " Specify a custom path to the source files.");
+ fll_program_print_help_option(print, fake_short_work_s, fake_long_work_s, f_console_symbol_short_normal_s, f_console_symbol_long_normal_s, " Use includes/libraries/programs from this directory instead of system.");
fl_print_format("%r%r %[Special Options:%] ", print.to, f_string_eol_s, f_string_eol_s, print.set->important, print.set->important);
fake_path_part_script_s, // path_program_script
fake_path_part_shared_s, // path_program_shared
fake_path_part_static_s, // path_program_static
- fake_default_sources_s, // path_sources
+ f_string_empty_s, // path_sources
f_string_empty_s, // path_sources_object
f_string_empty_s, // preserve_path_headers
f_string_empty_s, // process_post
if (F_status_is_error(*status)) return;
- if (data->main->parameters.array[fake_parameter_path_sources_e].result & f_console_result_value_e && data->setting->sources.used) {
+ if (data->main->parameters.array[fake_parameter_sources_e].result & f_console_result_value_e && data->setting->sources.used) {
*status = f_string_dynamic_append_assure(f_path_separator_s, &data->setting->sources);
if (F_status_is_error(*status)) {
path_headers_string[path_headers.used] = 0;
const f_string_static_t directorys[] = {
- data->setting->build,
+ data->path_build,
data->path_build_documentation,
data->path_build_documents,
data->path_build_includes,
}
bool created = F_false;
+ f_array_length_t j = 0;
for (uint8_t i = 0; i < 19; ++i) {
created = F_false;
- for (f_array_length_t j = 0; j < directorys[i].used; ++j) {
+ for (j = 0; j < directorys[i].used; ++j) {
- if (directorys[i].string[j] != f_path_separator_s.string[0]) continue;
+ if (f_path_separator_s.used && directorys[i].string[j] != f_path_separator_s.string[0]) continue;
- directorys[i].string[j] = 0;
+ directorys[i].string[j] = 0; // @fixme this is an error because static strings might be in use.
*status = f_directory_exists(directorys[i]);
if (F_status_is_error(*status)) break;
} // for
- if (F_status_is_fine(*status) && directorys[i].string[directorys[i].used - 1] != f_path_separator_s.string[0]) {
+ if (F_status_is_fine(*status) && directorys[i].used && f_path_separator_s.used && directorys[i].string[directorys[i].used - 1] != f_path_separator_s.string[0]) {
*status = f_directory_exists(directorys[i]);
if (F_status_is_error_not(*status)) {
}
const f_string_static_t prefixs[] = {
- f_console_symbol_short_normal_s,
- f_console_symbol_short_normal_s,
- f_console_symbol_short_normal_s,
- f_console_symbol_short_normal_s,
- f_console_symbol_short_normal_s,
- f_console_symbol_short_normal_s,
- f_console_symbol_short_normal_s,
+ f_console_symbol_short_normal_s, // fake_short_build_s
+ f_console_symbol_short_normal_s, // fake_short_data_s
+ f_console_symbol_short_normal_s, // fake_short_define_s
+ f_console_symbol_short_normal_s, // fake_short_documents_s
+ f_console_symbol_short_normal_s, // fake_short_licenses_s
+ f_console_symbol_short_normal_s, // fake_short_process_s
+ f_console_symbol_short_normal_s, // fake_short_settings_s
+ f_console_symbol_short_normal_s, // fake_short_sources_s
+ f_console_symbol_short_normal_s, // fake_short_work_s
};
const f_string_static_t names[] = {
+ fake_short_build_s,
+ fake_short_data_s,
fake_short_define_s,
+ fake_short_documents_s,
+ fake_short_licenses_s,
fake_short_process_s,
fake_short_settings_s,
- fake_short_path_build_s,
- fake_short_path_data_s,
- fake_short_path_sources_s,
- fake_short_path_work_s,
+ fake_short_sources_s,
+ fake_short_work_s,
};
const f_string_static_t values[] = {
+ data->setting->build,
+ data->setting->data,
defines,
+ data->setting->documents,
+ data->setting->licenses,
data->setting->process,
data->setting->settings,
- data->setting->build,
- data->setting->data,
data->setting->sources,
data->setting->work,
};
- *status = fll_execute_arguments_add_parameter_set(prefixs, names, values, 7, &arguments);
+ *status = fll_execute_arguments_add_parameter_set(prefixs, names, values, 9, &arguments);
f_string_dynamic_resize(0, &defines);
const f_string_static_t fake_make_parameter_variable_current_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_current_s, 0, FAKE_make_parameter_variable_current_s_length);
const f_string_static_t fake_make_parameter_variable_data_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_data_s, 0, FAKE_make_parameter_variable_data_s_length);
const f_string_static_t fake_make_parameter_variable_define_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_define_s, 0, FAKE_make_parameter_variable_define_s_length);
+ const f_string_static_t fake_make_parameter_variable_documents_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_documents_s, 0, FAKE_make_parameter_variable_documents_s_length);
const f_string_static_t fake_make_parameter_variable_fakefile_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_fakefile_s, 0, FAKE_make_parameter_variable_fakefile_s_length);
+ const f_string_static_t fake_make_parameter_variable_licenses_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_licenses_s, 0, FAKE_make_parameter_variable_licenses_s_length);
const f_string_static_t fake_make_parameter_variable_mode_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_mode_s, 0, FAKE_make_parameter_variable_mode_s_length);
const f_string_static_t fake_make_parameter_variable_process_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_process_s, 0, FAKE_make_parameter_variable_process_s_length);
const f_string_static_t fake_make_parameter_variable_return_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_return_s, 0, FAKE_make_parameter_variable_return_s_length);
const f_string_static_t fake_make_parameter_variable_option_color_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_option_color_s, 0, FAKE_make_parameter_variable_option_color_s_length);
const f_string_static_t fake_make_parameter_variable_option_data_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_option_data_s, 0, FAKE_make_parameter_variable_option_data_s_length);
const f_string_static_t fake_make_parameter_variable_option_define_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_option_define_s, 0, FAKE_make_parameter_variable_option_define_s_length);
+ const f_string_static_t fake_make_parameter_variable_option_documents_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_option_documents_s, 0, FAKE_make_parameter_variable_option_documents_s_length);
const f_string_static_t fake_make_parameter_variable_option_fakefile_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_option_fakefile_s, 0, FAKE_make_parameter_variable_option_fakefile_s_length);
+ const f_string_static_t fake_make_parameter_variable_option_licenses_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_option_licenses_s, 0, FAKE_make_parameter_variable_option_licenses_s_length);
const f_string_static_t fake_make_parameter_variable_option_mode_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_option_mode_s, 0, FAKE_make_parameter_variable_option_mode_s_length);
const f_string_static_t fake_make_parameter_variable_option_process_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_option_process_s, 0, FAKE_make_parameter_variable_option_process_s_length);
const f_string_static_t fake_make_parameter_variable_option_settings_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_option_settings_s, 0, FAKE_make_parameter_variable_option_settings_s_length);
const f_string_static_t fake_make_parameter_variable_value_color_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_value_color_s, 0, FAKE_make_parameter_variable_value_color_s_length);
const f_string_static_t fake_make_parameter_variable_value_data_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_value_data_s, 0, FAKE_make_parameter_variable_value_data_s_length);
const f_string_static_t fake_make_parameter_variable_value_define_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_value_define_s, 0, FAKE_make_parameter_variable_value_define_s_length);
+ const f_string_static_t fake_make_parameter_variable_value_documents_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_value_documents_s, 0, FAKE_make_parameter_variable_value_documents_s_length);
const f_string_static_t fake_make_parameter_variable_value_fakefile_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_value_fakefile_s, 0, FAKE_make_parameter_variable_value_fakefile_s_length);
+ const f_string_static_t fake_make_parameter_variable_value_licenses_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_value_licenses_s, 0, FAKE_make_parameter_variable_value_licenses_s_length);
const f_string_static_t fake_make_parameter_variable_value_mode_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_value_mode_s, 0, FAKE_make_parameter_variable_value_mode_s_length);
const f_string_static_t fake_make_parameter_variable_value_process_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_value_process_s, 0, FAKE_make_parameter_variable_value_process_s_length);
const f_string_static_t fake_make_parameter_variable_value_settings_s = macro_f_string_static_t_initialize(FAKE_make_parameter_variable_value_settings_s, 0, FAKE_make_parameter_variable_value_settings_s_length);
#ifndef _di_fake_data_delete_
f_status_t fake_data_delete(fake_data_t * const data) {
+ f_string_dynamic_resize(0, &data->path_build);
f_string_dynamic_resize(0, &data->path_build_documentation);
f_string_dynamic_resize(0, &data->path_build_documents);
f_string_dynamic_resize(0, &data->path_build_includes);
* path_build_settings: The build settings path.
* path_build_stage: The build stage path.
*
- * path_data: The data path.
* path_data_build: The build data path.
* path_data_documentation: The documentation data path.
* path_data_settings: The settings data path.
* path_licenses: The licenses path.
* path_sources: The sources path.
*
- * path_work: The work path.
* path_work_includes: The includes work path.
* path_work_libraries: The libraries work path.
* path_work_libraries_script: The libraries_script work path.
fll_program_data_t *main;
fake_setting_t *setting;
+ f_string_dynamic_t path_build;
f_string_dynamic_t path_build_documentation;
f_string_dynamic_t path_build_documents;
f_string_dynamic_t path_build_includes;
f_string_dynamic_t_initialize, \
f_string_dynamic_t_initialize, \
f_string_dynamic_t_initialize, \
+ f_string_dynamic_t_initialize, \
}
#endif // _di_fake_main_t_
#define FAKE_make_parameter_variable_current_s "current"
#define FAKE_make_parameter_variable_data_s "data"
#define FAKE_make_parameter_variable_define_s "define"
+ #define FAKE_make_parameter_variable_documents_s "documents"
#define FAKE_make_parameter_variable_fakefile_s "fakefile"
+ #define FAKE_make_parameter_variable_licenses_s "licenses"
#define FAKE_make_parameter_variable_mode_s "mode"
#define FAKE_make_parameter_variable_process_s "process"
#define FAKE_make_parameter_variable_return_s "return"
#define FAKE_make_parameter_variable_option_color_s FAKE_make_parameter_variable_color_s FAKE_make_parameter_iki_option_s
#define FAKE_make_parameter_variable_option_data_s FAKE_make_parameter_variable_data_s FAKE_make_parameter_iki_option_s
#define FAKE_make_parameter_variable_option_define_s FAKE_make_parameter_variable_define_s FAKE_make_parameter_iki_option_s
+ #define FAKE_make_parameter_variable_option_documents_s FAKE_make_parameter_variable_documents_s FAKE_make_parameter_iki_option_s
#define FAKE_make_parameter_variable_option_fakefile_s FAKE_make_parameter_variable_fakefile_s FAKE_make_parameter_iki_option_s
+ #define FAKE_make_parameter_variable_option_licenses_s FAKE_make_parameter_variable_licenses_s FAKE_make_parameter_iki_option_s
#define FAKE_make_parameter_variable_option_mode_s FAKE_make_parameter_variable_mode_s FAKE_make_parameter_iki_option_s
#define FAKE_make_parameter_variable_option_process_s FAKE_make_parameter_variable_process_s FAKE_make_parameter_iki_option_s
#define FAKE_make_parameter_variable_option_settings_s FAKE_make_parameter_variable_settings_s FAKE_make_parameter_iki_option_s
#define FAKE_make_parameter_variable_value_color_s FAKE_make_parameter_variable_color_s FAKE_make_parameter_iki_value_s
#define FAKE_make_parameter_variable_value_data_s FAKE_make_parameter_variable_data_s FAKE_make_parameter_iki_value_s
#define FAKE_make_parameter_variable_value_define_s FAKE_make_parameter_variable_define_s FAKE_make_parameter_iki_value_s
+ #define FAKE_make_parameter_variable_value_documents_s FAKE_make_parameter_variable_documents_s FAKE_make_parameter_iki_value_s
#define FAKE_make_parameter_variable_value_fakefile_s FAKE_make_parameter_variable_fakefile_s FAKE_make_parameter_iki_value_s
+ #define FAKE_make_parameter_variable_value_licenses_s FAKE_make_parameter_variable_licenses_s FAKE_make_parameter_iki_value_s
#define FAKE_make_parameter_variable_value_mode_s FAKE_make_parameter_variable_mode_s FAKE_make_parameter_iki_value_s
#define FAKE_make_parameter_variable_value_process_s FAKE_make_parameter_variable_process_s FAKE_make_parameter_iki_value_s
#define FAKE_make_parameter_variable_value_settings_s FAKE_make_parameter_variable_settings_s FAKE_make_parameter_iki_value_s
#define FAKE_make_parameter_variable_current_s_length 7
#define FAKE_make_parameter_variable_data_s_length 4
#define FAKE_make_parameter_variable_define_s_length 6
+ #define FAKE_make_parameter_variable_documents_s_length 9
#define FAKE_make_parameter_variable_fakefile_s_length 8
+ #define FAKE_make_parameter_variable_licenses_s_length 8
+ #define FAKE_make_parameter_variable_data_s_length 4
#define FAKE_make_parameter_variable_mode_s_length 4
#define FAKE_make_parameter_variable_process_s_length 7
#define FAKE_make_parameter_variable_return_s_length 6
#define FAKE_make_parameter_variable_option_color_s_length FAKE_make_parameter_variable_color_s_length + FAKE_make_parameter_iki_option_s_length
#define FAKE_make_parameter_variable_option_data_s_length FAKE_make_parameter_variable_data_s_length + FAKE_make_parameter_iki_option_s_length
#define FAKE_make_parameter_variable_option_define_s_length FAKE_make_parameter_variable_define_s_length + FAKE_make_parameter_iki_option_s_length
+ #define FAKE_make_parameter_variable_option_documents_s_length FAKE_make_parameter_variable_documents_s_length + FAKE_make_parameter_iki_option_s_length
#define FAKE_make_parameter_variable_option_fakefile_s_length FAKE_make_parameter_variable_fakefile_s_length + FAKE_make_parameter_iki_option_s_length
+ #define FAKE_make_parameter_variable_option_licenses_s_length FAKE_make_parameter_variable_licenses_s_length + FAKE_make_parameter_iki_option_s_length
#define FAKE_make_parameter_variable_option_mode_s_length FAKE_make_parameter_variable_mode_s_length + FAKE_make_parameter_iki_option_s_length
#define FAKE_make_parameter_variable_option_process_s_length FAKE_make_parameter_variable_process_s_length + FAKE_make_parameter_iki_option_s_length
#define FAKE_make_parameter_variable_option_settings_s_length FAKE_make_parameter_variable_settings_s_length + FAKE_make_parameter_iki_option_s_length
#define FAKE_make_parameter_variable_value_build_s_length FAKE_make_parameter_variable_build_s_length + FAKE_make_parameter_iki_value_s_length
#define FAKE_make_parameter_variable_value_color_s_length FAKE_make_parameter_variable_color_s_length + FAKE_make_parameter_iki_value_s_length
#define FAKE_make_parameter_variable_value_data_s_length FAKE_make_parameter_variable_data_s_length + FAKE_make_parameter_iki_value_s_length
+ #define FAKE_make_parameter_variable_value_documents_s_length FAKE_make_parameter_variable_documents_s_length + FAKE_make_parameter_iki_value_s_length
#define FAKE_make_parameter_variable_value_define_s_length FAKE_make_parameter_variable_define_s_length + FAKE_make_parameter_iki_value_s_length
#define FAKE_make_parameter_variable_value_fakefile_s_length FAKE_make_parameter_variable_fakefile_s_length + FAKE_make_parameter_iki_value_s_length
+ #define FAKE_make_parameter_variable_value_licenses_s_length FAKE_make_parameter_variable_licenses_s_length + FAKE_make_parameter_iki_value_s_length
#define FAKE_make_parameter_variable_value_mode_s_length FAKE_make_parameter_variable_mode_s_length + FAKE_make_parameter_iki_value_s_length
#define FAKE_make_parameter_variable_value_process_s_length FAKE_make_parameter_variable_process_s_length + FAKE_make_parameter_iki_value_s_length
#define FAKE_make_parameter_variable_value_settings_s_length FAKE_make_parameter_variable_settings_s_length + FAKE_make_parameter_iki_value_s_length
extern const f_string_static_t fake_make_parameter_variable_current_s;
extern const f_string_static_t fake_make_parameter_variable_data_s;
extern const f_string_static_t fake_make_parameter_variable_define_s;
+ extern const f_string_static_t fake_make_parameter_variable_documents_s;
extern const f_string_static_t fake_make_parameter_variable_fakefile_s;
+ extern const f_string_static_t fake_make_parameter_variable_licenses_s;
extern const f_string_static_t fake_make_parameter_variable_mode_s;
extern const f_string_static_t fake_make_parameter_variable_process_s;
extern const f_string_static_t fake_make_parameter_variable_return_s;
extern const f_string_static_t fake_make_parameter_variable_option_color_s;
extern const f_string_static_t fake_make_parameter_variable_option_data_s;
extern const f_string_static_t fake_make_parameter_variable_option_define_s;
+ extern const f_string_static_t fake_make_parameter_variable_option_documents_s;
extern const f_string_static_t fake_make_parameter_variable_option_fakefile_s;
+ extern const f_string_static_t fake_make_parameter_variable_option_licenses_s;
extern const f_string_static_t fake_make_parameter_variable_option_mode_s;
extern const f_string_static_t fake_make_parameter_variable_option_process_s;
extern const f_string_static_t fake_make_parameter_variable_option_settings_s;
extern const f_string_static_t fake_make_parameter_variable_value_color_s;
extern const f_string_static_t fake_make_parameter_variable_value_data_s;
extern const f_string_static_t fake_make_parameter_variable_value_define_s;
+ extern const f_string_static_t fake_make_parameter_variable_value_documents_s;
extern const f_string_static_t fake_make_parameter_variable_value_fakefile_s;
+ extern const f_string_static_t fake_make_parameter_variable_value_licenses_s;
extern const f_string_static_t fake_make_parameter_variable_value_mode_s;
extern const f_string_static_t fake_make_parameter_variable_value_process_s;
extern const f_string_static_t fake_make_parameter_variable_value_settings_s;
f_string_dynamics_t color;
f_string_dynamics_t data;
f_string_dynamics_t define;
+ f_string_dynamics_t documents;
f_string_dynamics_t fakefile;
+ f_string_dynamics_t licenses;
f_string_dynamics_t mode;
f_string_dynamics_t process;
f_string_dynamics_t settings;
f_string_dynamics_t_initialize, \
f_string_dynamics_t_initialize, \
f_string_dynamics_t_initialize, \
+ f_string_dynamics_t_initialize, \
+ f_string_dynamics_t_initialize, \
}
#define macro_fake_make_parameter_delete_simple(parameter) \
macro_f_string_dynamics_t_delete_simple(parameter.color) \
macro_f_string_dynamics_t_delete_simple(parameter.data) \
macro_f_string_dynamics_t_delete_simple(parameter.define) \
+ macro_f_string_dynamics_t_delete_simple(parameter.documents) \
macro_f_string_dynamics_t_delete_simple(parameter.fakefile) \
+ macro_f_string_dynamics_t_delete_simple(parameter.licenses) \
macro_f_string_dynamics_t_delete_simple(parameter.mode) \
macro_f_string_dynamics_t_delete_simple(parameter.process) \
macro_f_string_dynamics_t_delete_simple(parameter.settings) \
};
const uint8_t parameters_size[] = {
- 8,
+ 9,
3,
};
f_string_dynamic_t *values_0[] = {
+ &data->path_build,
&data->path_build_documentation,
&data->path_build_documents,
&data->path_build_includes,
return status;
}
- status = f_file_read(file, buffer);
+ status = f_file_stream_read(file, buffer);
f_file_stream_flush(file);
f_file_stream_close(&file);
}
const f_string_static_t names[] = {
- fake_long_path_build_s,
- fake_long_path_data_s,
- fake_long_path_work_s,
+ fake_long_build_s,
+ fake_long_data_s,
+ fake_long_documents_s,
+ fake_long_licenses_s,
+ fake_long_sources_s,
+ fake_long_work_s,
};
const f_string_dynamic_t values[] = {
data->setting->build,
data->setting->data,
+ data->setting->documents,
+ data->setting->licenses,
+ data->setting->sources,
data->setting->work,
};
uint8_t requireds[] = {
- F_false,
- (data->main->pipe & fll_program_data_pipe_input_e) ? F_false : F_true,
- F_false,
+ F_false, // fake_long_build_s
+ (data->main->pipe & fll_program_data_pipe_input_e) ? F_false : F_true, // fake_long_data_s
+ F_false, // fake_long_documents_s
+ F_false, // fake_long_licenses_s
+ F_false, // fake_long_sources_s
+ F_false, // fake_long_work_s
};
+ struct stat directory_stat;
+
f_status_t status = F_none;
// Check only expected operations (fake_operation_clean_e and fake_operation_skeleton_e should not call this function).
if (data->main->parameters.array[fake_parameter_fakefile_e].result == f_console_result_none_e) {
if (data->setting->build.used && f_file_exists(data->setting->build, F_false) != F_true) {
if (f_file_exists(fake_default_fakefile_s, F_false) == F_true) {
- requireds[1] = F_false;
+ requireds[1] = F_false; // fake_long_data_s
}
}
}
const f_array_length_t index = parameter->values.array[parameter->values.used - 1];
if (f_path_is_absolute(data->main->parameters.arguments.array[index]) == F_true || f_path_is_relative_current(data->main->parameters.arguments.array[index]) == F_true) {
- requireds[1] = F_none;
+ requireds[1] = F_none; // fake_long_data_s
}
else {
status = f_file_exists(data->main->parameters.arguments.array[index], F_true);
if (F_status_is_error_not(status) && status == F_true) {
- requireds[1] = F_none;
+ requireds[1] = F_none; // fake_long_data_s
}
}
}
}
- struct stat directory_stat;
-
- for (uint8_t i = 0; i < 3; ++i) {
+ for (uint8_t i = 0; i < 6; ++i) {
if (requireds[i] != F_none && values[i].used) {
memset(&directory_stat, 0, sizeof(struct stat));
{
const f_string_static_t parameter[] = {
+ fake_short_build_s,
+ fake_short_data_s,
+ fake_short_documents_s,
fake_short_fakefile_s,
- fake_short_path_build_s,
- fake_short_path_data_s,
- fake_short_path_sources_s,
- fake_short_path_work_s,
+ fake_short_licenses_s,
fake_short_process_s,
fake_short_settings_s,
+ fake_short_sources_s,
+ fake_short_work_s,
};
- const f_console_parameter_t *console[] = {
- &data_make->main->parameters.array[fake_parameter_fakefile_e],
- &data_make->main->parameters.array[fake_parameter_path_build_e],
- &data_make->main->parameters.array[fake_parameter_path_data_e],
- &data_make->main->parameters.array[fake_parameter_path_sources_e],
- &data_make->main->parameters.array[fake_parameter_path_work_e],
- &data_make->main->parameters.array[fake_parameter_process_e],
- &data_make->main->parameters.array[fake_parameter_settings_e],
+ const f_console_parameter_t console[] = {
+ data_make->main->parameters.array[fake_parameter_build_e],
+ data_make->main->parameters.array[fake_parameter_data_e],
+ data_make->main->parameters.array[fake_parameter_documents_e],
+ data_make->main->parameters.array[fake_parameter_fakefile_e],
+ data_make->main->parameters.array[fake_parameter_licenses_e],
+ data_make->main->parameters.array[fake_parameter_process_e],
+ data_make->main->parameters.array[fake_parameter_settings_e],
+ data_make->main->parameters.array[fake_parameter_sources_e],
+ data_make->main->parameters.array[fake_parameter_work_e],
};
- const f_string_dynamic_t *source[] = {
- &data_make->data->setting->fakefile,
- &data_make->data->setting->build,
- &data_make->data->setting->data,
- &data_make->data->setting->sources,
- &data_make->data->setting->work,
- &data_make->data->setting->process,
- &data_make->data->setting->settings,
+ const f_string_dynamic_t source[] = {
+ data_make->data->setting->build,
+ data_make->data->setting->data,
+ data_make->data->setting->documents,
+ data_make->data->setting->fakefile,
+ data_make->data->setting->licenses,
+ data_make->data->setting->process,
+ data_make->data->setting->settings,
+ data_make->data->setting->sources,
+ data_make->data->setting->work,
};
f_string_dynamics_t * const destination[] = {
- &data_make->parameter.fakefile,
&data_make->parameter.build,
&data_make->parameter.data,
- &data_make->parameter.sources,
- &data_make->parameter.work,
+ &data_make->parameter.documents,
+ &data_make->parameter.fakefile,
+ &data_make->parameter.licenses,
&data_make->parameter.process,
&data_make->parameter.settings,
+ &data_make->parameter.sources,
+ &data_make->parameter.work,
};
f_string_dynamics_t * const destination_option[] = {
- &data_make->parameter_option.fakefile,
&data_make->parameter_option.build,
&data_make->parameter_option.data,
- &data_make->parameter_option.sources,
- &data_make->parameter_option.work,
+ &data_make->parameter_option.documents,
+ &data_make->parameter_option.fakefile,
+ &data_make->parameter_option.licenses,
&data_make->parameter_option.process,
&data_make->parameter_option.settings,
+ &data_make->parameter_option.sources,
+ &data_make->parameter_option.work,
};
f_string_dynamics_t * const destination_value[] = {
- &data_make->parameter_value.fakefile,
&data_make->parameter_value.build,
&data_make->parameter_value.data,
- &data_make->parameter_value.sources,
- &data_make->parameter_value.work,
+ &data_make->parameter_value.documents,
+ &data_make->parameter_value.fakefile,
+ &data_make->parameter_value.licenses,
&data_make->parameter_value.process,
&data_make->parameter_value.settings,
+ &data_make->parameter_value.sources,
+ &data_make->parameter_value.work,
};
- for (uint8_t i = 0; i < 7; ++i) {
+ for (uint8_t i = 0; i < 9; ++i) {
- if (!(console[i]->result & f_console_result_found_e)) continue;
+ if (!(console[i].result & f_console_result_found_e)) continue;
if (destination[i]->used + 2 > destination[i]->size) {
*status = f_string_dynamics_increase_by(fake_default_allocation_small_d, destination[i]);
return;
}
- if (console[i]->flag & f_console_flag_normal_e) {
+ if (console[i].flag & f_console_flag_normal_e) {
*status = f_string_dynamic_append_nulless(f_console_symbol_short_normal_s, &destination[i]->array[destination[i]->used]);
}
- else if (console[i]->flag & f_console_flag_inverse_e) {
+ else if (console[i].flag & f_console_flag_inverse_e) {
*status = f_string_dynamic_append_nulless(f_console_symbol_short_inverse_s, &destination[i]->array[destination[i]->used]);
}
return;
}
- *status = f_string_dynamic_append_nulless(*source[i], &destination[i]->array[destination[i]->used]);
+ *status = f_string_dynamic_append_nulless(source[i], &destination[i]->array[destination[i]->used]);
if (F_status_is_error_not(*status)) {
- *status = f_string_dynamic_append_nulless(*source[i], &destination_value[i]->array[destination_value[i]->used]);
+ *status = f_string_dynamic_append_nulless(source[i], &destination_value[i]->array[destination_value[i]->used]);
}
if (F_status_is_error(*status)) {
fake_make_parameter_variable_color_s,
fake_make_parameter_variable_data_s,
fake_make_parameter_variable_define_s,
+ fake_make_parameter_variable_documents_s,
fake_make_parameter_variable_fakefile_s,
+ fake_make_parameter_variable_licenses_s,
fake_make_parameter_variable_mode_s,
fake_make_parameter_variable_process_s,
fake_make_parameter_variable_settings_s,
fake_make_parameter_variable_option_color_s,
fake_make_parameter_variable_option_data_s,
fake_make_parameter_variable_option_define_s,
+ fake_make_parameter_variable_option_documents_s,
fake_make_parameter_variable_option_fakefile_s,
+ fake_make_parameter_variable_option_licenses_s,
fake_make_parameter_variable_option_mode_s,
fake_make_parameter_variable_option_process_s,
fake_make_parameter_variable_option_settings_s,
fake_make_parameter_variable_value_color_s,
fake_make_parameter_variable_value_data_s,
fake_make_parameter_variable_value_define_s,
+ fake_make_parameter_variable_value_documents_s,
fake_make_parameter_variable_value_fakefile_s,
+ fake_make_parameter_variable_value_licenses_s,
fake_make_parameter_variable_value_mode_s,
fake_make_parameter_variable_value_process_s,
fake_make_parameter_variable_value_settings_s,
&data_make->parameter.color,
&data_make->parameter.data,
&data_make->parameter.define,
+ &data_make->parameter.documents,
&data_make->parameter.fakefile,
+ &data_make->parameter.licenses,
&data_make->parameter.mode,
&data_make->parameter.process,
&data_make->parameter.settings,
&data_make->parameter_option.color,
&data_make->parameter_option.data,
&data_make->parameter_option.define,
+ &data_make->parameter_option.documents,
&data_make->parameter_option.fakefile,
+ &data_make->parameter_option.licenses,
&data_make->parameter_option.mode,
&data_make->parameter_option.process,
&data_make->parameter_option.settings,
&data_make->parameter_value.color,
&data_make->parameter_value.data,
&data_make->parameter_value.define,
+ &data_make->parameter_value.documents,
&data_make->parameter_value.fakefile,
+ &data_make->parameter_value.licenses,
&data_make->parameter_value.mode,
&data_make->parameter_value.process,
&data_make->parameter_value.settings,
unmatched = F_false;
}
else {
- for (k = 0; k < 33; ++k) {
+ for (k = 0; k < 39; ++k) {
if (fl_string_dynamic_partial_compare_string(reserved_name[k].string, data_make->buffer, reserved_name[k].used, iki_data->content.array[j]) != F_equal_to) {
continue;
data_make->data->setting->sources.used,
F_true,
data_make->data->setting->work.used,
- data_make->main->parameters.array[fake_parameter_path_build_e].result & f_console_result_value_e,
+ data_make->main->parameters.array[fake_parameter_build_e].result & f_console_result_value_e,
(data_make->main->parameters.array[fake_parameter_light_e].result & f_console_result_found_e) || (data_make->main->parameters.array[fake_parameter_dark_e].result & f_console_result_found_e) || (data_make->main->parameters.array[fake_parameter_no_color_e].result & f_console_result_found_e),
- data_make->main->parameters.array[fake_parameter_path_data_e].result & f_console_result_value_e,
+ data_make->main->parameters.array[fake_parameter_data_e].result & f_console_result_value_e,
data_make->main->parameters.array[fake_parameter_define_e].result & f_console_result_value_e,
data_make->main->parameters.array[fake_parameter_fakefile_e].result & f_console_result_value_e,
data_make->main->parameters.array[fake_parameter_mode_e].result & f_console_result_value_e,
data_make->main->parameters.array[fake_parameter_process_e].result & f_console_result_value_e,
data_make->main->parameters.array[fake_parameter_settings_e].result & f_console_result_value_e,
- data_make->main->parameters.array[fake_parameter_path_sources_e].result & f_console_result_value_e,
+ data_make->main->parameters.array[fake_parameter_sources_e].result & f_console_result_value_e,
(data_make->main->parameters.array[fake_parameter_verbosity_quiet_e].result & f_console_result_found_e) || (data_make->main->parameters.array[fake_parameter_verbosity_normal_e].result & f_console_result_found_e) || (data_make->main->parameters.array[fake_parameter_verbosity_verbose_e].result & f_console_result_found_e) || (data_make->main->parameters.array[fake_parameter_verbosity_debug_e].result & f_console_result_found_e),
- data_make->main->parameters.array[fake_parameter_path_work_e].result & f_console_result_value_e,
+ data_make->main->parameters.array[fake_parameter_work_e].result & f_console_result_value_e,
data_make->parameter_value.build.used,
data_make->parameter_value.color.used,
data_make->parameter_value.data.used,
fake_skeleton_path_source_string(data, &fake_path_part_shell_s, &sources_bash);
const f_string_static_t path[] = {
- data->setting->build,
+ data->path_build,
data->setting->data,
data->path_data_build,
data->path_data_documentation,