From: Kevin Day Date: Wed, 17 Jul 2024 04:17:39 +0000 (-0500) Subject: Update: Restructure the project to make it easy to switch to or from stand alone... X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=db55a2e96dfcd977941efbdb1b07416bf19c0c9f;p=controller Update: Restructure the project to make it easy to switch to or from stand alone builds, and other fixes. Move the sources for the program to be under the program/controller directory. This makes the structure more one to one with how it is installed. This then makes a drop in place stand alone build easier. Update the git ignore file: - Add the FLL directory so that a drop in place stand alone build is unlikely to be accidentally added to this repository. - Add the config.c and config.h to prevent accidental inclusion of local configuration source file and header file. Fix incorrect dependencies, adding missing ones and removing non-existent ones. Make GCC and CLang upper case in descriptions. --- diff --git a/.gitignore b/.gitignore index 9179c91..ebdab6f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,9 @@ /build/ /build/* + +# Disclude FLL sources dropped for stand alone building. +sources/c/fll + +# Do not include the local configuration sources. +sources/c/config.c +sources/c/config.h diff --git a/data/build/dependencies b/data/build/dependencies index b436ddd..0732d8b 100644 --- a/data/build/dependencies +++ b/data/build/dependencies @@ -6,6 +6,7 @@ f_memory f_type_array f_string f_utf +f_abstruse f_account f_capability f_color @@ -27,7 +28,6 @@ f_print f_rip f_signal f_socket -f_status_string f_time f_thread @@ -47,4 +47,3 @@ fll_execute fll_fss fll_print fll_program -fll_status_string diff --git a/data/build/settings b/data/build/settings index 1c2296f..159a53c 100644 --- a/data/build/settings +++ b/data/build/settings @@ -5,8 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. -# - gcc: Use gcc specific settings. +# - clang: Use CLang rather than the default, which is generally GCC. +# - gcc: Use GCC specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -32,10 +32,10 @@ build_indexer_arguments rcs build_language c build_libraries -lc -lcap -build_libraries-individual -lfll_control_group -lfll_error -lfll_execute -lfll_fss -lfll_print -lfll_program -lfll_status_string +build_libraries-individual -lfll_control_group -lfll_error -lfll_execute -lfll_fss -lfll_print -lfll_program build_libraries-individual_thread -lf_thread build_libraries-individual -lfl_control_group -lfl_conversion -lfl_directory -lfl_environment -lfl_execute -lfl_fss -lfl_iki -lfl_path -lfl_print -build_libraries-individual -lf_account -lf_capability -lf_color -lf_compare -lf_console -lf_control_group -lf_conversion -lf_directory -lf_environment -lf_execute -lf_file -lf_fss -lf_iki -lf_limit -lf_memory -lf_parse -lf_path -lf_pipe -lf_print -lf_rip -lf_signal -lf_socket -lf_status_string -lf_string -lf_time -lf_type_array -lf_utf +build_libraries-individual -lf_abstruse -lf_account -lf_capability -lf_color -lf_compare -lf_console -lf_control_group -lf_conversion -lf_directory -lf_environment -lf_execute -lf_file -lf_fss -lf_iki -lf_limit -lf_memory -lf_parse -lf_path -lf_pipe -lf_print -lf_rip -lf_signal -lf_socket -lf_string -lf_time -lf_type_array -lf_utf build_libraries-individual_thread -lf_thread build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll @@ -100,7 +100,7 @@ path_object_static static path_program_script script path_program_shared shared path_program_static static -path_sources sources/c/main +path_sources sources/c/program/controller/main has_path_standard no preserve_path_headers yes diff --git a/data/build/settings.controller b/data/build/settings.controller index 756b6fc..acebe58 100644 --- a/data/build/settings.controller +++ b/data/build/settings.controller @@ -5,8 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. -# - gcc: Use gcc specific settings. +# - clang: Use CLang rather than the default, which is generally GCC. +# - gcc: Use GCC specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -32,17 +32,17 @@ build_indexer_arguments rcs build_language c build_libraries -lc -lcap -lcontroller -build_libraries-individual -lfll_control_group -lfll_error -lfll_execute -lfll_fss -lfll_print -lfll_program -lfll_status_string +build_libraries-individual -lfll_control_group -lfll_error -lfll_execute -lfll_fss -lfll_print -lfll_program build_libraries-individual_thread -lf_thread -build_libraries-individual -lfl_control_group -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_iki -lfl_path -lfl_print -build_libraries-individual -lf_account -lf_capability -lf_color -lf_compare -lf_console -lf_control_group -lf_conversion -lf_directory -lf_environment -lf_execute -lf_file -lf_fss -lf_iki -lf_limit -lf_memory -lf_parse -lf_path -lf_pipe -lf_print -lf_rip -lf_signal -lf_socket -lf_status_string -lf_string -lf_type_array -lf_utf +build_libraries-individual -lfl_control_group -lfl_conversion -lfl_directory -lfl_environment -lfl_execute -lfl_fss -lfl_iki -lfl_path -lfl_print +build_libraries-individual -lf_abstruse -lf_account -lf_capability -lf_color -lf_compare -lf_console -lf_control_group -lf_conversion -lf_directory -lf_environment -lf_execute -lf_file -lf_fss -lf_iki -lf_limit -lf_memory -lf_parse -lf_path -lf_pipe -lf_print -lf_rip -lf_signal -lf_socket -lf_string -lf_time -lf_type_array -lf_utf build_libraries-individual_thread -lf_thread build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll -build_sources_program controller/config.c controller/main.c controller/controller.c controller/string.c +build_sources_program config.c main.c controller.c string.c -build_sources_headers controller/controller.h controller/string.h +build_sources_headers controller.h string.h build_sources_documentation man @@ -52,7 +52,7 @@ build_script yes build_shared yes build_static no -path_headers program/controller +path_headers program/controller/controller path_library_script script path_library_shared shared path_library_static static @@ -62,8 +62,9 @@ path_object_static static path_program_script script path_program_shared shared path_program_static static +path_sources sources/c/program/controller/controller -has_path_standard yes +has_path_standard no preserve_path_headers yes search_exclusive yes diff --git a/data/build/settings.init b/data/build/settings.init index 822a60a..b402f04 100644 --- a/data/build/settings.init +++ b/data/build/settings.init @@ -5,8 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc. -# - gcc: Use gcc specific settings. +# - clang: Use CLang rather than the default, which is generally GCC. +# - gcc: Use GCC specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -32,17 +32,17 @@ build_indexer_arguments rcs build_language c build_libraries -lc -lcap -lcontroller -build_libraries-individual -lfll_control_group -lfll_error -lfll_execute -lfll_fss -lfll_print -lfll_program -lfll_status_string +build_libraries-individual -lfll_control_group -lfll_error -lfll_execute -lfll_fss -lfll_print -lfll_program build_libraries-individual_thread -lf_thread -build_libraries-individual -lfl_control_group -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_iki -lfl_path -lfl_print -build_libraries-individual -lf_account -lf_capability -lf_color -lf_compare -lf_console -lf_control_group -lf_conversion -lf_directory -lf_environment -lf_execute -lf_file -lf_fss -lf_iki -lf_limit -lf_memory -lf_parse -lf_path -lf_pipe -lf_print -lf_rip -lf_signal -lf_socket -lf_status_string -lf_string -lf_type_array -lf_utf +build_libraries-individual -lfl_control_group -lfl_conversion -lfl_directory -lfl_environment -lfl_execute -lfl_fss -lfl_iki -lfl_path -lfl_print +build_libraries-individual -lf_abstruse -lf_account -lf_capability -lf_color -lf_compare -lf_console -lf_control_group -lf_conversion -lf_directory -lf_environment -lf_execute -lf_file -lf_fss -lf_iki -lf_limit -lf_memory -lf_parse -lf_path -lf_pipe -lf_print -lf_rip -lf_signal -lf_socket -lf_string -lf_time -lf_type_array -lf_utf build_libraries-individual_thread -lf_thread build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll -build_sources_program init/config.c init/main.c init/init.c init/string.c +build_sources_program config.c main.c init.c string.c -build_sources_headers init/init.h init/string.h +build_sources_headers init.h string.h build_sources_documentation man @@ -52,7 +52,7 @@ build_script yes build_shared yes build_static no -path_headers program/controller +path_headers program/controller/init path_library_script script path_library_shared shared path_library_static static @@ -62,8 +62,9 @@ path_object_static static path_program_script script path_program_shared shared path_program_static static +path_sources sources/c/program/controller/init -has_path_standard yes +has_path_standard no preserve_path_headers yes search_exclusive yes diff --git a/sources/c/controller/config.c b/sources/c/program/controller/controller/config.c similarity index 100% rename from sources/c/controller/config.c rename to sources/c/program/controller/controller/config.c diff --git a/sources/c/controller/config.h b/sources/c/program/controller/controller/config.h similarity index 100% rename from sources/c/controller/config.h rename to sources/c/program/controller/controller/config.h diff --git a/sources/c/controller/controller.c b/sources/c/program/controller/controller/controller.c similarity index 100% rename from sources/c/controller/controller.c rename to sources/c/program/controller/controller/controller.c diff --git a/sources/c/controller/controller.h b/sources/c/program/controller/controller/controller.h similarity index 100% rename from sources/c/controller/controller.h rename to sources/c/program/controller/controller/controller.h diff --git a/sources/c/controller/main.c b/sources/c/program/controller/controller/main.c similarity index 100% rename from sources/c/controller/main.c rename to sources/c/program/controller/controller/main.c diff --git a/sources/c/controller/main.h b/sources/c/program/controller/controller/main.h similarity index 100% rename from sources/c/controller/main.h rename to sources/c/program/controller/controller/main.h diff --git a/sources/c/controller/string.c b/sources/c/program/controller/controller/string.c similarity index 100% rename from sources/c/controller/string.c rename to sources/c/program/controller/controller/string.c diff --git a/sources/c/controller/string.h b/sources/c/program/controller/controller/string.h similarity index 100% rename from sources/c/controller/string.h rename to sources/c/program/controller/controller/string.h diff --git a/sources/c/init/config.c b/sources/c/program/controller/init/config.c similarity index 100% rename from sources/c/init/config.c rename to sources/c/program/controller/init/config.c diff --git a/sources/c/init/config.h b/sources/c/program/controller/init/config.h similarity index 100% rename from sources/c/init/config.h rename to sources/c/program/controller/init/config.h diff --git a/sources/c/init/init.c b/sources/c/program/controller/init/init.c similarity index 100% rename from sources/c/init/init.c rename to sources/c/program/controller/init/init.c diff --git a/sources/c/init/init.h b/sources/c/program/controller/init/init.h similarity index 100% rename from sources/c/init/init.h rename to sources/c/program/controller/init/init.h diff --git a/sources/c/init/main.c b/sources/c/program/controller/init/main.c similarity index 100% rename from sources/c/init/main.c rename to sources/c/program/controller/init/main.c diff --git a/sources/c/init/main.h b/sources/c/program/controller/init/main.h similarity index 100% rename from sources/c/init/main.h rename to sources/c/program/controller/init/main.h diff --git a/sources/c/init/string.c b/sources/c/program/controller/init/string.c similarity index 100% rename from sources/c/init/string.c rename to sources/c/program/controller/init/string.c diff --git a/sources/c/init/string.h b/sources/c/program/controller/init/string.h similarity index 100% rename from sources/c/init/string.h rename to sources/c/program/controller/init/string.h diff --git a/sources/c/main/common.c b/sources/c/program/controller/main/common.c similarity index 100% rename from sources/c/main/common.c rename to sources/c/program/controller/main/common.c diff --git a/sources/c/main/common.h b/sources/c/program/controller/main/common.h similarity index 100% rename from sources/c/main/common.h rename to sources/c/program/controller/main/common.h diff --git a/sources/c/main/common/define.c b/sources/c/program/controller/main/common/define.c similarity index 100% rename from sources/c/main/common/define.c rename to sources/c/program/controller/main/common/define.c diff --git a/sources/c/main/common/define.h b/sources/c/program/controller/main/common/define.h similarity index 100% rename from sources/c/main/common/define.h rename to sources/c/program/controller/main/common/define.h diff --git a/sources/c/main/common/define/control.h b/sources/c/program/controller/main/common/define/control.h similarity index 100% rename from sources/c/main/common/define/control.h rename to sources/c/program/controller/main/common/define/control.h diff --git a/sources/c/main/common/define/entry.h b/sources/c/program/controller/main/common/define/entry.h similarity index 100% rename from sources/c/main/common/define/entry.h rename to sources/c/program/controller/main/common/define/entry.h diff --git a/sources/c/main/common/define/rule.h b/sources/c/program/controller/main/common/define/rule.h similarity index 100% rename from sources/c/main/common/define/rule.h rename to sources/c/program/controller/main/common/define/rule.h diff --git a/sources/c/main/common/define/thread.h b/sources/c/program/controller/main/common/define/thread.h similarity index 100% rename from sources/c/main/common/define/thread.h rename to sources/c/program/controller/main/common/define/thread.h diff --git a/sources/c/main/common/enumeration.c b/sources/c/program/controller/main/common/enumeration.c similarity index 100% rename from sources/c/main/common/enumeration.c rename to sources/c/program/controller/main/common/enumeration.c diff --git a/sources/c/main/common/enumeration.h b/sources/c/program/controller/main/common/enumeration.h similarity index 100% rename from sources/c/main/common/enumeration.h rename to sources/c/program/controller/main/common/enumeration.h diff --git a/sources/c/main/common/enumeration/control.h b/sources/c/program/controller/main/common/enumeration/control.h similarity index 100% rename from sources/c/main/common/enumeration/control.h rename to sources/c/program/controller/main/common/enumeration/control.h diff --git a/sources/c/main/common/enumeration/entry.h b/sources/c/program/controller/main/common/enumeration/entry.h similarity index 100% rename from sources/c/main/common/enumeration/entry.h rename to sources/c/program/controller/main/common/enumeration/entry.h diff --git a/sources/c/main/common/enumeration/instance.h b/sources/c/program/controller/main/common/enumeration/instance.h similarity index 100% rename from sources/c/main/common/enumeration/instance.h rename to sources/c/program/controller/main/common/enumeration/instance.h diff --git a/sources/c/main/common/enumeration/process.h b/sources/c/program/controller/main/common/enumeration/process.h similarity index 100% rename from sources/c/main/common/enumeration/process.h rename to sources/c/program/controller/main/common/enumeration/process.h diff --git a/sources/c/main/common/enumeration/rule.h b/sources/c/program/controller/main/common/enumeration/rule.h similarity index 100% rename from sources/c/main/common/enumeration/rule.h rename to sources/c/program/controller/main/common/enumeration/rule.h diff --git a/sources/c/main/common/enumeration/thread.h b/sources/c/program/controller/main/common/enumeration/thread.h similarity index 100% rename from sources/c/main/common/enumeration/thread.h rename to sources/c/program/controller/main/common/enumeration/thread.h diff --git a/sources/c/main/common/print.c b/sources/c/program/controller/main/common/print.c similarity index 100% rename from sources/c/main/common/print.c rename to sources/c/program/controller/main/common/print.c diff --git a/sources/c/main/common/print.h b/sources/c/program/controller/main/common/print.h similarity index 100% rename from sources/c/main/common/print.h rename to sources/c/program/controller/main/common/print.h diff --git a/sources/c/main/common/string.c b/sources/c/program/controller/main/common/string.c similarity index 100% rename from sources/c/main/common/string.c rename to sources/c/program/controller/main/common/string.c diff --git a/sources/c/main/common/string.h b/sources/c/program/controller/main/common/string.h similarity index 100% rename from sources/c/main/common/string.h rename to sources/c/program/controller/main/common/string.h diff --git a/sources/c/main/common/string/general.c b/sources/c/program/controller/main/common/string/general.c similarity index 100% rename from sources/c/main/common/string/general.c rename to sources/c/program/controller/main/common/string/general.c diff --git a/sources/c/main/common/string/general.h b/sources/c/program/controller/main/common/string/general.h similarity index 100% rename from sources/c/main/common/string/general.h rename to sources/c/program/controller/main/common/string/general.h diff --git a/sources/c/main/common/string/rule.c b/sources/c/program/controller/main/common/string/rule.c similarity index 100% rename from sources/c/main/common/string/rule.c rename to sources/c/program/controller/main/common/string/rule.c diff --git a/sources/c/main/common/string/rule.h b/sources/c/program/controller/main/common/string/rule.h similarity index 100% rename from sources/c/main/common/string/rule.h rename to sources/c/program/controller/main/common/string/rule.h diff --git a/sources/c/main/common/type.c b/sources/c/program/controller/main/common/type.c similarity index 100% rename from sources/c/main/common/type.c rename to sources/c/program/controller/main/common/type.c diff --git a/sources/c/main/common/type.h b/sources/c/program/controller/main/common/type.h similarity index 100% rename from sources/c/main/common/type.h rename to sources/c/program/controller/main/common/type.h diff --git a/sources/c/main/common/type/cache.c b/sources/c/program/controller/main/common/type/cache.c similarity index 100% rename from sources/c/main/common/type/cache.c rename to sources/c/program/controller/main/common/type/cache.c diff --git a/sources/c/main/common/type/cache.h b/sources/c/program/controller/main/common/type/cache.h similarity index 100% rename from sources/c/main/common/type/cache.h rename to sources/c/program/controller/main/common/type/cache.h diff --git a/sources/c/main/common/type/control.c b/sources/c/program/controller/main/common/type/control.c similarity index 100% rename from sources/c/main/common/type/control.c rename to sources/c/program/controller/main/common/type/control.c diff --git a/sources/c/main/common/type/control.h b/sources/c/program/controller/main/common/type/control.h similarity index 100% rename from sources/c/main/common/type/control.h rename to sources/c/program/controller/main/common/type/control.h diff --git a/sources/c/main/common/type/defs.h b/sources/c/program/controller/main/common/type/defs.h similarity index 100% rename from sources/c/main/common/type/defs.h rename to sources/c/program/controller/main/common/type/defs.h diff --git a/sources/c/main/common/type/entry.c b/sources/c/program/controller/main/common/type/entry.c similarity index 100% rename from sources/c/main/common/type/entry.c rename to sources/c/program/controller/main/common/type/entry.c diff --git a/sources/c/main/common/type/entry.h b/sources/c/program/controller/main/common/type/entry.h similarity index 100% rename from sources/c/main/common/type/entry.h rename to sources/c/program/controller/main/common/type/entry.h diff --git a/sources/c/main/common/type/execute.c b/sources/c/program/controller/main/common/type/execute.c similarity index 100% rename from sources/c/main/common/type/execute.c rename to sources/c/program/controller/main/common/type/execute.c diff --git a/sources/c/main/common/type/execute.h b/sources/c/program/controller/main/common/type/execute.h similarity index 100% rename from sources/c/main/common/type/execute.h rename to sources/c/program/controller/main/common/type/execute.h diff --git a/sources/c/main/common/type/instance.c b/sources/c/program/controller/main/common/type/instance.c similarity index 100% rename from sources/c/main/common/type/instance.c rename to sources/c/program/controller/main/common/type/instance.c diff --git a/sources/c/main/common/type/instance.h b/sources/c/program/controller/main/common/type/instance.h similarity index 100% rename from sources/c/main/common/type/instance.h rename to sources/c/program/controller/main/common/type/instance.h diff --git a/sources/c/main/common/type/interrupt.c b/sources/c/program/controller/main/common/type/interrupt.c similarity index 100% rename from sources/c/main/common/type/interrupt.c rename to sources/c/program/controller/main/common/type/interrupt.c diff --git a/sources/c/main/common/type/interrupt.h b/sources/c/program/controller/main/common/type/interrupt.h similarity index 100% rename from sources/c/main/common/type/interrupt.h rename to sources/c/program/controller/main/common/type/interrupt.h diff --git a/sources/c/main/common/type/lock.c b/sources/c/program/controller/main/common/type/lock.c similarity index 100% rename from sources/c/main/common/type/lock.c rename to sources/c/program/controller/main/common/type/lock.c diff --git a/sources/c/main/common/type/lock.h b/sources/c/program/controller/main/common/type/lock.h similarity index 100% rename from sources/c/main/common/type/lock.h rename to sources/c/program/controller/main/common/type/lock.h diff --git a/sources/c/main/common/type/process.c b/sources/c/program/controller/main/common/type/process.c similarity index 100% rename from sources/c/main/common/type/process.c rename to sources/c/program/controller/main/common/type/process.c diff --git a/sources/c/main/common/type/process.h b/sources/c/program/controller/main/common/type/process.h similarity index 100% rename from sources/c/main/common/type/process.h rename to sources/c/program/controller/main/common/type/process.h diff --git a/sources/c/main/common/type/rule.c b/sources/c/program/controller/main/common/type/rule.c similarity index 100% rename from sources/c/main/common/type/rule.c rename to sources/c/program/controller/main/common/type/rule.c diff --git a/sources/c/main/common/type/rule.h b/sources/c/program/controller/main/common/type/rule.h similarity index 100% rename from sources/c/main/common/type/rule.h rename to sources/c/program/controller/main/common/type/rule.h diff --git a/sources/c/main/common/type/thread.c b/sources/c/program/controller/main/common/type/thread.c similarity index 100% rename from sources/c/main/common/type/thread.c rename to sources/c/program/controller/main/common/type/thread.c diff --git a/sources/c/main/common/type/thread.h b/sources/c/program/controller/main/common/type/thread.h similarity index 100% rename from sources/c/main/common/type/thread.h rename to sources/c/program/controller/main/common/type/thread.h diff --git a/sources/c/main/controller.h b/sources/c/program/controller/main/controller.h similarity index 100% rename from sources/c/main/controller.h rename to sources/c/program/controller/main/controller.h diff --git a/sources/c/main/convert.c b/sources/c/program/controller/main/convert.c similarity index 100% rename from sources/c/main/convert.c rename to sources/c/program/controller/main/convert.c diff --git a/sources/c/main/convert.h b/sources/c/program/controller/main/convert.h similarity index 100% rename from sources/c/main/convert.h rename to sources/c/program/controller/main/convert.h diff --git a/sources/c/main/entry.c b/sources/c/program/controller/main/entry.c similarity index 100% rename from sources/c/main/entry.c rename to sources/c/program/controller/main/entry.c diff --git a/sources/c/main/entry.h b/sources/c/program/controller/main/entry.h similarity index 100% rename from sources/c/main/entry.h rename to sources/c/program/controller/main/entry.h diff --git a/sources/c/main/entry/action.c b/sources/c/program/controller/main/entry/action.c similarity index 100% rename from sources/c/main/entry/action.c rename to sources/c/program/controller/main/entry/action.c diff --git a/sources/c/main/entry/action.h b/sources/c/program/controller/main/entry/action.h similarity index 100% rename from sources/c/main/entry/action.h rename to sources/c/program/controller/main/entry/action.h diff --git a/sources/c/main/entry/preprocess.c b/sources/c/program/controller/main/entry/preprocess.c similarity index 100% rename from sources/c/main/entry/preprocess.c rename to sources/c/program/controller/main/entry/preprocess.c diff --git a/sources/c/main/entry/preprocess.h b/sources/c/program/controller/main/entry/preprocess.h similarity index 100% rename from sources/c/main/entry/preprocess.h rename to sources/c/program/controller/main/entry/preprocess.h diff --git a/sources/c/main/entry/process.c b/sources/c/program/controller/main/entry/process.c similarity index 100% rename from sources/c/main/entry/process.c rename to sources/c/program/controller/main/entry/process.c diff --git a/sources/c/main/entry/process.h b/sources/c/program/controller/main/entry/process.h similarity index 100% rename from sources/c/main/entry/process.h rename to sources/c/program/controller/main/entry/process.h diff --git a/sources/c/main/entry/setting.c b/sources/c/program/controller/main/entry/setting.c similarity index 100% rename from sources/c/main/entry/setting.c rename to sources/c/program/controller/main/entry/setting.c diff --git a/sources/c/main/entry/setting.h b/sources/c/program/controller/main/entry/setting.h similarity index 100% rename from sources/c/main/entry/setting.h rename to sources/c/program/controller/main/entry/setting.h diff --git a/sources/c/main/file.c b/sources/c/program/controller/main/file.c similarity index 100% rename from sources/c/main/file.c rename to sources/c/program/controller/main/file.c diff --git a/sources/c/main/file.h b/sources/c/program/controller/main/file.h similarity index 100% rename from sources/c/main/file.h rename to sources/c/program/controller/main/file.h diff --git a/sources/c/main/instance.c b/sources/c/program/controller/main/instance.c similarity index 100% rename from sources/c/main/instance.c rename to sources/c/program/controller/main/instance.c diff --git a/sources/c/main/instance.h b/sources/c/program/controller/main/instance.h similarity index 100% rename from sources/c/main/instance.h rename to sources/c/program/controller/main/instance.h diff --git a/sources/c/main/instance/prepare.c b/sources/c/program/controller/main/instance/prepare.c similarity index 100% rename from sources/c/main/instance/prepare.c rename to sources/c/program/controller/main/instance/prepare.c diff --git a/sources/c/main/instance/prepare.h b/sources/c/program/controller/main/instance/prepare.h similarity index 100% rename from sources/c/main/instance/prepare.h rename to sources/c/program/controller/main/instance/prepare.h diff --git a/sources/c/main/instance/wait.c b/sources/c/program/controller/main/instance/wait.c similarity index 100% rename from sources/c/main/instance/wait.c rename to sources/c/program/controller/main/instance/wait.c diff --git a/sources/c/main/instance/wait.h b/sources/c/program/controller/main/instance/wait.h similarity index 100% rename from sources/c/main/instance/wait.h rename to sources/c/program/controller/main/instance/wait.h diff --git a/sources/c/main/lock.c b/sources/c/program/controller/main/lock.c similarity index 100% rename from sources/c/main/lock.c rename to sources/c/program/controller/main/lock.c diff --git a/sources/c/main/lock.h b/sources/c/program/controller/main/lock.h similarity index 100% rename from sources/c/main/lock.h rename to sources/c/program/controller/main/lock.h diff --git a/sources/c/main/path.c b/sources/c/program/controller/main/path.c similarity index 100% rename from sources/c/main/path.c rename to sources/c/program/controller/main/path.c diff --git a/sources/c/main/path.h b/sources/c/program/controller/main/path.h similarity index 100% rename from sources/c/main/path.h rename to sources/c/program/controller/main/path.h diff --git a/sources/c/main/perform.c b/sources/c/program/controller/main/perform.c similarity index 100% rename from sources/c/main/perform.c rename to sources/c/program/controller/main/perform.c diff --git a/sources/c/main/perform.h b/sources/c/program/controller/main/perform.h similarity index 100% rename from sources/c/main/perform.h rename to sources/c/program/controller/main/perform.h diff --git a/sources/c/main/print/debug.c b/sources/c/program/controller/main/print/debug.c similarity index 100% rename from sources/c/main/print/debug.c rename to sources/c/program/controller/main/print/debug.c diff --git a/sources/c/main/print/debug.h b/sources/c/program/controller/main/print/debug.h similarity index 100% rename from sources/c/main/print/debug.h rename to sources/c/program/controller/main/print/debug.h diff --git a/sources/c/main/print/debug/perform/control.c b/sources/c/program/controller/main/print/debug/perform/control.c similarity index 100% rename from sources/c/main/print/debug/perform/control.c rename to sources/c/program/controller/main/print/debug/perform/control.c diff --git a/sources/c/main/print/debug/perform/control.h b/sources/c/program/controller/main/print/debug/perform/control.h similarity index 100% rename from sources/c/main/print/debug/perform/control.h rename to sources/c/program/controller/main/print/debug/perform/control.h diff --git a/sources/c/main/print/debug/perform/pid.c b/sources/c/program/controller/main/print/debug/perform/pid.c similarity index 100% rename from sources/c/main/print/debug/perform/pid.c rename to sources/c/program/controller/main/print/debug/perform/pid.c diff --git a/sources/c/main/print/debug/perform/pid.h b/sources/c/program/controller/main/print/debug/perform/pid.h similarity index 100% rename from sources/c/main/print/debug/perform/pid.h rename to sources/c/program/controller/main/print/debug/perform/pid.h diff --git a/sources/c/main/print/debug/rule/action.c b/sources/c/program/controller/main/print/debug/rule/action.c similarity index 100% rename from sources/c/main/print/debug/rule/action.c rename to sources/c/program/controller/main/print/debug/rule/action.c diff --git a/sources/c/main/print/debug/rule/action.h b/sources/c/program/controller/main/print/debug/rule/action.h similarity index 100% rename from sources/c/main/print/debug/rule/action.h rename to sources/c/program/controller/main/print/debug/rule/action.h diff --git a/sources/c/main/print/debug/rule/execute.c b/sources/c/program/controller/main/print/debug/rule/execute.c similarity index 100% rename from sources/c/main/print/debug/rule/execute.c rename to sources/c/program/controller/main/print/debug/rule/execute.c diff --git a/sources/c/main/print/debug/rule/execute.h b/sources/c/program/controller/main/print/debug/rule/execute.h similarity index 100% rename from sources/c/main/print/debug/rule/execute.h rename to sources/c/program/controller/main/print/debug/rule/execute.h diff --git a/sources/c/main/print/debug/rule/instance.c b/sources/c/program/controller/main/print/debug/rule/instance.c similarity index 100% rename from sources/c/main/print/debug/rule/instance.c rename to sources/c/program/controller/main/print/debug/rule/instance.c diff --git a/sources/c/main/print/debug/rule/instance.h b/sources/c/program/controller/main/print/debug/rule/instance.h similarity index 100% rename from sources/c/main/print/debug/rule/instance.h rename to sources/c/program/controller/main/print/debug/rule/instance.h diff --git a/sources/c/main/print/error.c b/sources/c/program/controller/main/print/error.c similarity index 100% rename from sources/c/main/print/error.c rename to sources/c/program/controller/main/print/error.c diff --git a/sources/c/main/print/error.h b/sources/c/program/controller/main/print/error.h similarity index 100% rename from sources/c/main/print/error.h rename to sources/c/program/controller/main/print/error.h diff --git a/sources/c/main/print/error/entry.c b/sources/c/program/controller/main/print/error/entry.c similarity index 100% rename from sources/c/main/print/error/entry.c rename to sources/c/program/controller/main/print/error/entry.c diff --git a/sources/c/main/print/error/entry.h b/sources/c/program/controller/main/print/error/entry.h similarity index 100% rename from sources/c/main/print/error/entry.h rename to sources/c/program/controller/main/print/error/entry.h diff --git a/sources/c/main/print/error/entry/action.c b/sources/c/program/controller/main/print/error/entry/action.c similarity index 100% rename from sources/c/main/print/error/entry/action.c rename to sources/c/program/controller/main/print/error/entry/action.c diff --git a/sources/c/main/print/error/entry/action.h b/sources/c/program/controller/main/print/error/entry/action.h similarity index 100% rename from sources/c/main/print/error/entry/action.h rename to sources/c/program/controller/main/print/error/entry/action.h diff --git a/sources/c/main/print/error/entry/item.c b/sources/c/program/controller/main/print/error/entry/item.c similarity index 100% rename from sources/c/main/print/error/entry/item.c rename to sources/c/program/controller/main/print/error/entry/item.c diff --git a/sources/c/main/print/error/entry/item.h b/sources/c/program/controller/main/print/error/entry/item.h similarity index 100% rename from sources/c/main/print/error/entry/item.h rename to sources/c/program/controller/main/print/error/entry/item.h diff --git a/sources/c/main/print/error/entry/setting.c b/sources/c/program/controller/main/print/error/entry/setting.c similarity index 100% rename from sources/c/main/print/error/entry/setting.c rename to sources/c/program/controller/main/print/error/entry/setting.c diff --git a/sources/c/main/print/error/entry/setting.h b/sources/c/program/controller/main/print/error/entry/setting.h similarity index 100% rename from sources/c/main/print/error/entry/setting.h rename to sources/c/program/controller/main/print/error/entry/setting.h diff --git a/sources/c/main/print/error/lock.c b/sources/c/program/controller/main/print/error/lock.c similarity index 100% rename from sources/c/main/print/error/lock.c rename to sources/c/program/controller/main/print/error/lock.c diff --git a/sources/c/main/print/error/lock.h b/sources/c/program/controller/main/print/error/lock.h similarity index 100% rename from sources/c/main/print/error/lock.h rename to sources/c/program/controller/main/print/error/lock.h diff --git a/sources/c/main/print/error/perform/pid.c b/sources/c/program/controller/main/print/error/perform/pid.c similarity index 100% rename from sources/c/main/print/error/perform/pid.c rename to sources/c/program/controller/main/print/error/perform/pid.c diff --git a/sources/c/main/print/error/perform/pid.h b/sources/c/program/controller/main/print/error/perform/pid.h similarity index 100% rename from sources/c/main/print/error/perform/pid.h rename to sources/c/program/controller/main/print/error/perform/pid.h diff --git a/sources/c/main/print/error/rule.c b/sources/c/program/controller/main/print/error/rule.c similarity index 100% rename from sources/c/main/print/error/rule.c rename to sources/c/program/controller/main/print/error/rule.c diff --git a/sources/c/main/print/error/rule.h b/sources/c/program/controller/main/print/error/rule.h similarity index 100% rename from sources/c/main/print/error/rule.h rename to sources/c/program/controller/main/print/error/rule.h diff --git a/sources/c/main/print/error/rule/action.c b/sources/c/program/controller/main/print/error/rule/action.c similarity index 100% rename from sources/c/main/print/error/rule/action.c rename to sources/c/program/controller/main/print/error/rule/action.c diff --git a/sources/c/main/print/error/rule/action.h b/sources/c/program/controller/main/print/error/rule/action.h similarity index 100% rename from sources/c/main/print/error/rule/action.h rename to sources/c/program/controller/main/print/error/rule/action.h diff --git a/sources/c/main/print/error/rule/instance.c b/sources/c/program/controller/main/print/error/rule/instance.c similarity index 100% rename from sources/c/main/print/error/rule/instance.c rename to sources/c/program/controller/main/print/error/rule/instance.c diff --git a/sources/c/main/print/error/rule/instance.h b/sources/c/program/controller/main/print/error/rule/instance.h similarity index 100% rename from sources/c/main/print/error/rule/instance.h rename to sources/c/program/controller/main/print/error/rule/instance.h diff --git a/sources/c/main/print/error/rule/item.c b/sources/c/program/controller/main/print/error/rule/item.c similarity index 100% rename from sources/c/main/print/error/rule/item.c rename to sources/c/program/controller/main/print/error/rule/item.c diff --git a/sources/c/main/print/error/rule/item.h b/sources/c/program/controller/main/print/error/rule/item.h similarity index 100% rename from sources/c/main/print/error/rule/item.h rename to sources/c/program/controller/main/print/error/rule/item.h diff --git a/sources/c/main/print/error/rule/setting.c b/sources/c/program/controller/main/print/error/rule/setting.c similarity index 100% rename from sources/c/main/print/error/rule/setting.c rename to sources/c/program/controller/main/print/error/rule/setting.c diff --git a/sources/c/main/print/error/rule/setting.h b/sources/c/program/controller/main/print/error/rule/setting.h similarity index 100% rename from sources/c/main/print/error/rule/setting.h rename to sources/c/program/controller/main/print/error/rule/setting.h diff --git a/sources/c/main/print/lock.c b/sources/c/program/controller/main/print/lock.c similarity index 100% rename from sources/c/main/print/lock.c rename to sources/c/program/controller/main/print/lock.c diff --git a/sources/c/main/print/lock.h b/sources/c/program/controller/main/print/lock.h similarity index 100% rename from sources/c/main/print/lock.h rename to sources/c/program/controller/main/print/lock.h diff --git a/sources/c/main/print/message.c b/sources/c/program/controller/main/print/message.c similarity index 100% rename from sources/c/main/print/message.c rename to sources/c/program/controller/main/print/message.c diff --git a/sources/c/main/print/message.h b/sources/c/program/controller/main/print/message.h similarity index 100% rename from sources/c/main/print/message.h rename to sources/c/program/controller/main/print/message.h diff --git a/sources/c/main/print/message/entry.c b/sources/c/program/controller/main/print/message/entry.c similarity index 100% rename from sources/c/main/print/message/entry.c rename to sources/c/program/controller/main/print/message/entry.c diff --git a/sources/c/main/print/message/entry.h b/sources/c/program/controller/main/print/message/entry.h similarity index 100% rename from sources/c/main/print/message/entry.h rename to sources/c/program/controller/main/print/message/entry.h diff --git a/sources/c/main/print/message/entry/action.c b/sources/c/program/controller/main/print/message/entry/action.c similarity index 100% rename from sources/c/main/print/message/entry/action.c rename to sources/c/program/controller/main/print/message/entry/action.c diff --git a/sources/c/main/print/message/entry/action.h b/sources/c/program/controller/main/print/message/entry/action.h similarity index 100% rename from sources/c/main/print/message/entry/action.h rename to sources/c/program/controller/main/print/message/entry/action.h diff --git a/sources/c/main/print/message/entry/item.c b/sources/c/program/controller/main/print/message/entry/item.c similarity index 100% rename from sources/c/main/print/message/entry/item.c rename to sources/c/program/controller/main/print/message/entry/item.c diff --git a/sources/c/main/print/message/entry/item.h b/sources/c/program/controller/main/print/message/entry/item.h similarity index 100% rename from sources/c/main/print/message/entry/item.h rename to sources/c/program/controller/main/print/message/entry/item.h diff --git a/sources/c/main/print/output/entry/setting.c b/sources/c/program/controller/main/print/output/entry/setting.c similarity index 100% rename from sources/c/main/print/output/entry/setting.c rename to sources/c/program/controller/main/print/output/entry/setting.c diff --git a/sources/c/main/print/output/entry/setting.h b/sources/c/program/controller/main/print/output/entry/setting.h similarity index 100% rename from sources/c/main/print/output/entry/setting.h rename to sources/c/program/controller/main/print/output/entry/setting.h diff --git a/sources/c/main/print/output/rule/execute.c b/sources/c/program/controller/main/print/output/rule/execute.c similarity index 100% rename from sources/c/main/print/output/rule/execute.c rename to sources/c/program/controller/main/print/output/rule/execute.c diff --git a/sources/c/main/print/output/rule/execute.h b/sources/c/program/controller/main/print/output/rule/execute.h similarity index 100% rename from sources/c/main/print/output/rule/execute.h rename to sources/c/program/controller/main/print/output/rule/execute.h diff --git a/sources/c/main/print/output/rule/setting.c b/sources/c/program/controller/main/print/output/rule/setting.c similarity index 100% rename from sources/c/main/print/output/rule/setting.c rename to sources/c/program/controller/main/print/output/rule/setting.c diff --git a/sources/c/main/print/output/rule/setting.h b/sources/c/program/controller/main/print/output/rule/setting.h similarity index 100% rename from sources/c/main/print/output/rule/setting.h rename to sources/c/program/controller/main/print/output/rule/setting.h diff --git a/sources/c/main/print/output/rule/validate.c b/sources/c/program/controller/main/print/output/rule/validate.c similarity index 100% rename from sources/c/main/print/output/rule/validate.c rename to sources/c/program/controller/main/print/output/rule/validate.c diff --git a/sources/c/main/print/output/rule/validate.h b/sources/c/program/controller/main/print/output/rule/validate.h similarity index 100% rename from sources/c/main/print/output/rule/validate.h rename to sources/c/program/controller/main/print/output/rule/validate.h diff --git a/sources/c/main/print/warning/entry/action.c b/sources/c/program/controller/main/print/warning/entry/action.c similarity index 100% rename from sources/c/main/print/warning/entry/action.c rename to sources/c/program/controller/main/print/warning/entry/action.c diff --git a/sources/c/main/print/warning/entry/action.h b/sources/c/program/controller/main/print/warning/entry/action.h similarity index 100% rename from sources/c/main/print/warning/entry/action.h rename to sources/c/program/controller/main/print/warning/entry/action.h diff --git a/sources/c/main/print/warning/entry/item.c b/sources/c/program/controller/main/print/warning/entry/item.c similarity index 100% rename from sources/c/main/print/warning/entry/item.c rename to sources/c/program/controller/main/print/warning/entry/item.c diff --git a/sources/c/main/print/warning/entry/item.h b/sources/c/program/controller/main/print/warning/entry/item.h similarity index 100% rename from sources/c/main/print/warning/entry/item.h rename to sources/c/program/controller/main/print/warning/entry/item.h diff --git a/sources/c/main/print/warning/entry/setting.c b/sources/c/program/controller/main/print/warning/entry/setting.c similarity index 100% rename from sources/c/main/print/warning/entry/setting.c rename to sources/c/program/controller/main/print/warning/entry/setting.c diff --git a/sources/c/main/print/warning/entry/setting.h b/sources/c/program/controller/main/print/warning/entry/setting.h similarity index 100% rename from sources/c/main/print/warning/entry/setting.h rename to sources/c/program/controller/main/print/warning/entry/setting.h diff --git a/sources/c/main/print/warning/rule/action.c b/sources/c/program/controller/main/print/warning/rule/action.c similarity index 100% rename from sources/c/main/print/warning/rule/action.c rename to sources/c/program/controller/main/print/warning/rule/action.c diff --git a/sources/c/main/print/warning/rule/action.h b/sources/c/program/controller/main/print/warning/rule/action.h similarity index 100% rename from sources/c/main/print/warning/rule/action.h rename to sources/c/program/controller/main/print/warning/rule/action.h diff --git a/sources/c/main/print/warning/rule/item.c b/sources/c/program/controller/main/print/warning/rule/item.c similarity index 100% rename from sources/c/main/print/warning/rule/item.c rename to sources/c/program/controller/main/print/warning/rule/item.c diff --git a/sources/c/main/print/warning/rule/item.h b/sources/c/program/controller/main/print/warning/rule/item.h similarity index 100% rename from sources/c/main/print/warning/rule/item.h rename to sources/c/program/controller/main/print/warning/rule/item.h diff --git a/sources/c/main/print/warning/rule/setting.c b/sources/c/program/controller/main/print/warning/rule/setting.c similarity index 100% rename from sources/c/main/print/warning/rule/setting.c rename to sources/c/program/controller/main/print/warning/rule/setting.c diff --git a/sources/c/main/print/warning/rule/setting.h b/sources/c/program/controller/main/print/warning/rule/setting.h similarity index 100% rename from sources/c/main/print/warning/rule/setting.h rename to sources/c/program/controller/main/print/warning/rule/setting.h diff --git a/sources/c/main/process.c b/sources/c/program/controller/main/process.c similarity index 100% rename from sources/c/main/process.c rename to sources/c/program/controller/main/process.c diff --git a/sources/c/main/process.h b/sources/c/program/controller/main/process.h similarity index 100% rename from sources/c/main/process.h rename to sources/c/program/controller/main/process.h diff --git a/sources/c/main/rule.c b/sources/c/program/controller/main/rule.c similarity index 100% rename from sources/c/main/rule.c rename to sources/c/program/controller/main/rule.c diff --git a/sources/c/main/rule.h b/sources/c/program/controller/main/rule.h similarity index 100% rename from sources/c/main/rule.h rename to sources/c/program/controller/main/rule.h diff --git a/sources/c/main/rule/action.c b/sources/c/program/controller/main/rule/action.c similarity index 100% rename from sources/c/main/rule/action.c rename to sources/c/program/controller/main/rule/action.c diff --git a/sources/c/main/rule/action.h b/sources/c/program/controller/main/rule/action.h similarity index 100% rename from sources/c/main/rule/action.h rename to sources/c/program/controller/main/rule/action.h diff --git a/sources/c/main/rule/execute.c b/sources/c/program/controller/main/rule/execute.c similarity index 100% rename from sources/c/main/rule/execute.c rename to sources/c/program/controller/main/rule/execute.c diff --git a/sources/c/main/rule/execute.h b/sources/c/program/controller/main/rule/execute.h similarity index 100% rename from sources/c/main/rule/execute.h rename to sources/c/program/controller/main/rule/execute.h diff --git a/sources/c/main/rule/expand.c b/sources/c/program/controller/main/rule/expand.c similarity index 100% rename from sources/c/main/rule/expand.c rename to sources/c/program/controller/main/rule/expand.c diff --git a/sources/c/main/rule/expand.h b/sources/c/program/controller/main/rule/expand.h similarity index 100% rename from sources/c/main/rule/expand.h rename to sources/c/program/controller/main/rule/expand.h diff --git a/sources/c/main/rule/instance.c b/sources/c/program/controller/main/rule/instance.c similarity index 100% rename from sources/c/main/rule/instance.c rename to sources/c/program/controller/main/rule/instance.c diff --git a/sources/c/main/rule/instance.h b/sources/c/program/controller/main/rule/instance.h similarity index 100% rename from sources/c/main/rule/instance.h rename to sources/c/program/controller/main/rule/instance.h diff --git a/sources/c/main/rule/is.c b/sources/c/program/controller/main/rule/is.c similarity index 100% rename from sources/c/main/rule/is.c rename to sources/c/program/controller/main/rule/is.c diff --git a/sources/c/main/rule/is.h b/sources/c/program/controller/main/rule/is.h similarity index 100% rename from sources/c/main/rule/is.h rename to sources/c/program/controller/main/rule/is.h diff --git a/sources/c/main/rule/item.c b/sources/c/program/controller/main/rule/item.c similarity index 100% rename from sources/c/main/rule/item.c rename to sources/c/program/controller/main/rule/item.c diff --git a/sources/c/main/rule/item.h b/sources/c/program/controller/main/rule/item.h similarity index 100% rename from sources/c/main/rule/item.h rename to sources/c/program/controller/main/rule/item.h diff --git a/sources/c/main/rule/parameter.c b/sources/c/program/controller/main/rule/parameter.c similarity index 100% rename from sources/c/main/rule/parameter.c rename to sources/c/program/controller/main/rule/parameter.c diff --git a/sources/c/main/rule/parameter.h b/sources/c/program/controller/main/rule/parameter.h similarity index 100% rename from sources/c/main/rule/parameter.h rename to sources/c/program/controller/main/rule/parameter.h diff --git a/sources/c/main/rule/read.c b/sources/c/program/controller/main/rule/read.c similarity index 100% rename from sources/c/main/rule/read.c rename to sources/c/program/controller/main/rule/read.c diff --git a/sources/c/main/rule/read.h b/sources/c/program/controller/main/rule/read.h similarity index 100% rename from sources/c/main/rule/read.h rename to sources/c/program/controller/main/rule/read.h diff --git a/sources/c/main/rule/setting.c b/sources/c/program/controller/main/rule/setting.c similarity index 100% rename from sources/c/main/rule/setting.c rename to sources/c/program/controller/main/rule/setting.c diff --git a/sources/c/main/rule/setting.h b/sources/c/program/controller/main/rule/setting.h similarity index 100% rename from sources/c/main/rule/setting.h rename to sources/c/program/controller/main/rule/setting.h diff --git a/sources/c/main/rule/validate.c b/sources/c/program/controller/main/rule/validate.c similarity index 100% rename from sources/c/main/rule/validate.c rename to sources/c/program/controller/main/rule/validate.c diff --git a/sources/c/main/rule/validate.h b/sources/c/program/controller/main/rule/validate.h similarity index 100% rename from sources/c/main/rule/validate.h rename to sources/c/program/controller/main/rule/validate.h diff --git a/sources/c/main/rule/wait.c b/sources/c/program/controller/main/rule/wait.c similarity index 100% rename from sources/c/main/rule/wait.c rename to sources/c/program/controller/main/rule/wait.c diff --git a/sources/c/main/rule/wait.h b/sources/c/program/controller/main/rule/wait.h similarity index 100% rename from sources/c/main/rule/wait.h rename to sources/c/program/controller/main/rule/wait.h diff --git a/sources/c/main/signal.c b/sources/c/program/controller/main/signal.c similarity index 100% rename from sources/c/main/signal.c rename to sources/c/program/controller/main/signal.c diff --git a/sources/c/main/signal.h b/sources/c/program/controller/main/signal.h similarity index 100% rename from sources/c/main/signal.h rename to sources/c/program/controller/main/signal.h diff --git a/sources/c/main/status.c b/sources/c/program/controller/main/status.c similarity index 100% rename from sources/c/main/status.c rename to sources/c/program/controller/main/status.c diff --git a/sources/c/main/status.h b/sources/c/program/controller/main/status.h similarity index 100% rename from sources/c/main/status.h rename to sources/c/program/controller/main/status.h diff --git a/sources/c/main/thread.c b/sources/c/program/controller/main/thread.c similarity index 100% rename from sources/c/main/thread.c rename to sources/c/program/controller/main/thread.c diff --git a/sources/c/main/thread.h b/sources/c/program/controller/main/thread.h similarity index 100% rename from sources/c/main/thread.h rename to sources/c/program/controller/main/thread.h diff --git a/sources/c/main/thread/cleanup.c b/sources/c/program/controller/main/thread/cleanup.c similarity index 100% rename from sources/c/main/thread/cleanup.c rename to sources/c/program/controller/main/thread/cleanup.c diff --git a/sources/c/main/thread/cleanup.h b/sources/c/program/controller/main/thread/cleanup.h similarity index 100% rename from sources/c/main/thread/cleanup.h rename to sources/c/program/controller/main/thread/cleanup.h diff --git a/sources/c/main/thread/control.c b/sources/c/program/controller/main/thread/control.c similarity index 100% rename from sources/c/main/thread/control.c rename to sources/c/program/controller/main/thread/control.c diff --git a/sources/c/main/thread/control.h b/sources/c/program/controller/main/thread/control.h similarity index 100% rename from sources/c/main/thread/control.h rename to sources/c/program/controller/main/thread/control.h diff --git a/sources/c/main/thread/entry.c b/sources/c/program/controller/main/thread/entry.c similarity index 100% rename from sources/c/main/thread/entry.c rename to sources/c/program/controller/main/thread/entry.c diff --git a/sources/c/main/thread/entry.h b/sources/c/program/controller/main/thread/entry.h similarity index 100% rename from sources/c/main/thread/entry.h rename to sources/c/program/controller/main/thread/entry.h diff --git a/sources/c/main/thread/instance.c b/sources/c/program/controller/main/thread/instance.c similarity index 100% rename from sources/c/main/thread/instance.c rename to sources/c/program/controller/main/thread/instance.c diff --git a/sources/c/main/thread/instance.h b/sources/c/program/controller/main/thread/instance.h similarity index 100% rename from sources/c/main/thread/instance.h rename to sources/c/program/controller/main/thread/instance.h diff --git a/sources/c/main/thread/is.c b/sources/c/program/controller/main/thread/is.c similarity index 100% rename from sources/c/main/thread/is.c rename to sources/c/program/controller/main/thread/is.c diff --git a/sources/c/main/thread/is.h b/sources/c/program/controller/main/thread/is.h similarity index 100% rename from sources/c/main/thread/is.h rename to sources/c/program/controller/main/thread/is.h diff --git a/sources/c/main/thread/rule.c b/sources/c/program/controller/main/thread/rule.c similarity index 100% rename from sources/c/main/thread/rule.c rename to sources/c/program/controller/main/thread/rule.c diff --git a/sources/c/main/thread/rule.h b/sources/c/program/controller/main/thread/rule.h similarity index 100% rename from sources/c/main/thread/rule.h rename to sources/c/program/controller/main/thread/rule.h diff --git a/sources/c/main/thread/signal.c b/sources/c/program/controller/main/thread/signal.c similarity index 100% rename from sources/c/main/thread/signal.c rename to sources/c/program/controller/main/thread/signal.c diff --git a/sources/c/main/thread/signal.h b/sources/c/program/controller/main/thread/signal.h similarity index 100% rename from sources/c/main/thread/signal.h rename to sources/c/program/controller/main/thread/signal.h diff --git a/sources/c/main/time.c b/sources/c/program/controller/main/time.c similarity index 100% rename from sources/c/main/time.c rename to sources/c/program/controller/main/time.c diff --git a/sources/c/main/time.h b/sources/c/program/controller/main/time.h similarity index 100% rename from sources/c/main/time.h rename to sources/c/program/controller/main/time.h diff --git a/sources/c/main/validate.c b/sources/c/program/controller/main/validate.c similarity index 100% rename from sources/c/main/validate.c rename to sources/c/program/controller/main/validate.c diff --git a/sources/c/main/validate.h b/sources/c/program/controller/main/validate.h similarity index 100% rename from sources/c/main/validate.h rename to sources/c/program/controller/main/validate.h