From: Kevin Day Date: Tue, 19 Oct 2021 23:21:13 +0000 (-0500) Subject: Update: add additional fake settings, simplify defines_all and flags_all. X-Git-Tag: 0.5.6~9 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=e57b0ba582bcbee87dc4c52ced553d66914b5c05;p=fll Update: add additional fake settings, simplify defines_all and flags_all. Add the following fake build settings: - libraries_shared - libraries_static - build_sources_headers_shared - build_sources_headers_static - build_sources_library_shared - build_sources_library_static - build_sources_program_shared - build_sources_program_static - flags_library_shared - flags_library_static - flags_program_shared - flags_program_static - defines_library_shared - defines_library_static - defines_program_shared - defines_program_static "flags_all" is now "flags". "defines_all" is now "defines". These are needed for the adding settings specific to shared or static state. The "headers" related ones are added in case custom headers include static or shared specific code that should only be installed when using static or shared. Note that the "headers" is for installation and is not needed in any way for compilation. Other non-compilation related settings are not to have the "_shared" or "_static" added. --- diff --git a/build/level_0/settings b/build/level_0/settings index 2ad4bd1..1faf205 100644 --- a/build/level_0/settings +++ b/build/level_0/settings @@ -22,11 +22,19 @@ build_language c build_libraries -lc -lcap build_libraries-level build_libraries-level_threadless +build_libraries_shared +build_libraries_static build_sources_library account.c private-account.c capability.c color.c color-common.c console.c console-common.c control_group.c control_group-common.c conversion.c conversion-common.c private-conversion.c directory.c private-directory.c environment.c private-environment.c execute.c file.c file-common.c private-file.c fss.c private-fss.c fss-common.c fss_named.c fss_nest.c fss_set.c iki.c iki-common.c private-iki.c limit.c memory.c memory_structure.c private-memory.c path.c path-common.c private-path.c pipe.c print.c print-common.c private-print.c serialize.c serialize-common.c private-serialize.c signal.c socket.c string.c string-common.c private-string.c string_dynamic.c string_map.c string_quantity.c string_range.c string_triple.c type_array.c private-type_array.c utf.c utf-common.c private-utf.c utf_dynamic.c utf_map.c utf_triple.c build_sources_library-level thread.c private-thread.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers account.h account-common.h capability.h capability-common.h color.h color-common.h console.h console-common.h control_group.h control_group-common.h conversion.h conversion-common.h directory.h directory_type.h directory-common.h environment.h environment-common.h execute.h execute-common.h file.h file-common.h fss.h fss-common.h fss_comment.h fss_delimit.h fss_named.h fss_nest.h fss_quote.h fss_set.h iki.h iki-common.h limit.h limit-common.h memory.h memory_structure.h memory-common.h path.h path-common.h pipe.h print.h print-common.h serialize.h serialize-common.h signal.h signal-common.h socket.h socket-common.h status.h string.h string-common.h string_dynamic.h string_map.h string_quantity.h string_range.h string_triple.h type.h type_array.h type_array-common.h utf.h utf-common.h utf_dynamic.h utf_map.h utf_triple.h build_sources_headers-level thread.h thread-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -46,16 +54,26 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ -defines_all-level -defines_all-level_threadless -D_di_pthread_support_ +#defines -D_di_libcap_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines-level +defines-level_threadless -D_di_pthread_support_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_all-level -pthread -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses +flags-level -pthread flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/build/level_1/settings b/build/level_1/settings index 961f550..20bf00d 100644 --- a/build/level_1/settings +++ b/build/level_1/settings @@ -22,11 +22,19 @@ build_language c build_libraries -lc -lcap build_libraries-level -lfll_0 build_libraries-level_threadless -lfll_0 +build_libraries_shared +build_libraries_static build_sources_library console.c control_group.c conversion.c private-conversion.c directory.c private-directory.c environment.c private-fss.c fss_basic.c fss_basic_list.c fss_embedded_list.c fss_extended.c fss_extended_list.c iki.c print.c print-common.c private-print.c signal.c status.c string.c private-string.c utf.c private-utf.c utf_file.c private-utf_file.c build_sources_library-level +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers console.h control_group.h conversion.h directory.h environment.h execute.h execute-common.h fss.h fss_basic.h fss_basic_list.h fss_embedded_list.h fss_extended.h fss_extended_list.h fss_status.h iki.h print.h print-common.h signal.h signal-common.h status.h string.h utf.h utf_file.h build_sources_headers-level +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -46,16 +54,26 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ -defines_all-level -defines_all-level_threadless -D_di_pthread_support_ +#defines -D_di_libcap_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines-level +defines-level_threadless -D_di_pthread_support_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_all-level -pthread -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses +flags-level -pthread flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/build/level_2/settings b/build/level_2/settings index 9ad4f8a..31dfbd8 100644 --- a/build/level_2/settings +++ b/build/level_2/settings @@ -22,11 +22,19 @@ build_language c build_libraries -lc -lcap build_libraries-level -lfll_1 -lfll_0 build_libraries-level_threadless -lfll_1 -lfll_0 +build_libraries_shared +build_libraries_static build_sources_library control_group.c error.c error-common.c private-error.c execute.c private-execute.c file.c private-file.c fss.c private-fss.c fss_basic.c fss_basic_list.c fss_embedded_list.c fss_extended.c fss_extended_list.c fss_status.c iki.c private-iki.c path.c print.c program.c status.c build_sources_library-level +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers control_group.h error.h error-common.h execute.h file.h fss.h fss_basic.h fss_basic_list.h fss_embedded_list.h fss_extended.h fss_extended_list.h fss_status.h iki.h path.h print.h program.h status.h build_sources_headers-level +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -46,16 +54,26 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ -defines_all-level -defines_all-level_threadless -D_di_pthread_support_ +#defines -D_di_libcap_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines-level +defines-level_threadless -D_di_pthread_support_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_all-level -pthread -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses +flags-level -pthread flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/build/monolithic/settings b/build/monolithic/settings index 9efd79e..46ada63 100644 --- a/build/monolithic/settings +++ b/build/monolithic/settings @@ -22,11 +22,19 @@ build_language c build_libraries -lc -lcap build_libraries-monolithic build_libraries-monolithic_threadless +build_libraries_shared +build_libraries_static build_sources_library level_0/account.c level_0/private-account.c level_0/capability.c level_0/color.c level_0/color-common.c level_0/console.c level_0/console-common.c level_0/control_group.c level_0/control_group-common.c level_0/conversion.c level_0/conversion-common.c level_0/private-conversion.c level_0/directory.c level_0/private-directory.c level_0/environment.c level_0/private-environment.c level_0/execute.c level_0/file.c level_0/file-common.c level_0/private-file.c level_0/fss.c level_0/private-fss.c level_0/fss-common.c level_0/fss_named.c level_0/fss_nest.c level_0/fss_set.c level_0/iki.c level_0/iki-common.c level_0/private-iki.c level_0/limit.c level_0/memory.c level_0/memory_structure.c level_0/private-memory.c level_0/path.c level_0/path-common.c level_0/private-path.c level_0/pipe.c level_0/print.c level_0/print-common.c level_0/private-print.c level_0/serialize.c level_0/serialize-common.c level_0/private-serialize.c level_0/signal.c level_0/socket.c level_0/string.c level_0/string-common.c level_0/private-string.c level_0/string_dynamic.c level_0/string_map.c level_0/string_quantity.c level_0/string_range.c level_0/string_triple.c level_0/type_array.c level_0/private-type_array.c level_0/utf.c level_0/utf-common.c level_0/private-utf.c level_0/utf_dynamic.c level_0/utf_map.c level_0/utf_triple.c level_1/console.c level_1/control_group.c level_1/conversion.c level_1/private-conversion.c level_1/directory.c level_1/private-directory.c level_1/environment.c level_1/private-fss.c level_1/fss_basic.c level_1/fss_basic_list.c level_1/fss_embedded_list.c level_1/fss_extended.c level_1/fss_extended_list.c level_1/iki.c level_1/print.c level_1/print-common.c level_1/private-print.c level_1/signal.c level_1/status.c level_1/string.c level_1/private-string.c level_1/utf.c level_1/private-utf.c level_1/utf_file.c level_1/private-utf_file.c level_2/control_group.c level_2/error.c level_2/error-common.c level_2/private-error.c level_2/execute.c level_2/private-execute.c level_2/file.c level_2/private-file.c level_2/fss.c level_2/private-fss.c level_2/fss_basic.c level_2/fss_basic_list.c level_2/fss_embedded_list.c level_2/fss_extended.c level_2/fss_extended_list.c level_2/fss_status.c level_2/iki.c level_2/private-iki.c level_2/path.c level_2/print.c level_2/program.c level_2/status.c build_sources_library-monolithic level_0/thread.c level_0/private-thread.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers level_0/account.h level_0/account-common.h level_0/capability.h level_0/capability-common.h level_0/color.h level_0/color-common.h level_0/console.h level_0/console-common.h level_0/control_group.h level_0/control_group-common.h level_0/conversion.h level_0/conversion-common.h level_0/directory.h level_0/directory_type.h level_0/directory-common.h level_0/environment.h level_0/environment-common.h level_0/execute.h level_0/execute-common.h level_0/file.h level_0/file-common.h level_0/fss.h level_0/fss-common.h level_0/fss_comment.h level_0/fss_delimit.h level_0/fss_named.h level_0/fss_nest.h level_0/fss_quote.h level_0/fss_set.h level_0/iki.h level_0/iki-common.h level_0/limit.h level_0/limit-common.h level_0/memory.h level_0/memory_structure.h level_0/memory-common.h level_0/path.h level_0/path-common.h level_0/pipe.h level_0/print.h level_0/print-common.h level_0/serialize.h level_0/serialize-common.h level_0/signal.h level_0/signal-common.h level_0/socket.h level_0/socket-common.h level_0/status.h level_0/string.h level_0/string-common.h level_0/string_dynamic.h level_0/string_map.h level_0/string_quantity.h level_0/string_range.h level_0/string_triple.h level_0/type.h level_0/type_array.h level_0/type_array-common.h level_0/utf.h level_0/utf-common.h level_0/utf_dynamic.h level_0/utf_map.h level_0/utf_triple.h level_1/console.h level_1/control_group.h level_1/conversion.h level_1/directory.h level_1/environment.h level_1/execute.h level_1/execute-common.h level_1/fss.h level_1/fss_basic.h level_1/fss_basic_list.h level_1/fss_embedded_list.h level_1/fss_extended.h level_1/fss_extended_list.h level_1/fss_status.h level_1/iki.h level_1/print.h level_1/print-common.h level_1/signal.h level_1/signal-common.h level_1/status.h level_1/string.h level_1/utf.h level_1/utf_file.h level_2/control_group.h level_2/error.h level_2/error-common.h level_2/execute.h level_2/file.h level_2/fss.h level_2/fss_basic.h level_2/fss_basic_list.h level_2/fss_embedded_list.h level_2/fss_extended.h level_2/fss_extended_list.h level_2/fss_status.h level_2/iki.h level_2/path.h level_2/print.h level_2/program.h level_2/status.h build_sources_headers-monolithic level_0/thread.h level_0/thread-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -46,16 +54,26 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ -defines_all-monolithic -defines_all-monolithic_threadless -D_di_pthread_support_ +#defines -D_di_libcap_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines-monolithic +defines-monolithic_threadless -D_di_pthread_support_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_all-monolithic -pthread -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses +flags-monolithic -pthread flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/build/scripts/bootstrap.sh b/build/scripts/bootstrap.sh index 3dda60d..d595230 100644 --- a/build/scripts/bootstrap.sh +++ b/build/scripts/bootstrap.sh @@ -435,82 +435,114 @@ bootstrap_id() { "build_indexer") echo -n 1;; "build_language") echo -n 2;; "build_libraries") echo -n 3;; - "build_script") echo -n 4;; - "build_shared") echo -n 5;; - "build_sources_headers") echo -n 6;; - "build_sources_library") echo -n 7;; - "build_sources_program") echo -n 8;; - "build_sources_script") echo -n 9;; - "build_sources_setting") echo -n 10;; - "build_static") echo -n 11;; - "defines_all") echo -n 12;; - "defines_library") echo -n 13;; - "defines_program") echo -n 14;; - "defines_shared") echo -n 15;; - "defines_static") echo -n 16;; - "environment") echo -n 17;; - "flags_all") echo -n 18;; - "flags_library") echo -n 19;; - "flags_program") echo -n 20;; - "flags_shared") echo -n 21;; - "flags_static") echo -n 22;; - "modes") echo -n 23;; - "modes_default") echo -n 24;; - "path_headers") echo -n 25;; - "path_headers_preserve") echo -n 26;; - "path_language") echo -n 27;; - "path_library_script") echo -n 28;; - "path_library_shared") echo -n 29;; - "path_library_static") echo -n 30;; - "path_program_script") echo -n 31;; - "path_program_shared") echo -n 32;; - "path_program_static") echo -n 33;; - "path_sources") echo -n 34;; - "path_standard") echo -n 35;; - "process_post") echo -n 36;; - "process_pre") echo -n 37;; - "project_name") echo -n 38;; - "search_exclusive") echo -n 39;; - "search_shared") echo -n 40;; - "search_static") echo -n 41;; - "version_file") echo -n 42;; - "version_major") echo -n 43;; - "version_major_prefix") echo -n 44;; - "version_micro") echo -n 45;; - "version_micro_prefix") echo -n 46;; - "version_minor") echo -n 47;; - "version_minor_prefix") echo -n 48;; - "version_nano") echo -n 49;; - "version_nano_prefix") echo -n 50;; - "version_target") echo -n 51;; - - "build_libraries-$mode") echo -n 52;; - "build_sources_headers-$mode") echo -n 53;; - "build_sources_library-$mode") echo -n 54;; - "build_sources_program-$mode") echo -n 55;; - "build_sources_script-$mode") echo -n 56;; - "build_sources_setting-$mode") echo -n 57;; - "defines_all-$mode") echo -n 58;; - "defines_library-$mode") echo -n 59;; - "defines_program-$mode") echo -n 60;; - "defines_shared-$mode") echo -n 61;; - "defines_static-$mode") echo -n 62;; - "environment-$mode") echo -n 63;; - "flags_all-$mode") echo -n 64;; - "flags_library-$mode") echo -n 65;; - "flags_program-$mode") echo -n 66;; - "flags_shared-$mode") echo -n 67;; - "flags_static-$mode") echo -n 68;; - - "has-version_major_prefix") echo -n 69;; - "has-version_micro_prefix") echo -n 70;; - "has-version_minor_prefix") echo -n 71;; - "has-version_nano_prefix") echo -n 72;; - - "has-version_major_prefix-$mode") echo -n 73;; - "has-version_micro_prefix-$mode") echo -n 74;; - "has-version_minor_prefix-$mode") echo -n 75;; - "has-version_nano_prefix-$mode") echo -n 76;; + "build_libraries_shared") echo -n 4;; + "build_libraries_static") echo -n 5;; + "build_script") echo -n 6;; + "build_shared") echo -n 7;; + "build_sources_headers") echo -n 8;; + "build_sources_headers_shared") echo -n 9;; + "build_sources_headers_static") echo -n 10;; + "build_sources_library") echo -n 11;; + "build_sources_library_shared") echo -n 12;; + "build_sources_library_static") echo -n 13;; + "build_sources_program") echo -n 14;; + "build_sources_program_shared") echo -n 15;; + "build_sources_program_static") echo -n 16;; + "build_sources_script") echo -n 17;; + "build_sources_setting") echo -n 18;; + "build_static") echo -n 19;; + "defines") echo -n 20;; + "defines_library") echo -n 21;; + "defines_library_shared") echo -n 22;; + "defines_library_static") echo -n 23;; + "defines_program") echo -n 24;; + "defines_program_shared") echo -n 25;; + "defines_program_static") echo -n 26;; + "defines_shared") echo -n 27;; + "defines_static") echo -n 28;; + "environment") echo -n 29;; + "flags") echo -n 30;; + "flags_library") echo -n 31;; + "flags_library_shared") echo -n 32;; + "flags_library_static") echo -n 33;; + "flags_program") echo -n 34;; + "flags_program_shared") echo -n 35;; + "flags_program_static") echo -n 36;; + "flags_shared") echo -n 37;; + "flags_static") echo -n 38;; + "modes") echo -n 39;; + "modes_default") echo -n 40;; + "path_headers") echo -n 41;; + "path_headers_preserve") echo -n 42;; + "path_language") echo -n 42;; + "path_library_script") echo -n 43;; + "path_library_shared") echo -n 44;; + "path_library_static") echo -n 45;; + "path_program_script") echo -n 46;; + "path_program_shared") echo -n 47;; + "path_program_static") echo -n 48;; + "path_sources") echo -n 50;; + "path_standard") echo -n 51;; + "process_post") echo -n 52;; + "process_pre") echo -n 53;; + "project_name") echo -n 54;; + "search_exclusive") echo -n 55;; + "search_shared") echo -n 56;; + "search_static") echo -n 57;; + "version_file") echo -n 58;; + "version_major") echo -n 59;; + "version_major_prefix") echo -n 60;; + "version_micro") echo -n 61;; + "version_micro_prefix") echo -n 62;; + "version_minor") echo -n 63;; + "version_minor_prefix") echo -n 64;; + "version_nano") echo -n 65;; + "version_nano_prefix") echo -n 66;; + "version_target") echo -n 67;; + + "build_libraries-$mode") echo -n 68;; + "build_libraries_shared-$mode") echo -n 69;; + "build_libraries_static-$mode") echo -n 70;; + "build_sources_headers-$mode") echo -n 71;; + "build_sources_headers_shared-$mode") echo -n 72;; + "build_sources_headers_static-$mode") echo -n 73;; + "build_sources_library-$mode") echo -n 74;; + "build_sources_library_shared-$mode") echo -n 75;; + "build_sources_library_static-$mode") echo -n 76;; + "build_sources_program-$mode") echo -n 77;; + "build_sources_program_shared-$mode") echo -n 78;; + "build_sources_program_static-$mode") echo -n 79;; + "build_sources_script-$mode") echo -n 80;; + "build_sources_setting-$mode") echo -n 81;; + "defines-$mode") echo -n 82;; + "defines_library-$mode") echo -n 83;; + "defines_library_shared-$mode") echo -n 84;; + "defines_library_static-$mode") echo -n 85;; + "defines_program-$mode") echo -n 86;; + "defines_program_shared-$mode") echo -n 87;; + "defines_program_static-$mode") echo -n 88;; + "defines_shared-$mode") echo -n 89;; + "defines_static-$mode") echo -n 90;; + "environment-$mode") echo -n 91;; + "flags-$mode") echo -n 92;; + "flags_library-$mode") echo -n 93;; + "flags_library_shared-$mode") echo -n 94;; + "flags_library_static-$mode") echo -n 95;; + "flags_program-$mode") echo -n 96;; + "flags_program_shared-$mode") echo -n 97;; + "flags_program_static-$mode") echo -n 98;; + "flags_shared-$mode") echo -n 99;; + "flags_static-$mode") echo -n 100;; + + "has-version_major_prefix") echo -n 101;; + "has-version_micro_prefix") echo -n 102;; + "has-version_minor_prefix") echo -n 103;; + "has-version_nano_prefix") echo -n 104;; + + "has-version_major_prefix-$mode") echo -n 105;; + "has-version_micro_prefix-$mode") echo -n 106;; + "has-version_minor_prefix-$mode") echo -n 107;; + "has-version_nano_prefix-$mode") echo -n 108;; esac } @@ -537,7 +569,7 @@ bootstrap_load_settings() { return 1 fi - for i in build_compiler build_indexer build_language build_libraries build_script build_shared build_sources_headers build_sources_library build_sources_program build_sources_script build_sources_setting build_static defines_all defines_library defines_program defines_shared defines_static environment flags_all flags_library flags_program flags_shared flags_static modes modes_default path_headers path_headers_preserve path_language path_library_script path_library_shared path_library_static path_program_script path_program_shared path_program_static path_sources path_standard process_post process_pre project_name search_exclusive search_shared search_static version_major version_major_prefix version_micro version_micro_prefix version_minor version_minor_prefix version_nano version_nano_prefix version_target ; do + for i in build_compiler build_indexer build_language build_libraries build_libraries_shared build_libraries_static build_script build_shared build_sources_headers build_sources_headers_shared build_sources_headers_static build_sources_library build_sources_library_shared build_sources_library_static build_sources_program build_sources_program_shared build_sources_program_static build_sources_script build_sources_setting build_static defines defines_library defines_library_shared defines_library_static defines_program defines_shared defines_program_shared defines_program_static defines_static environment flags flags_library flags_program flags_shared flags_static modes modes_default path_headers path_headers_preserve path_language path_library_script path_library_shared path_library_static path_program_script path_program_shared path_program_static path_sources path_standard process_post process_pre project_name search_exclusive search_shared search_static version_major version_major_prefix version_micro version_micro_prefix version_minor version_minor_prefix version_nano version_nano_prefix version_target ; do variables[$(bootstrap_id $i)]=$(grep -s -o "^[[:space:]]*$i[[:space:]].*\$" $settings_file | sed -e "s|^[[:space:]]*$i\>||" -e 's|^[[:space:]]*||') done } @@ -545,7 +577,7 @@ bootstrap_load_settings() { bootstrap_load_settings_mode() { local i= - for i in build_libraries-$mode build_sources_headers-$mode build_sources_library-$mode build_sources_program-$mode build_sources_script-$mode build_sources_setting-$mode defines_all-$mode defines_library-$mode defines_program-$mode defines_shared-$mode defines_static-$mode environment-$mode flags_all-$mode flags_library-$mode flags_program-$mode flags_shared-$mode flags_static-$mode ; do + for i in build_libraries-$mode build_libraries_shared-$mode build_libraries_static-$mode build_sources_headers-$mode build_sources_headers_shared-$mode build_sources_headers_static-$mode build_sources_library-$mode build_sources_library_shared-$mode build_sources_library_static-$mode build_sources_program-$mode build_sources_program_shared-$mode build_sources_program_static-$mode build_sources_script-$mode build_sources_setting-$mode defines-$mode defines_library-$mode defines_library_shared-$mode defines_library_static-$mode defines_program-$mode defines_program_shared-$mode defines_program_static-$mode defines_shared-$mode defines_static-$mode environment-$mode flags-$mode flags_library-$mode flags_library_shared-$mode flags_library_static-$mode flags_program-$mode flags_program_shared-$mode flags_program_static-$mode flags_shared-$mode flags_static-$mode ; do variables[$(bootstrap_id $i)]=$(grep -s -o "^[[:space:]]*$i[[:space:]].*\$" $settings_file | sed -e "s|^[[:space:]]*$i\>||" -e 's|^[[:space:]]*||') done } @@ -615,20 +647,34 @@ bootstrap_operation_build() { local static=${variables[$(bootstrap_id build_static)]} local sources_headers=${variables[$(bootstrap_id build_sources_headers)]} local sources_library=${variables[$(bootstrap_id build_sources_library)]} + local sources_library_shared=${variables[$(bootstrap_id build_sources_library_shared)]} + local sources_library_static=${variables[$(bootstrap_id build_sources_library_static)]} local sources_program=${variables[$(bootstrap_id build_sources_program)]} + local sources_program_shared=${variables[$(bootstrap_id build_sources_program_shared)]} + local sources_program_static=${variables[$(bootstrap_id build_sources_program_static)]} local sources_script=${variables[$(bootstrap_id build_sources_script)]} local sources_setting=${variables[$(bootstrap_id build_sources_setting)]} local sources= local libraries=${variables[$(bootstrap_id build_libraries)]} + local libraries_shared=${variables[$(bootstrap_id build_libraries_shared)]} + local libraries_static=${variables[$(bootstrap_id build_libraries_static)]} local links= - local defines_all=${variables[$(bootstrap_id defines_all)]} + local defines=${variables[$(bootstrap_id defines)]} local defines_library=${variables[$(bootstrap_id defines_library)]} + local defines_library_shared=${variables[$(bootstrap_id defines_library_shared)]} + local defines_library_static=${variables[$(bootstrap_id defines_library_static)]} local defines_program=${variables[$(bootstrap_id defines_program)]} + local defines_program_shared=${variables[$(bootstrap_id defines_program_shared)]} + local defines_program_static=${variables[$(bootstrap_id defines_program_static)]} local defines_shared=${variables[$(bootstrap_id defines_shared)]} local defines_static=${variables[$(bootstrap_id defines_static)]} - local flags_all=${variables[$(bootstrap_id flags_all)]} + local flags=${variables[$(bootstrap_id flags)]} local flags_library=${variables[$(bootstrap_id flags_library)]} + local flags_library_shared=${variables[$(bootstrap_id flags_library_shared)]} + local flags_library_static=${variables[$(bootstrap_id flags_library_static)]} local flags_program=${variables[$(bootstrap_id flags_program)]} + local flags_program_shared=${variables[$(bootstrap_id flags_program_shared)]} + local flags_program_static=${variables[$(bootstrap_id flags_program_static)]} local flags_shared=${variables[$(bootstrap_id flags_shared)]} local flags_static=${variables[$(bootstrap_id flags_static)]} local i= @@ -687,12 +733,36 @@ bootstrap_operation_build() { sources_library="$sources_library ${variables[$(bootstrap_id build_sources_library-$mode)]}" fi + if [[ $sources_library_shared == "" ]] ; then + sources_library_shared=${variables[$(bootstrap_id build_sources_library_shared-$mode)]} + else + sources_library_shared="$build_sources_library_shared ${variables[$(bootstrap_id build_sources_library_shared-$mode)]}" + fi + + if [[ $sources_library_static == "" ]] ; then + sources_library_static=${variables[$(bootstrap_id build_sources_library_static-$mode)]} + else + sources_library_static="$build_sources_library_static ${variables[$(bootstrap_id build_sources_library_static-$mode)]}" + fi + if [[ $sources_program == "" ]] ; then sources_program=${variables[$(bootstrap_id build_sources_program-$mode)]} else sources_program="$sources_program ${variables[$(bootstrap_id build_sources_program-$mode)]}" fi + if [[ $sources_program_shared == "" ]] ; then + sources_program_shared=${variables[$(bootstrap_id build_sources_program_shared-$mode)]} + else + sources_program_shared="$sources_program_shared ${variables[$(bootstrap_id build_sources_program_shared-$mode)]}" + fi + + if [[ $sources_program_static == "" ]] ; then + sources_program_static=${variables[$(bootstrap_id build_sources_program_static-$mode)]} + else + sources_program_static="$sources_program_static ${variables[$(bootstrap_id build_sources_program_static-$mode)]}" + fi + if [[ $sources_headers == "" ]] ; then sources_headers=${variables[$(bootstrap_id build_sources_headers-$mode)]} else @@ -711,10 +781,22 @@ bootstrap_operation_build() { libraries="${variables[$(bootstrap_id build_libraries-$mode)]} $libraries" fi - if [[ $defines_all == "" ]] ; then - defines_all=${variables[$(bootstrap_id defines_all-$mode)]} + if [[ $libraries_shared == "" ]] ; then + libraries_shared=${variables[$(bootstrap_id build_libraries_shared-$mode)]} + else + libraries_shared="${variables[$(bootstrap_id build_libraries_shared-$mode)]} $libraries_shared" + fi + + if [[ $libraries_static == "" ]] ; then + libraries_static=${variables[$(bootstrap_id build_libraries_static-$mode)]} + else + libraries_static="${variables[$(bootstrap_id build_libraries_static-$mode)]} $libraries_static" + fi + + if [[ $defines == "" ]] ; then + defines=${variables[$(bootstrap_id defines-$mode)]} else - defines_all="$defines_all ${variables[$(bootstrap_id defines_all-$mode)]}" + defines="$defines ${variables[$(bootstrap_id defines-$mode)]}" fi if [[ $defines_library == "" ]] ; then @@ -723,12 +805,36 @@ bootstrap_operation_build() { defines_library="$defines_library ${variables[$(bootstrap_id defines_library-$mode)]}" fi + if [[ $defines_library_shared == "" ]] ; then + defines_library_shared=${variables[$(bootstrap_id defines_library_shared-$mode)]} + else + defines_library_shared="$defines_library_shared ${variables[$(bootstrap_id defines_library_shared-$mode)]}" + fi + + if [[ $defines_library_static == "" ]] ; then + defines_library_static=${variables[$(bootstrap_id defines_library_static-$mode)]} + else + defines_library_static="$defines_library_static ${variables[$(bootstrap_id defines_library_static-$mode)]}" + fi + if [[ $defines_program == "" ]] ; then defines_program=${variables[$(bootstrap_id defines_program-$mode)]} else defines_program="$defines_program ${variables[$(bootstrap_id defines_program-$mode)]}" fi + if [[ $defines_program_shared == "" ]] ; then + defines_program_shared=${variables[$(bootstrap_id defines_program_shared-$mode)]} + else + defines_program_shared="$defines_program_shared ${variables[$(bootstrap_id defines_program_shared-$mode)]}" + fi + + if [[ $defines_program_static == "" ]] ; then + defines_program_static=${variables[$(bootstrap_id defines_program_static-$mode)]} + else + defines_program_static="$defines_program_static ${variables[$(bootstrap_id defines_program_static-$mode)]}" + fi + if [[ $defines_shared == "" ]] ; then defines_shared=${variables[$(bootstrap_id defines_shared-$mode)]} else @@ -741,10 +847,10 @@ bootstrap_operation_build() { defines_static="$defines_static ${variables[$(bootstrap_id defines_static-$mode)]}" fi - if [[ $flags_all == "" ]] ; then - flags_all=${variables[$(bootstrap_id flags_all-$mode)]} + if [[ $flags == "" ]] ; then + flags=${variables[$(bootstrap_id flags-$mode)]} else - flags_all="$flags_all ${variables[$(bootstrap_id flags_all-$mode)]}" + flags="$flags ${variables[$(bootstrap_id flags-$mode)]}" fi if [[ $flags_library == "" ]] ; then @@ -753,12 +859,36 @@ bootstrap_operation_build() { flags_library="$flags_library ${variables[$(bootstrap_id flags_library-$mode)]}" fi + if [[ $flags_library_shared == "" ]] ; then + flags_library_shared=${variables[$(bootstrap_id flags_library_shared-$mode)]} + else + flags_library_shared="$flags_library_shared ${variables[$(bootstrap_id flags_library_shared-$mode)]}" + fi + + if [[ $flags_library_static == "" ]] ; then + flags_library_static=${variables[$(bootstrap_id flags_library_static-$mode)]} + else + flags_library_static="$flags_library_static ${variables[$(bootstrap_id flags_library_static-$mode)]}" + fi + if [[ $flags_program == "" ]] ; then flags_program=${variables[$(bootstrap_id flags_program-$mode)]} else flags_program="$flags_program ${variables[$(bootstrap_id flags_program-$mode)]}" fi + if [[ $flags_program_shared == "" ]] ; then + flags_program_shared=${variables[$(bootstrap_id flags_program_shared-$mode)]} + else + flags_program_shared="$flags_program_shared ${variables[$(bootstrap_id flags_program_shared-$mode)]}" + fi + + if [[ $flags_program_static == "" ]] ; then + flags_program_static=${variables[$(bootstrap_id flags_program_static-$mode)]} + else + flags_program_static="$flags_program_static ${variables[$(bootstrap_id flags_program_static-$mode)]}" + fi + if [[ $flags_shared == "" ]] ; then flags_shared=${variables[$(bootstrap_id flags_shared-$mode)]} else @@ -778,7 +908,7 @@ bootstrap_operation_build() { fi if [[ $defines_override != "" ]] ; then - defines_all="$defines_override" + defines="$defines_override" defines_library= defines_program= defines_shared= @@ -801,6 +931,34 @@ bootstrap_operation_build() { search_static="no" fi + if [[ $shared == "yes" ]] ; then + if [[ $sources_headers == "" ]] ; then + sources_headers=${variables[$(bootstrap_id build_sources_headers_shared)]} + else + sources_headers="$sources_headers ${variables[$(bootstrap_id build_sources_headers_shared)]}" + fi + + if [[ $sources_headers == "" ]] ; then + sources_headers=${variables[$(bootstrap_id build_sources_headers_static)]} + else + sources_headers="$sources_headers ${variables[$(bootstrap_id build_sources_headers_static)]}" + fi + fi + + if [[ $static == "yes" ]] ; then + if [[ $sources_headers == "" ]] ; then + sources_headers=${variables[$(bootstrap_id build_sources_headers_shared-$mode)]} + else + sources_headers="$sources_headers ${variables[$(bootstrap_id build_sources_headers_shared-$mode)]}" + fi + + if [[ $sources_headers == "" ]] ; then + sources_headers=${variables[$(bootstrap_id build_sources_headers_static-$mode)]} + else + sources_headers="$sources_headers ${variables[$(bootstrap_id build_sources_headers_static-$mode)]}" + fi + fi + if [[ $shared != "yes" && $static != "yes" ]] ; then if [[ $verbosity != "quiet" ]] ; then echo -e "${c_error}ERROR: Cannot Build, either build_shared or build_static must be set to 'yes'.$c_reset" @@ -943,17 +1101,17 @@ bootstrap_operation_build() { fi if [[ $failure == "" && $shared == "yes" ]] ; then - if [[ $sources_library != "" ]] ; then + if [[ $sources_library != "" || $sources_library_shared != "" ]] ; then sources= - for i in $sources_library ; do + for i in $sources_library $sources_library_shared ; do sources="$sources$path_c$i " done if [[ $verbosity == "verbose" ]] ; then - echo $compiler $sources -shared -Wl,-soname,lib$name.so.$version_target -o ${path_build}libraries/shared/lib$name.so.$version_file $arguments_shared $arguments_include $libraries $flags_all $flags_shared $flags_library $defines_all $defines_shared $defines_library + echo $compiler $sources -shared -Wl,-soname,lib$name.so.$version_target -o ${path_build}libraries/shared/lib$name.so.$version_file $arguments_shared $arguments_include $libraries $libraries_shared $flags $flags_shared $flags_library $flags_library_shared $defines $defines_shared $defines_library $defines_library_shared fi - $compiler $sources -shared -Wl,-soname,lib$name.so.$version_target -o ${path_build}libraries/shared/lib$name.so.$version_file $arguments_shared $arguments_include $libraries $flags_all $flags_shared $flags_library $defines_all $defines_shared $defines_library || failure=1 + $compiler $sources -shared -Wl,-soname,lib$name.so.$version_target -o ${path_build}libraries/shared/lib$name.so.$version_file $arguments_shared $arguments_include $libraries $libraries_shared $flags $flags_shared $flags_library $flags_library_shared $defines $defines_shared $defines_library $defines_library_shared || failure=1 if [[ $failure == "" ]] ; then if [[ $file != "major" ]] ; then @@ -986,26 +1144,26 @@ bootstrap_operation_build() { sources= links= - if [[ $sources_library != "" ]] ; then + if [[ $sources_library != "" || $sources_library_shared != "" ]] ; then links="-l$name " fi - for i in $sources_program ; do + for i in $sources_program $sources_program_shared ; do sources="$sources$path_c$i " done if [[ $verbosity == "verbose" ]] ; then - echo $compiler $sources -o ${path_build}programs/shared/$name $arguments_shared $arguments_include $links $libraries $flags_all $flags_shared $flags_program $defines_all $defines_shared $defines_program + echo $compiler $sources -o ${path_build}programs/shared/$name $arguments_shared $arguments_include $links $libraries $libraries_shared $flags $flags_shared $flags_program $flags_program_shared $defines $defines_shared $defines_program $defines_program_shared fi - $compiler $sources -o ${path_build}programs/shared/$name $arguments_shared $arguments_include $links $libraries $flags_all $flags_shared $flags_program $defines_all $defines_shared $defines_program || failure=1 + $compiler $sources -o ${path_build}programs/shared/$name $arguments_shared $arguments_include $links $libraries $libraries_shared $flags $flags_shared $flags_program $flags_program_shared $defines $defines_shared $defines_program $defines_program_shared || failure=1 fi fi if [[ $failure == "" && $static == "yes" ]] ; then sources= - if [[ $sources_library != "" ]] ; then - for i in $sources_library ; do + if [[ $sources_library != "" || $sources_library_static != "" ]] ; then + for i in $sources_library $sources_library_static ; do directory=$(dirname $i) n=$(basename $i | sed -e 's|\.c$||') @@ -1021,17 +1179,17 @@ bootstrap_operation_build() { sources="$sources${path_build}objects/$directory/$n.o " if [[ $verbosity == "verbose" ]] ; then - echo $compiler $path_c$i -c -static -o ${path_build}objects/$directory/$n.o $arguments_static $arguments_include $libraries $flags_all $flags_static $flags_library $defines_all $defines_static $defines_library + echo $compiler $path_c$i -c -static -o ${path_build}objects/$directory/$n.o $arguments_static $arguments_include $libraries $libraries_static $flags $flags_static $flags_library $flags_library_static $defines $defines_static $defines_library $defines_library_static fi - $compiler $path_c$i -c -static -o ${path_build}objects/$directory/$n.o $arguments_static $arguments_include $libraries $flags_all $flags_static $flags_library $defines_all $defines_static $defines_library || failure=1 + $compiler $path_c$i -c -static -o ${path_build}objects/$directory/$n.o $arguments_static $arguments_include $libraries $libraries_static $flags $flags_static $flags_library $flags_library_static $defines $defines_static $defines_library $defines_library_static || failure=1 if [[ $failure == "1" ]] ; then break; fi done - if [[ $failure == "" && $sources_library != "" ]] ; then + if [[ $failure == "" && ( $sources_library != "" || $sources_library_static != "" ) ]] ; then if [[ $verbosity == "verbose" ]] ; then echo $indexer rcs ${path_build}libraries/static/lib$name.a $sources @@ -1045,19 +1203,19 @@ bootstrap_operation_build() { sources= links= - if [[ $sources_library != "" ]] ; then + if [[ $sources_library != "" || $sources_library_static != "" ]] ; then links="-l$name " fi - for i in $sources_program ; do + for i in $sources_program $sources_program_static ; do sources="$sources$path_c$i " done if [[ $verbosity == "verbose" ]] ; then - echo $compiler $sources -static -o ${path_build}programs/static/$name $arguments_static $arguments_include $links $libraries $flags_all $flags_static $flags_program $defines_all $defines_static $defines_program + echo $compiler $sources -static -o ${path_build}programs/static/$name $arguments_static $arguments_include $links $libraries $libraries_static $flags $flags_static $flags_program $flags_program_static $defines $defines_static $defines_program $defines_program_static fi - $compiler $sources -static -o ${path_build}programs/static/$name $arguments_static $arguments_include $links $libraries $flags_all $flags_static $flags_program $defines_all $defines_static $defines_program || failure=1 + $compiler $sources -static -o ${path_build}programs/static/$name $arguments_static $arguments_include $links $libraries $libraries_static $flags $flags_static $flags_program $flags_program_static $defines $defines_static $defines_program $defines_program_static || failure=1 fi fi diff --git a/level_0/f_account/data/build/settings b/level_0/f_account/data/build/settings index 1ae9d2a..613cb18 100644 --- a/level_0/f_account/data/build/settings +++ b/level_0/f_account/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string +build_libraries_shared +build_libraries_static build_sources_library account.c private-account.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers account.h account-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_capability/data/build/settings b/level_0/f_capability/data/build/settings index 746ca43..bf0437d 100644 --- a/level_0/f_capability/data/build/settings +++ b/level_0/f_capability/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc -lcap build_libraries-individual -lf_memory -lf_string -lf_type_array +build_libraries_shared +build_libraries_static build_sources_library capability.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers capability.h capability-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,13 +53,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -defines_all -D_libcap_legacy_only_ +#defines -D_di_libcap_ +defines -D_libcap_legacy_only_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_color/data/build/settings b/level_0/f_color/data/build/settings index 750b69e..1f39e83 100644 --- a/level_0/f_color/data/build/settings +++ b/level_0/f_color/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string +build_libraries_shared +build_libraries_static build_sources_library color.c color-common.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers color.h color-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_console/data/build/settings b/level_0/f_console/data/build/settings index 82c2b41..996b967 100644 --- a/level_0/f_console/data/build/settings +++ b/level_0/f_console/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string -lf_type_array -lf_utf +build_libraries_shared +build_libraries_static build_sources_library console.c console-common.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers console.h console-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_control_group/data/build/settings b/level_0/f_control_group/data/build/settings index 2026748..3956123 100644 --- a/level_0/f_control_group/data/build/settings +++ b/level_0/f_control_group/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string +build_libraries_shared +build_libraries_static build_sources_library control_group.c control_group-common.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers control_group.h control_group-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_conversion/data/build/settings b/level_0/f_conversion/data/build/settings index 3d42fe0..0937644 100644 --- a/level_0/f_conversion/data/build/settings +++ b/level_0/f_conversion/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library conversion.c conversion-common.c private-conversion.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers conversion.h conversion-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_directory/data/build/settings b/level_0/f_directory/data/build/settings index f258576..9872503 100644 --- a/level_0/f_directory/data/build/settings +++ b/level_0/f_directory/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string +build_libraries_shared +build_libraries_static build_sources_library directory.c private-directory.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers directory.h directory_type.h directory-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_environment/data/build/settings b/level_0/f_environment/data/build/settings index f619df1..16b2f12 100644 --- a/level_0/f_environment/data/build/settings +++ b/level_0/f_environment/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string +build_libraries_shared +build_libraries_static build_sources_library environment.c private-environment.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers environment.h environment-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_execute/data/build/settings b/level_0/f_execute/data/build/settings index 91e42ab..5f3806f 100644 --- a/level_0/f_execute/data/build/settings +++ b/level_0/f_execute/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string +build_libraries_shared +build_libraries_static build_sources_library execute.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers execute.h execute-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_file/data/build/settings b/level_0/f_file/data/build/settings index 67b2b47..f9ecd31 100644 --- a/level_0/f_file/data/build/settings +++ b/level_0/f_file/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string +build_libraries_shared +build_libraries_static build_sources_library file.c file-common.c private-file.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers file.h file-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_fss/data/build/settings b/level_0/f_fss/data/build/settings index 5bb57ef..522e5d1 100644 --- a/level_0/f_fss/data/build/settings +++ b/level_0/f_fss/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string -lf_type_array -lf_utf +build_libraries_shared +build_libraries_static build_sources_library fss.c private-fss.c fss-common.c fss_named.c fss_nest.c fss_set.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers fss.h fss-common.h fss_comment.h fss_delimit.h fss_named.h fss_nest.h fss_quote.h fss_set.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_iki/data/build/settings b/level_0/f_iki/data/build/settings index 44326c0..2b9113c 100644 --- a/level_0/f_iki/data/build/settings +++ b/level_0/f_iki/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library iki.c iki-common.c private-iki.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers iki.h iki-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_limit/data/build/settings b/level_0/f_limit/data/build/settings index 589b095..bccef77 100644 --- a/level_0/f_limit/data/build/settings +++ b/level_0/f_limit/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory +build_libraries_shared +build_libraries_static build_sources_library limit.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers limit.h limit-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_memory/data/build/settings b/level_0/f_memory/data/build/settings index e83ffdf..b44a2e4 100644 --- a/level_0/f_memory/data/build/settings +++ b/level_0/f_memory/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual +build_libraries_shared +build_libraries_static build_sources_library memory.c memory_structure.c private-memory.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers memory.h memory_structure.h memory-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_path/data/build/settings b/level_0/f_path/data/build/settings index b50eba0..9db1c58 100644 --- a/level_0/f_path/data/build/settings +++ b/level_0/f_path/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string +build_libraries_shared +build_libraries_static build_sources_library path.c path-common.c private-path.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers path.h path-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_pipe/data/build/settings b/level_0/f_pipe/data/build/settings index dd15717..7d28dbc 100644 --- a/level_0/f_pipe/data/build/settings +++ b/level_0/f_pipe/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual +build_libraries_shared +build_libraries_static build_sources_library pipe.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers pipe.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_print/data/build/settings b/level_0/f_print/data/build/settings index b7604ef..7306c0e 100644 --- a/level_0/f_print/data/build/settings +++ b/level_0/f_print/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library print.c print-common.c private-print.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers print.h print-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_serialize/data/build/settings b/level_0/f_serialize/data/build/settings index 9a6b0b3..c1a82b0 100644 --- a/level_0/f_serialize/data/build/settings +++ b/level_0/f_serialize/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library serialize.c serialize-common.c private-serialize.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers serialize.h serialize-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_signal/data/build/settings b/level_0/f_signal/data/build/settings index 9a03054..4e8f8d3 100644 --- a/level_0/f_signal/data/build/settings +++ b/level_0/f_signal/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual +build_libraries_shared +build_libraries_static build_sources_library signal.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers signal.h signal-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_socket/data/build/settings b/level_0/f_socket/data/build/settings index f763f58..13915ef 100644 --- a/level_0/f_socket/data/build/settings +++ b/level_0/f_socket/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string +build_libraries_shared +build_libraries_static build_sources_library socket.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers socket.h socket-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_status/data/build/settings b/level_0/f_status/data/build/settings index e809fe4..76b377b 100644 --- a/level_0/f_status/data/build/settings +++ b/level_0/f_status/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual +build_libraries_shared +build_libraries_static build_sources_library +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers status.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_string/data/build/settings b/level_0/f_string/data/build/settings index 3fae76e..5e5b252 100644 --- a/level_0/f_string/data/build/settings +++ b/level_0/f_string/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory +build_libraries_shared +build_libraries_static build_sources_library string.c string-common.c private-string.c string_dynamic.c string_map.c string_quantity.c string_range.c string_triple.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers string.h string-common.h string_dynamic.h string_map.h string_quantity.h string_range.h string_triple.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_thread/data/build/settings b/level_0/f_thread/data/build/settings index 1131cfb..43918fb 100644 --- a/level_0/f_thread/data/build/settings +++ b/level_0/f_thread/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -pthread -lc build_libraries-individual -lf_memory -lf_string +build_libraries_shared +build_libraries_static build_sources_library thread.c private-thread.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers thread.h thread-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_type/data/build/settings b/level_0/f_type/data/build/settings index f12539a..83b4c83 100644 --- a/level_0/f_type/data/build/settings +++ b/level_0/f_type/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual +build_libraries_shared +build_libraries_static build_sources_library +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers type.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_type_array/data/build/settings b/level_0/f_type_array/data/build/settings index d2ae9e4..ecca8c1 100644 --- a/level_0/f_type_array/data/build/settings +++ b/level_0/f_type_array/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory +build_libraries_shared +build_libraries_static build_sources_library type_array.c private-type_array.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers type_array.h type_array-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_0/f_utf/data/build/settings b/level_0/f_utf/data/build/settings index d0ee393..03a13d8 100644 --- a/level_0/f_utf/data/build/settings +++ b/level_0/f_utf/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string +build_libraries_shared +build_libraries_static build_sources_library utf.c utf-common.c private-utf.c utf_dynamic.c utf_map.c utf_triple.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers utf.h utf-common.h utf_dynamic.h utf_map.h utf_triple.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_1/fl_console/data/build/settings b/level_1/fl_console/data/build/settings index 6bae735..66630f3 100644 --- a/level_1/fl_console/data/build/settings +++ b/level_1/fl_console/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_console -lf_conversion -lf_memory -lf_path -lf_string -lf_type_array -lf_utf +build_libraries_shared +build_libraries_static build_sources_library console.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers console.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_1/fl_control_group/data/build/settings b/level_1/fl_control_group/data/build/settings index 048423d..fd66d2f 100644 --- a/level_1/fl_control_group/data/build/settings +++ b/level_1/fl_control_group/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_control_group -lf_file -lf_memory -lf_string +build_libraries_shared +build_libraries_static build_sources_library control_group.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers control_group.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_1/fl_conversion/data/build/settings b/level_1/fl_conversion/data/build/settings index 604204a..96ee9e3 100644 --- a/level_1/fl_conversion/data/build/settings +++ b/level_1/fl_conversion/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_conversion -lf_memory -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library conversion.c private-conversion.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers conversion.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_1/fl_directory/data/build/settings b/level_1/fl_directory/data/build/settings index cc81ff6..0da69eb 100644 --- a/level_1/fl_directory/data/build/settings +++ b/level_1/fl_directory/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_directory -lf_file -lf_memory -lf_path -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library directory.c private-directory.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers directory.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_1/fl_environment/data/build/settings b/level_1/fl_environment/data/build/settings index 6057848..0ad28e6 100644 --- a/level_1/fl_environment/data/build/settings +++ b/level_1/fl_environment/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_environment -lf_memory -lf_path -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library environment.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers environment.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_1/fl_execute/data/build/settings b/level_1/fl_execute/data/build/settings index 16a2498..5b024c1 100644 --- a/level_1/fl_execute/data/build/settings +++ b/level_1/fl_execute/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc -lcap build_libraries-individual -lf_capability -lf_execute -lf_limit -lf_memory -lf_signal -lf_string -lf_type_array +build_libraries_shared +build_libraries_static build_sources_library +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers execute.h execute-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,13 +53,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -defines_all -D_libcap_legacy_only_ +#defines -D_di_libcap_ +defines -D_libcap_legacy_only_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_1/fl_fss/data/build/settings b/level_1/fl_fss/data/build/settings index 74f8ba9..2a5c832 100644 --- a/level_1/fl_fss/data/build/settings +++ b/level_1/fl_fss/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_file -lf_fss -lf_memory -lf_string -lf_type_array -lf_utf +build_libraries_shared +build_libraries_static build_sources_library private-fss.c fss_basic.c fss_basic_list.c fss_embedded_list.c fss_extended.c fss_extended_list.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers fss.h fss_basic.h fss_basic_list.h fss_embedded_list.h fss_extended.h fss_extended_list.h fss_status.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_1/fl_iki/data/build/settings b/level_1/fl_iki/data/build/settings index a5f431f..382c2e5 100644 --- a/level_1/fl_iki/data/build/settings +++ b/level_1/fl_iki/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_iki -lf_memory -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library iki.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers iki.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_1/fl_print/data/build/settings b/level_1/fl_print/data/build/settings index a88a408..1ddf663 100644 --- a/level_1/fl_print/data/build/settings +++ b/level_1/fl_print/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_color -lf_conversion -lf_file -lf_memory -lf_print -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library print.c print-common.c private-print.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers print.h print-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_1/fl_signal/data/build/settings b/level_1/fl_signal/data/build/settings index 0b704eb..f8a7105 100644 --- a/level_1/fl_signal/data/build/settings +++ b/level_1/fl_signal/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_signal +build_libraries_shared +build_libraries_static build_sources_library signal.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers signal.h signal-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_1/fl_status/data/build/settings b/level_1/fl_status/data/build/settings index a158b81..f405af5 100644 --- a/level_1/fl_status/data/build/settings +++ b/level_1/fl_status/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library status.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers status.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_1/fl_string/data/build/settings b/level_1/fl_string/data/build/settings index 96b9709..a2042f5 100644 --- a/level_1/fl_string/data/build/settings +++ b/level_1/fl_string/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library string.c private-string.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers string.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_1/fl_utf/data/build/settings b/level_1/fl_utf/data/build/settings index 6e15f9c..524ab53 100644 --- a/level_1/fl_utf/data/build/settings +++ b/level_1/fl_utf/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library utf.c private-utf.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers utf.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_1/fl_utf_file/data/build/settings b/level_1/fl_utf_file/data/build/settings index d63a53c..145721a 100644 --- a/level_1/fl_utf_file/data/build/settings +++ b/level_1/fl_utf_file/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_file -lf_memory -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library utf_file.c private-utf_file.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers utf_file.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_2/fll_control_group/data/build/settings b/level_2/fll_control_group/data/build/settings index aa12e0c..5b124b6 100644 --- a/level_2/fll_control_group/data/build/settings +++ b/level_2/fll_control_group/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lfl_control_group -lfl_directory -lf_control_group -lf_directory -lf_file -lf_memory -lf_path -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library control_group.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers control_group.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_2/fll_error/data/build/settings b/level_2/fll_error/data/build/settings index de42e30..8f9c298 100644 --- a/level_2/fll_error/data/build/settings +++ b/level_2/fll_error/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lfl_print -lf_color -lf_console -lf_conversion -lf_file -lf_memory -lf_print -lf_string -lf_type_array -lf_utf +build_libraries_shared +build_libraries_static build_sources_library error.c error-common.c private-error.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers error.h error-common.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_2/fll_execute/data/build/settings b/level_2/fll_execute/data/build/settings index d895a10..7814f2c 100644 --- a/level_2/fll_execute/data/build/settings +++ b/level_2/fll_execute/data/build/settings @@ -22,9 +22,17 @@ build_language c build_libraries -lc -lcap build_libraries-individual -lfl_control_group -lfl_environment -lf_account -lf_capability -lf_control_group -lf_environment -lf_execute -lf_file -lf_limit -lf_memory -lf_path -lf_signal -lf_string -lf_thread -lf_type_array -lf_utf build_libraries-individual_threadless -lfl_control_group -lfl_environment -lf_account -lf_capability -lf_control_group -lf_environment -lf_execute -lf_file -lf_limit -lf_memory -lf_path -lf_signal -lf_string -lf_type_array -lf_utf +build_libraries_shared +build_libraries_static build_sources_library execute.c private-execute.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers execute.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -46,15 +54,31 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ -defines_all-individual_threadless -D_di_pthread_support_ +#defines -D_di_libcap_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines-individual_threadless -D_di_pthread_support_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_all-individual -pthread -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses +flags-individual -pthread +flags_library -fPIC +flags_library_shared +flags_library_static +flags_program -fPIE +flags_program_shared +flags_program_static flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_2/fll_file/data/build/settings b/level_2/fll_file/data/build/settings index ea756f5..4a2e71d 100644 --- a/level_2/fll_file/data/build/settings +++ b/level_2/fll_file/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lfl_directory -lf_color -lf_directory -lf_file -lf_memory -lf_path -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library file.c private-file.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers file.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_2/fll_fss/data/build/settings b/level_2/fll_fss/data/build/settings index 5a87f24..1bf1caa 100644 --- a/level_2/fll_fss/data/build/settings +++ b/level_2/fll_fss/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lfl_conversion -lfl_fss -lfl_status -lfl_string -lf_conversion -lf_file -lf_fss -lf_memory -lf_string -lf_type_array -lf_utf +build_libraries_shared +build_libraries_static build_sources_library fss.c private-fss.c fss_basic.c fss_basic_list.c fss_embedded_list.c fss_extended.c fss_extended_list.c fss_status.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers fss.h fss_basic.h fss_basic_list.h fss_embedded_list.h fss_extended.h fss_extended_list.h fss_status.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_2/fll_iki/data/build/settings b/level_2/fll_iki/data/build/settings index a353f7f..a47bf0b 100644 --- a/level_2/fll_iki/data/build/settings +++ b/level_2/fll_iki/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lfl_iki -lf_iki -lf_memory -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library iki.c private-iki.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers iki.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_2/fll_path/data/build/settings b/level_2/fll_path/data/build/settings index 010ee61..cba534f 100644 --- a/level_2/fll_path/data/build/settings +++ b/level_2/fll_path/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lf_memory -lf_path -lf_string +build_libraries_shared +build_libraries_static build_sources_library path.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers path.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_2/fll_print/data/build/settings b/level_2/fll_print/data/build/settings index 9444cea..7a03edf 100644 --- a/level_2/fll_print/data/build/settings +++ b/level_2/fll_print/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lfl_print -lf_color -lf_conversion -lf_file -lf_memory -lf_print -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library print.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers print.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_2/fll_program/data/build/settings b/level_2/fll_program/data/build/settings index 6ad11be..d7863b0 100644 --- a/level_2/fll_program/data/build/settings +++ b/level_2/fll_program/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lfl_print -lfl_string -lf_color -lf_console -lf_conversion -lf_file -lf_memory -lf_print -lf_string -lf_type_array -lf_utf +build_libraries_shared +build_libraries_static build_sources_library program.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers program.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_2/fll_status/data/build/settings b/level_2/fll_status/data/build/settings index f718339..f463d14 100644 --- a/level_2/fll_status/data/build/settings +++ b/level_2/fll_status/data/build/settings @@ -21,9 +21,17 @@ build_indexer ar build_language c build_libraries -lc build_libraries-individual -lfl_status -lfl_string -lf_conversion -lf_memory -lf_string -lf_utf +build_libraries_shared +build_libraries_static build_sources_library status.c +build_sources_library_shared +build_sources_library_static build_sources_program +build_sources_program_shared +build_sources_program_static build_sources_headers status.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -45,12 +53,22 @@ search_exclusive yes search_shared yes search_static yes -defines_all +defines +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/byte_dump/data/build/settings b/level_3/byte_dump/data/build/settings index 86a2cee..bd0cae8 100644 --- a/level_3/byte_dump/data/build/settings +++ b/level_3/byte_dump/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_print -lfll_program -lfl_console -lfl_conversion -lfl_print -lfl_string -lf_color -lf_console -lf_conversion -lf_file -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library byte_dump.c private-common.c private-byte_dump.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers byte_dump.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/control/data/build/settings b/level_3/control/data/build/settings index e2e445f..cd4ea4c 100644 --- a/level_3/control/data/build/settings +++ b/level_3/control/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_print -lfll_program -lfl_console -lfl_print -lfl_string -lf_color -lf_console -lf_conversion -lf_file -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library control.c private-common.c private-control.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers control.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/controller/data/build/settings b/level_3/controller/data/build/settings index 3715a1a..11a71d8 100644 --- a/level_3/controller/data/build/settings +++ b/level_3/controller/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc -lcap build_libraries-individual -lfll_control_group -lfll_error -lfll_execute -lfll_fss -lfll_path -lfll_print -lfll_program -lfl_console -lfl_control_group -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_iki -lfl_print -lfl_status -lfl_string -lf_account -lf_capability -lf_color -lf_console -lf_control_group -lf_conversion -lf_directory -lf_environment -lf_execute -lf_file -lf_fss -lf_iki -lf_limit -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_string -lf_thread -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library controller.c private-common.c private-control.c private-controller.c private-entry.c private-rule.c private-thread.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers controller.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting entries example rules build_script yes @@ -47,14 +55,24 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ -defines_all-as_init -D_controller_as_init_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines-as_init -D_controller_as_init_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -pthread -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -pthread -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/fake/c/private-build.c b/level_3/fake/c/private-build.c index 22834b8..a5c3ca9 100644 --- a/level_3/fake/c/private-build.c +++ b/level_3/fake/c/private-build.c @@ -101,27 +101,67 @@ extern "C" { *status = fll_execute_arguments_add(data_build.setting.build_libraries.array[i].string, data_build.setting.build_libraries.array[i].used, arguments); } // for - for (i = 0; i < data_build.setting.flags_all.used && F_status_is_error_not(*status); ++i) { - *status = fll_execute_arguments_add(data_build.setting.flags_all.array[i].string, data_build.setting.flags_all.array[i].used, arguments); - } // for + if (is_shared) { + for (i = 0; i < data_build.setting.build_libraries_shared.used && F_status_is_error_not(*status); ++i) { + *status = fll_execute_arguments_add(data_build.setting.build_libraries_shared.array[i].string, data_build.setting.build_libraries_shared.array[i].used, arguments); + } // for + } + else { + for (i = 0; i < data_build.setting.build_libraries_static.used && F_status_is_error_not(*status); ++i) { + *status = fll_execute_arguments_add(data_build.setting.build_libraries_static.array[i].string, data_build.setting.build_libraries_static.array[i].used, arguments); + } // for + } - for (i = 0; i < data_build.setting.flags_shared.used && F_status_is_error_not(*status); ++i) { - *status = fll_execute_arguments_add(data_build.setting.flags_shared.array[i].string, data_build.setting.flags_shared.array[i].used, arguments); + for (i = 0; i < data_build.setting.flags.used && F_status_is_error_not(*status); ++i) { + *status = fll_execute_arguments_add(data_build.setting.flags.array[i].string, data_build.setting.flags.array[i].used, arguments); } // for + if (is_shared) { + for (i = 0; i < data_build.setting.flags_shared.used && F_status_is_error_not(*status); ++i) { + *status = fll_execute_arguments_add(data_build.setting.flags_shared.array[i].string, data_build.setting.flags_shared.array[i].used, arguments); + } // for + } + else { + for (i = 0; i < data_build.setting.flags_static.used && F_status_is_error_not(*status); ++i) { + *status = fll_execute_arguments_add(data_build.setting.flags_static.array[i].string, data_build.setting.flags_static.array[i].used, arguments); + } // for + } + if (is_library) { for (i = 0; i < data_build.setting.flags_library.used && F_status_is_error_not(*status); ++i) { *status = fll_execute_arguments_add(data_build.setting.flags_library.array[i].string, data_build.setting.flags_library.array[i].used, arguments); } // for + + if (is_shared) { + for (i = 0; i < data_build.setting.flags_library_shared.used && F_status_is_error_not(*status); ++i) { + *status = fll_execute_arguments_add(data_build.setting.flags_library_shared.array[i].string, data_build.setting.flags_library_shared.array[i].used, arguments); + } // for + } + else { + for (i = 0; i < data_build.setting.flags_library_static.used && F_status_is_error_not(*status); ++i) { + *status = fll_execute_arguments_add(data_build.setting.flags_library_static.array[i].string, data_build.setting.flags_library_static.array[i].used, arguments); + } // for + } } else { for (i = 0; i < data_build.setting.flags_program.used && F_status_is_error_not(*status); ++i) { *status = fll_execute_arguments_add(data_build.setting.flags_program.array[i].string, data_build.setting.flags_program.array[i].used, arguments); } // for + + if (is_shared) { + for (i = 0; i < data_build.setting.flags_program_shared.used && F_status_is_error_not(*status); ++i) { + *status = fll_execute_arguments_add(data_build.setting.flags_program_shared.array[i].string, data_build.setting.flags_program_shared.array[i].used, arguments); + } // for + } + else { + for (i = 0; i < data_build.setting.flags_program_static.used && F_status_is_error_not(*status); ++i) { + *status = fll_execute_arguments_add(data_build.setting.flags_program_static.array[i].string, data_build.setting.flags_program_static.array[i].used, arguments); + } // for + } } - for (i = 0; i < data_build.setting.defines_all.used && F_status_is_error_not(*status); ++i) { - *status = fll_execute_arguments_add(data_build.setting.defines_all.array[i].string, data_build.setting.defines_all.array[i].used, arguments); + for (i = 0; i < data_build.setting.defines.used && F_status_is_error_not(*status); ++i) { + *status = fll_execute_arguments_add(data_build.setting.defines.array[i].string, data_build.setting.defines.array[i].used, arguments); } // for if (is_shared) { @@ -139,11 +179,33 @@ extern "C" { for (i = 0; i < data_build.setting.defines_library.used && F_status_is_error_not(*status); ++i) { *status = fll_execute_arguments_add(data_build.setting.defines_library.array[i].string, data_build.setting.defines_library.array[i].used, arguments); } // for + + if (is_shared) { + for (i = 0; i < data_build.setting.defines_library_shared.used && F_status_is_error_not(*status); ++i) { + *status = fll_execute_arguments_add(data_build.setting.defines_library_shared.array[i].string, data_build.setting.defines_library_shared.array[i].used, arguments); + } // for + } + else { + for (i = 0; i < data_build.setting.defines_library_static.used && F_status_is_error_not(*status); ++i) { + *status = fll_execute_arguments_add(data_build.setting.defines_library_static.array[i].string, data_build.setting.defines_library_static.array[i].used, arguments); + } // for + } } else { for (i = 0; i < data_build.setting.defines_program.used && F_status_is_error_not(*status); ++i) { *status = fll_execute_arguments_add(data_build.setting.defines_program.array[i].string, data_build.setting.defines_program.array[i].used, arguments); } // for + + if (is_shared) { + for (i = 0; i < data_build.setting.defines_program_shared.used && F_status_is_error_not(*status); ++i) { + *status = fll_execute_arguments_add(data_build.setting.defines_program_shared.array[i].string, data_build.setting.defines_program_shared.array[i].used, arguments); + } // for + } + else { + for (i = 0; i < data_build.setting.defines_program_static.used && F_status_is_error_not(*status); ++i) { + *status = fll_execute_arguments_add(data_build.setting.defines_program_static.array[i].string, data_build.setting.defines_program_static.array[i].used, arguments); + } // for + } } for (i = 0; i < main.define.used && F_status_is_error_not(*status); ++i) { @@ -799,19 +861,31 @@ extern "C" { path_sources = &data_build.setting.path_sources; } + f_array_length_t i = 0; + f_array_length_t j = 0; f_array_length_t source_length = 0; - for (f_array_length_t i = 0; i < data_build.setting.build_sources_library.used; ++i) { + const f_string_dynamics_t *sources[2] = { + &data_build.setting.build_sources_library, + &data_build.setting.build_sources_library_shared, + }; + + for (; i < 2; ++i) { - source_length = path_sources->used + data_build.setting.build_sources_library.array[i].used; + for (j = 0; j < sources[i]->used; ++j) { - char source[source_length + 1]; + source_length = path_sources->used + sources[i]->array[j].used; - memcpy(source, path_sources->string, path_sources->used); - memcpy(source + path_sources->used, data_build.setting.build_sources_library.array[i].string, data_build.setting.build_sources_library.array[i].used); - source[source_length] = 0; + char source[source_length + 1]; + + memcpy(source, path_sources->string, path_sources->used); + memcpy(source + path_sources->used, sources[i]->array[j].string, sources[i]->array[j].used); + source[source_length] = 0; + + *status = fll_execute_arguments_add(source, source_length, &arguments); + if (F_status_is_error(*status)) break; + } // for - *status = fll_execute_arguments_add(source, source_length, &arguments); if (F_status_is_error(*status)) break; } // for @@ -1103,7 +1177,6 @@ extern "C" { } if (parameter_file_name_major_length) { - f_array_length_t parameter_file_path_length = main.path_build_libraries_shared.used + parameter_file_name_length; char parameter_file_path[parameter_file_path_length + 1]; @@ -1292,78 +1365,89 @@ extern "C" { if (F_status_is_error_not(*status)) { f_array_length_t source_length = 0; - for (f_array_length_t i = 0; i < data_build.setting.build_sources_library.used; ++i) { - - source_path.used = 0; + const f_string_dynamics_t *sources[2] = { + &data_build.setting.build_sources_library, + &data_build.setting.build_sources_library_static, + }; - *status = fake_build_get_file_name_without_extension(main, data_build.setting.build_sources_library.array[i], &file_name); + f_array_length_t i = 0; + f_array_length_t j = 0; - if (F_status_is_error(*status)) { - fll_error_print(main.error, F_status_set_fine(*status), "fake_build_get_file_name_without_extension", F_true); - break; - } + for (; i < 2; ++i) { - if (fake_signal_received(main)) { - *status = F_status_set_error(F_signal); - break; - } + for (j = 0; j < sources[i]->used; ++j) { - *status = f_file_name_directory(data_build.setting.build_sources_library.array[i].string, data_build.setting.build_sources_library.array[i].used, &source_path); + source_path.used = 0; - if (F_status_is_error(*status)) { - fll_error_print(main.error, F_status_set_fine(*status), "f_file_name_directory", F_true); - break; - } - - if (source_path.used) { - *status = f_string_dynamic_prepend(main.path_build_objects, &source_path); + *status = fake_build_get_file_name_without_extension(main, sources[i]->array[j], &file_name); if (F_status_is_error(*status)) { - fll_error_print(main.error, F_status_set_fine(*status), "f_string_dynamic_prepend", F_true); + fll_error_print(main.error, F_status_set_fine(*status), "fake_build_get_file_name_without_extension", F_true); break; } - *status = f_string_append_assure(f_path_separator_s, F_path_separator_s_length, &source_path); - - if (F_status_is_error(*status)) { - fll_error_print(main.error, F_status_set_fine(*status), "f_string_append_assure", F_true); + if (fake_signal_received(main)) { + *status = F_status_set_error(F_signal); break; } - *status = f_string_dynamic_terminate_after(&source_path); + *status = f_file_name_directory(sources[i]->array[j].string, sources[i]->array[j].used, &source_path); if (F_status_is_error(*status)) { - fll_error_print(main.error, F_status_set_fine(*status), "f_string_dynamic_terminate_after", F_true); + fll_error_print(main.error, F_status_set_fine(*status), "f_file_name_directory", F_true); break; } - source_length = source_path.used + file_name.used + fake_build_parameter_object_name_suffix_s_length; - } - else { - source_length = main.path_build_objects.used + file_name.used + fake_build_parameter_object_name_suffix_s_length; - } + if (source_path.used) { + *status = f_string_dynamic_prepend(main.path_build_objects, &source_path); - char source[source_length + 1]; + if (F_status_is_error(*status)) { + fll_error_print(main.error, F_status_set_fine(*status), "f_string_dynamic_prepend", F_true); + break; + } - if (source_path.used) { - memcpy(source, source_path.string, source_path.used); - memcpy(source + source_path.used, file_name.string, file_name.used); - memcpy(source + source_path.used + file_name.used, fake_build_parameter_object_name_suffix_s, fake_build_parameter_object_name_suffix_s_length); - } - else { - memcpy(source, main.path_build_objects.string, main.path_build_objects.used); - memcpy(source + main.path_build_objects.used, file_name.string, file_name.used); - memcpy(source + main.path_build_objects.used + file_name.used, fake_build_parameter_object_name_suffix_s, fake_build_parameter_object_name_suffix_s_length); - } + *status = f_string_append_assure(f_path_separator_s, F_path_separator_s_length, &source_path); - source[source_length] = 0; + if (F_status_is_error(*status)) { + fll_error_print(main.error, F_status_set_fine(*status), "f_string_append_assure", F_true); + break; + } - *status = fll_execute_arguments_add(source, source_length, &arguments); + *status = f_string_dynamic_terminate_after(&source_path); - if (F_status_is_error(*status)) { - fll_error_print(main.error, F_status_set_fine(*status), "fll_execute_arguments_add", F_true); - break; - } + if (F_status_is_error(*status)) { + fll_error_print(main.error, F_status_set_fine(*status), "f_string_dynamic_terminate_after", F_true); + break; + } + + source_length = source_path.used + file_name.used + fake_build_parameter_object_name_suffix_s_length; + } + else { + source_length = main.path_build_objects.used + file_name.used + fake_build_parameter_object_name_suffix_s_length; + } + + char source[source_length + 1]; + + if (source_path.used) { + memcpy(source, source_path.string, source_path.used); + memcpy(source + source_path.used, file_name.string, file_name.used); + memcpy(source + source_path.used + file_name.used, fake_build_parameter_object_name_suffix_s, fake_build_parameter_object_name_suffix_s_length); + } + else { + memcpy(source, main.path_build_objects.string, main.path_build_objects.used); + memcpy(source + main.path_build_objects.used, file_name.string, file_name.used); + memcpy(source + main.path_build_objects.used + file_name.used, fake_build_parameter_object_name_suffix_s, fake_build_parameter_object_name_suffix_s_length); + } + + source[source_length] = 0; + + *status = fll_execute_arguments_add(source, source_length, &arguments); + + if (F_status_is_error(*status)) { + fll_error_print(main.error, F_status_set_fine(*status), "fll_execute_arguments_add", F_true); + break; + } + } // for } // for } @@ -1609,23 +1693,39 @@ extern "C" { fake_build_setting_name_build_indexer_s, fake_build_setting_name_build_language_s, fake_build_setting_name_build_libraries_s, + fake_build_setting_name_build_libraries_shared_s, + fake_build_setting_name_build_libraries_static_s, fake_build_setting_name_build_script_s, fake_build_setting_name_build_shared_s, fake_build_setting_name_build_sources_headers_s, + fake_build_setting_name_build_sources_headers_shared_s, + fake_build_setting_name_build_sources_headers_static_s, fake_build_setting_name_build_sources_library_s, + fake_build_setting_name_build_sources_library_shared_s, + fake_build_setting_name_build_sources_library_static_s, fake_build_setting_name_build_sources_program_s, + fake_build_setting_name_build_sources_program_shared_s, + fake_build_setting_name_build_sources_program_static_s, fake_build_setting_name_build_sources_script_s, fake_build_setting_name_build_sources_settings_s, fake_build_setting_name_build_static_s, - fake_build_setting_name_defines_all_s, + fake_build_setting_name_defines_s, fake_build_setting_name_defines_library_s, + fake_build_setting_name_defines_library_shared_s, + fake_build_setting_name_defines_library_static_s, fake_build_setting_name_defines_program_s, + fake_build_setting_name_defines_program_shared_s, + fake_build_setting_name_defines_program_static_s, fake_build_setting_name_defines_shared_s, fake_build_setting_name_defines_static_s, fake_build_setting_name_environment_s, - fake_build_setting_name_flags_all_s, + fake_build_setting_name_flags_s, fake_build_setting_name_flags_library_s, + fake_build_setting_name_flags_library_shared_s, + fake_build_setting_name_flags_library_static_s, fake_build_setting_name_flags_program_s, + fake_build_setting_name_flags_program_shared_s, + fake_build_setting_name_flags_program_static_s, fake_build_setting_name_flags_shared_s, fake_build_setting_name_flags_static_s, fake_build_setting_name_modes_s, @@ -1664,23 +1764,39 @@ extern "C" { fake_build_setting_name_build_indexer_s_length, fake_build_setting_name_build_language_s_length, fake_build_setting_name_build_libraries_s_length, + fake_build_setting_name_build_libraries_shared_s_length, + fake_build_setting_name_build_libraries_static_s_length, fake_build_setting_name_build_script_s_length, fake_build_setting_name_build_shared_s_length, fake_build_setting_name_build_sources_headers_s_length, + fake_build_setting_name_build_sources_headers_shared_s_length, + fake_build_setting_name_build_sources_headers_static_s_length, fake_build_setting_name_build_sources_library_s_length, + fake_build_setting_name_build_sources_library_shared_s_length, + fake_build_setting_name_build_sources_library_static_s_length, fake_build_setting_name_build_sources_program_s_length, + fake_build_setting_name_build_sources_program_shared_s_length, + fake_build_setting_name_build_sources_program_static_s_length, fake_build_setting_name_build_sources_script_s_length, fake_build_setting_name_build_sources_settings_s_length, fake_build_setting_name_build_static_s_length, - fake_build_setting_name_defines_all_s_length, + fake_build_setting_name_defines_s_length, fake_build_setting_name_defines_library_s_length, + fake_build_setting_name_defines_library_shared_s_length, + fake_build_setting_name_defines_library_static_s_length, fake_build_setting_name_defines_program_s_length, + fake_build_setting_name_defines_program_shared_s_length, + fake_build_setting_name_defines_program_static_s_length, fake_build_setting_name_defines_shared_s_length, fake_build_setting_name_defines_static_s_length, fake_build_setting_name_environment_length_s, - fake_build_setting_name_flags_all_s_length, + fake_build_setting_name_flags_s_length, fake_build_setting_name_flags_library_s_length, + fake_build_setting_name_flags_library_shared_s_length, + fake_build_setting_name_flags_library_static_s_length, fake_build_setting_name_flags_program_s_length, + fake_build_setting_name_flags_program_shared_s_length, + fake_build_setting_name_flags_program_static_s_length, fake_build_setting_name_flags_shared_s_length, fake_build_setting_name_flags_static_s_length, fake_build_setting_name_modes_s_length, @@ -1719,23 +1835,39 @@ extern "C" { &build_indexer, &build_language, &setting->build_libraries, + &setting->build_libraries_shared, + &setting->build_libraries_static, &build_script, &build_shared, &setting->build_sources_headers, + &setting->build_sources_headers_shared, + &setting->build_sources_headers_static, &setting->build_sources_library, + &setting->build_sources_library_shared, + &setting->build_sources_library_static, &setting->build_sources_program, + &setting->build_sources_program_shared, + &setting->build_sources_program_static, &setting->build_sources_script, &setting->build_sources_setting, &build_static, - &setting->defines_all, + &setting->defines, &setting->defines_library, + &setting->defines_library_shared, + &setting->defines_library_static, &setting->defines_program, + &setting->defines_program_shared, + &setting->defines_program_static, &setting->defines_shared, &setting->defines_static, &setting->environment, - &setting->flags_all, + &setting->flags, &setting->flags_library, + &setting->flags_library_shared, + &setting->flags_library_static, &setting->flags_program, + &setting->flags_program_shared, + &setting->flags_program_static, &setting->flags_shared, &setting->flags_static, &setting->modes, @@ -1822,6 +1954,22 @@ extern "C" { F_false, F_false, F_false, + F_false, + F_false, + F_false, + F_false, + F_false, + F_false, + F_false, + F_false, + F_false, + F_false, + F_false, + F_false, + F_false, + F_false, + F_false, + F_false, }; f_string_t function = "fll_fss_snatch_apart"; @@ -2449,10 +2597,10 @@ extern "C" { }; bool has_prefix_object[] = { - settings_matches[44], // version_major_prefix - settings_matches[46], // version_minor_prefix - settings_matches[48], // version_micro_prefix - settings_matches[50], // version_nano_prefix + settings_matches[60], // version_major_prefix + settings_matches[62], // version_minor_prefix + settings_matches[64], // version_micro_prefix + settings_matches[66], // version_nano_prefix }; const char *name_target[] = { @@ -2882,163 +3030,177 @@ extern "C" { path_sources = &data_build.setting.path_sources; } - for (f_array_length_t i = 0; i < data_build.setting.build_sources_library.used; ++i) { - - file_name.used = 0; - destination_path.used = 0; - - source_length = path_sources->used + data_build.setting.build_sources_library.array[i].used; + const f_string_dynamics_t *sources[2] = { + &data_build.setting.build_sources_library, + &data_build.setting.build_sources_library_static, + }; - char source[source_length + 1]; + f_array_length_t i = 0; + f_array_length_t j = 0; + uint8_t k = 0; - memcpy(source, path_sources->string, path_sources->used); - memcpy(source + path_sources->used, data_build.setting.build_sources_library.array[i].string, data_build.setting.build_sources_library.array[i].used); - source[source_length] = 0; + for (i = 0; i < 2; ++i) { - *status = fake_build_get_file_name_without_extension(main, data_build.setting.build_sources_library.array[i], &file_name); + for (j = 0; j < sources[i]->used; ++j) { - if (F_status_is_error(*status)) { - fll_error_print(main.error, F_status_set_fine(*status), "fake_build_get_file_name_without_extension", F_true); - break; - } + file_name.used = 0; + destination_path.used = 0; - if (fake_signal_received(main)) { - *status = F_status_set_error(F_signal); - break; - } + source_length = path_sources->used + sources[i]->array[j].used; - *status = f_file_name_directory(data_build.setting.build_sources_library.array[i].string, data_build.setting.build_sources_library.array[i].used, &destination_path); + char source[source_length + 1]; - if (F_status_is_error(*status)) { - fll_error_print(main.error, F_status_set_fine(*status), "f_file_name_directory", F_true); - break; - } + memcpy(source, path_sources->string, path_sources->used); + memcpy(source + path_sources->used, sources[i]->array[j].string, sources[i]->array[j].used); + source[source_length] = 0; - if (destination_path.used) { - *status = f_string_dynamic_prepend(main.path_build_objects, &destination_path); + *status = fake_build_get_file_name_without_extension(main, sources[i]->array[j], &file_name); if (F_status_is_error(*status)) { - fll_error_print(main.error, F_status_set_fine(*status), "f_string_dynamic_prepend", F_true); + fll_error_print(main.error, F_status_set_fine(*status), "fake_build_get_file_name_without_extension", F_true); break; } - *status = f_string_append_assure(f_path_separator_s, F_path_separator_s_length, &destination_path); - - if (F_status_is_error(*status)) { - fll_error_print(main.error, F_status_set_fine(*status), "f_string_append_assure", F_true); + if (fake_signal_received(main)) { + *status = F_status_set_error(F_signal); break; } - *status = f_string_dynamic_terminate_after(&destination_path); + *status = f_file_name_directory(sources[i]->array[j].string, sources[i]->array[j].used, &destination_path); if (F_status_is_error(*status)) { - fll_error_print(main.error, F_status_set_fine(*status), "f_string_dynamic_terminate_after", F_true); - break; - } - - if (fake_signal_received(main)) { - *status = F_status_set_error(F_signal); + fll_error_print(main.error, F_status_set_fine(*status), "f_file_name_directory", F_true); break; } - *status = f_directory_exists(destination_path.string); + if (destination_path.used) { + *status = f_string_dynamic_prepend(main.path_build_objects, &destination_path); - if (*status == F_false) { - if (main.error.verbosity != f_console_verbosity_quiet) { - flockfile(main.error.to.stream); + if (F_status_is_error(*status)) { + fll_error_print(main.error, F_status_set_fine(*status), "f_string_dynamic_prepend", F_true); + break; + } - fl_print_format("%c%[%SThe path '%]", main.error.to.stream, f_string_eol_s[0], main.error.context, main.error.prefix, main.error.context); - fl_print_format("%[%Q%]", main.error.to.stream, main.error.notable, destination_path, main.error.notable); - fl_print_format("%[' exists but is not a directory.%]%c", main.error.to.stream, main.error.context, main.error.context, f_string_eol_s[0]); + *status = f_string_append_assure(f_path_separator_s, F_path_separator_s_length, &destination_path); - funlockfile(main.error.to.stream); + if (F_status_is_error(*status)) { + fll_error_print(main.error, F_status_set_fine(*status), "f_string_append_assure", F_true); + break; } - *status = F_status_set_error(F_failure); - break; - } - else if (*status == F_file_found_not) { - *status = f_directory_create(destination_path.string, mode.directory); + *status = f_string_dynamic_terminate_after(&destination_path); if (F_status_is_error(*status)) { - if (F_status_set_fine(*status) == F_file_found_not) { + fll_error_print(main.error, F_status_set_fine(*status), "f_string_dynamic_terminate_after", F_true); + break; + } + + if (fake_signal_received(main)) { + *status = F_status_set_error(F_signal); + break; + } + + *status = f_directory_exists(destination_path.string); + + if (*status == F_false) { + if (main.error.verbosity != f_console_verbosity_quiet) { flockfile(main.error.to.stream); fl_print_format("%c%[%SThe path '%]", main.error.to.stream, f_string_eol_s[0], main.error.context, main.error.prefix, main.error.context); fl_print_format("%[%Q%]", main.error.to.stream, main.error.notable, destination_path, main.error.notable); - fl_print_format("%[' could not be created, a parent directory does not exist.%]%c", main.error.to.stream, main.error.context, main.error.context, f_string_eol_s[0]); + fl_print_format("%[' exists but is not a directory.%]%c", main.error.to.stream, main.error.context, main.error.context, f_string_eol_s[0]); funlockfile(main.error.to.stream); } - else { - fll_error_file_print(main.error, F_status_set_fine(*status), "f_directory_create", F_true, destination_path.string, "create", fll_error_file_type_directory); - } + *status = F_status_set_error(F_failure); break; } + else if (*status == F_file_found_not) { + *status = f_directory_create(destination_path.string, mode.directory); - if (main.error.verbosity == f_console_verbosity_verbose) { - fll_print_format("Directory '%Q' created.%c", main.output.to.stream, destination_path, f_string_eol_s[0]); + if (F_status_is_error(*status)) { + if (F_status_set_fine(*status) == F_file_found_not) { + flockfile(main.error.to.stream); + + fl_print_format("%c%[%SThe path '%]", main.error.to.stream, f_string_eol_s[0], main.error.context, main.error.prefix, main.error.context); + fl_print_format("%[%Q%]", main.error.to.stream, main.error.notable, destination_path, main.error.notable); + fl_print_format("%[' could not be created, a parent directory does not exist.%]%c", main.error.to.stream, main.error.context, main.error.context, f_string_eol_s[0]); + + funlockfile(main.error.to.stream); + } + else { + fll_error_file_print(main.error, F_status_set_fine(*status), "f_directory_create", F_true, destination_path.string, "create", fll_error_file_type_directory); + } + + break; + } + + if (main.error.verbosity == f_console_verbosity_verbose) { + fll_print_format("Directory '%Q' created.%c", main.output.to.stream, destination_path, f_string_eol_s[0]); + } } + else if (F_status_is_error(*status)) { + fll_error_file_print(main.error, F_status_set_fine(*status), "f_directory_exists", F_true, destination_path.string, "create", fll_error_file_type_directory); + break; + } + + destination_length = destination_path.used + file_name.used + fake_build_parameter_object_name_suffix_s_length; } - else if (F_status_is_error(*status)) { - fll_error_file_print(main.error, F_status_set_fine(*status), "f_directory_exists", F_true, destination_path.string, "create", fll_error_file_type_directory); - break; + else { + destination_length = main.path_build_objects.used + file_name.used + fake_build_parameter_object_name_suffix_s_length; } - destination_length = destination_path.used + file_name.used + fake_build_parameter_object_name_suffix_s_length; - } - else { - destination_length = main.path_build_objects.used + file_name.used + fake_build_parameter_object_name_suffix_s_length; - } + char destination[destination_length + 1]; - char destination[destination_length + 1]; + if (destination_path.used) { + memcpy(destination, destination_path.string, destination_path.used); + memcpy(destination + destination_path.used, file_name.string, file_name.used); + memcpy(destination + destination_path.used + file_name.used, fake_build_parameter_object_name_suffix_s, fake_build_parameter_object_name_suffix_s_length); + } + else { + memcpy(destination, main.path_build_objects.string, main.path_build_objects.used); + memcpy(destination + main.path_build_objects.used, file_name.string, file_name.used); + memcpy(destination + main.path_build_objects.used + file_name.used, fake_build_parameter_object_name_suffix_s, fake_build_parameter_object_name_suffix_s_length); + } - if (destination_path.used) { - memcpy(destination, destination_path.string, destination_path.used); - memcpy(destination + destination_path.used, file_name.string, file_name.used); - memcpy(destination + destination_path.used + file_name.used, fake_build_parameter_object_name_suffix_s, fake_build_parameter_object_name_suffix_s_length); - } - else { - memcpy(destination, main.path_build_objects.string, main.path_build_objects.used); - memcpy(destination + main.path_build_objects.used, file_name.string, file_name.used); - memcpy(destination + main.path_build_objects.used + file_name.used, fake_build_parameter_object_name_suffix_s, fake_build_parameter_object_name_suffix_s_length); - } + destination[destination_length] = 0; - destination[destination_length] = 0; + const f_string_t values[] = { + source, + fake_build_parameter_object_compile_s, + fake_build_parameter_object_static_s, + fake_build_parameter_object_output_s, + destination, + }; - const f_string_t values[] = { - source, - fake_build_parameter_object_compile_s, - fake_build_parameter_object_static_s, - fake_build_parameter_object_output_s, - destination, - }; + const f_array_length_t lengths[] = { + source_length, + fake_build_parameter_object_compile_s_length, + fake_build_parameter_object_static_s_length, + fake_build_parameter_object_output_s_length, + destination_length, + }; - const f_array_length_t lengths[] = { - source_length, - fake_build_parameter_object_compile_s_length, - fake_build_parameter_object_static_s_length, - fake_build_parameter_object_output_s_length, - destination_length, - }; + for (uint8_t k = 0; k < 5; ++k) { - for (uint8_t j = 0; j < 5; ++j) { + *status = fll_execute_arguments_add(values[k], lengths[k], &arguments); + if (F_status_is_error(*status)) break; + } // for - *status = fll_execute_arguments_add(values[j], lengths[j], &arguments); - if (F_status_is_error(*status)) break; - } // for + fake_build_arguments_standard_add(main, data_build, F_false, F_true, &arguments, status); - fake_build_arguments_standard_add(main, data_build, F_false, F_true, &arguments, status); + if (F_status_is_error(*status)) { + fll_error_print(main.error, F_status_set_fine(*status), "fll_execute_arguments_add", F_true); + break; + } - if (F_status_is_error(*status)) { - fll_error_print(main.error, F_status_set_fine(*status), "fll_execute_arguments_add", F_true); - break; - } + result = fake_execute(main, data_build.environment, data_build.setting.build_compiler, arguments, status); - result = fake_execute(main, data_build.environment, data_build.setting.build_compiler, arguments, status); + macro_f_string_dynamics_t_delete_simple(arguments); - macro_f_string_dynamics_t_delete_simple(arguments); + if (F_status_is_error(*status) || *status == F_child) break; + } // for if (F_status_is_error(*status) || *status == F_child) break; } // for @@ -3138,6 +3300,14 @@ extern "C" { path_headers.size = directory_headers_length + 1; fake_build_copy(*main, mode, "header files", *path_sources, path_headers, data_build.setting.build_sources_headers, stage.file_sources_headers, data_build.setting.path_headers_preserve ? path_sources_base_length : 0, &status); + + if (data_build.setting.build_shared) { + fake_build_copy(*main, mode, "shared header files", *path_sources, path_headers, data_build.setting.build_sources_headers_shared, stage.file_sources_headers, data_build.setting.path_headers_preserve ? path_sources_base_length : 0, &status); + } + + if (data_build.setting.build_static) { + fake_build_copy(*main, mode, "static header files", *path_sources, path_headers, data_build.setting.build_sources_headers_static, stage.file_sources_headers, data_build.setting.path_headers_preserve ? path_sources_base_length : 0, &status); + } } if (data_build.setting.build_shared) { @@ -3213,17 +3383,30 @@ extern "C" { f_array_length_t source_length = 0; - for (f_array_length_t i = 0; i < data_build.setting.build_sources_program.used; ++i) { + const f_string_dynamics_t *sources[2] = { + &data_build.setting.build_sources_program, + &data_build.setting.build_sources_program_shared, + }; - source_length = path_sources->used + data_build.setting.build_sources_program.array[i].used; + f_array_length_t i = 0; + f_array_length_t j = 0; - char source[source_length + 1]; + for (; i < 2; ++i) { - memcpy(source, path_sources->string, path_sources->used); - memcpy(source + path_sources->used, data_build.setting.build_sources_program.array[i].string, data_build.setting.build_sources_program.array[i].used); - source[source_length] = 0; + for (j = 0; j < sources[i]->used; ++j) { + + source_length = path_sources->used + sources[i]->array[j].used; + + char source[source_length + 1]; + + memcpy(source, path_sources->string, path_sources->used); + memcpy(source + path_sources->used, sources[i]->array[j].string, sources[i]->array[j].used); + source[source_length] = 0; + + *status = fll_execute_arguments_add(source, source_length, &arguments); + if (F_status_is_error(*status)) break; + } // for - *status = fll_execute_arguments_add(source, source_length, &arguments); if (F_status_is_error(*status)) break; } // for } @@ -3316,19 +3499,32 @@ extern "C" { f_array_length_t source_length = 0; - for (f_array_length_t i = 0; i < data_build.setting.build_sources_program.used; ++i) { + const f_string_dynamics_t *sources[2] = { + &data_build.setting.build_sources_program, + &data_build.setting.build_sources_program_static, + }; + + f_array_length_t i = 0; + f_array_length_t j = 0; + + for (; i < 2; ++i) { - if (!data_build.setting.build_sources_program.array[i].used) continue; + for (j = 0; j < sources[i]->used; ++j) { - source_length = path_sources->used + data_build.setting.build_sources_program.array[i].used; + if (!sources[i]->array[j].used) continue; - char source[source_length + 1]; + source_length = path_sources->used + sources[i]->array[j].used; - memcpy(source, path_sources->string, path_sources->used); - memcpy(source + path_sources->used, data_build.setting.build_sources_program.array[i].string, data_build.setting.build_sources_program.array[i].used); - source[source_length] = 0; + char source[source_length + 1]; + + memcpy(source, path_sources->string, path_sources->used); + memcpy(source + path_sources->used, sources[i]->array[j].string, sources[i]->array[j].used); + source[source_length] = 0; + + *status = fll_execute_arguments_add(source, source_length, &arguments); + if (F_status_is_error(*status)) break; + } // for - *status = fll_execute_arguments_add(source, source_length, &arguments); if (F_status_is_error(*status)) break; } // for } diff --git a/level_3/fake/c/private-common.c b/level_3/fake/c/private-common.c index 1d7722e..274cdbc 100644 --- a/level_3/fake/c/private-common.c +++ b/level_3/fake/c/private-common.c @@ -5,6 +5,227 @@ extern "C" { #endif +#ifndef _di_fake_build_setting_t_ + const f_string_t fake_build_setting_name_build_compiler_s = FAKE_build_setting_name_build_compiler_s; + const f_string_t fake_build_setting_name_build_language_s = FAKE_build_setting_name_build_language_s; + const f_string_t fake_build_setting_name_build_libraries_s = FAKE_build_setting_name_build_libraries_s; + const f_string_t fake_build_setting_name_build_libraries_shared_s = FAKE_build_setting_name_build_libraries_shared_s; + const f_string_t fake_build_setting_name_build_libraries_static_s = FAKE_build_setting_name_build_libraries_static_s; + const f_string_t fake_build_setting_name_build_indexer_s = FAKE_build_setting_name_build_indexer_s; + const f_string_t fake_build_setting_name_build_script_s = FAKE_build_setting_name_build_script_s; + const f_string_t fake_build_setting_name_build_shared_s = FAKE_build_setting_name_build_shared_s; + const f_string_t fake_build_setting_name_build_sources_headers_s = FAKE_build_setting_name_build_sources_headers_s; + const f_string_t fake_build_setting_name_build_sources_headers_shared_s = FAKE_build_setting_name_build_sources_headers_shared_s; + const f_string_t fake_build_setting_name_build_sources_headers_static_s = FAKE_build_setting_name_build_sources_headers_static_s; + const f_string_t fake_build_setting_name_build_sources_library_s = FAKE_build_setting_name_build_sources_library_s; + const f_string_t fake_build_setting_name_build_sources_library_shared_s = FAKE_build_setting_name_build_sources_library_shared_s; + const f_string_t fake_build_setting_name_build_sources_library_static_s = FAKE_build_setting_name_build_sources_library_static_s; + const f_string_t fake_build_setting_name_build_sources_program_s = FAKE_build_setting_name_build_sources_program_s; + const f_string_t fake_build_setting_name_build_sources_program_shared_s = FAKE_build_setting_name_build_sources_program_shared_s; + const f_string_t fake_build_setting_name_build_sources_program_static_s = FAKE_build_setting_name_build_sources_program_static_s; + const f_string_t fake_build_setting_name_build_sources_script_s = FAKE_build_setting_name_build_sources_script_s; + const f_string_t fake_build_setting_name_build_sources_settings_s = FAKE_build_setting_name_build_sources_settings_s; + const f_string_t fake_build_setting_name_build_static_s = FAKE_build_setting_name_build_static_s; + const f_string_t fake_build_setting_name_defines_s = FAKE_build_setting_name_defines_s; + const f_string_t fake_build_setting_name_defines_library_s = FAKE_build_setting_name_defines_library_s; + const f_string_t fake_build_setting_name_defines_library_shared_s = FAKE_build_setting_name_defines_library_shared_s; + const f_string_t fake_build_setting_name_defines_library_static_s = FAKE_build_setting_name_defines_library_static_s; + const f_string_t fake_build_setting_name_defines_program_s = FAKE_build_setting_name_defines_program_s; + const f_string_t fake_build_setting_name_defines_program_shared_s = FAKE_build_setting_name_defines_program_shared_s; + const f_string_t fake_build_setting_name_defines_program_static_s = FAKE_build_setting_name_defines_program_static_s; + const f_string_t fake_build_setting_name_defines_shared_s = FAKE_build_setting_name_defines_shared_s; + const f_string_t fake_build_setting_name_defines_static_s = FAKE_build_setting_name_defines_static_s; + const f_string_t fake_build_setting_name_environment_s = FAKE_build_setting_name_environment_s; + const f_string_t fake_build_setting_name_flags_s = FAKE_build_setting_name_flags_s; + const f_string_t fake_build_setting_name_flags_library_s = FAKE_build_setting_name_flags_library_s; + const f_string_t fake_build_setting_name_flags_library_shared_s = FAKE_build_setting_name_flags_library_shared_s; + const f_string_t fake_build_setting_name_flags_library_static_s = FAKE_build_setting_name_flags_library_static_s; + const f_string_t fake_build_setting_name_flags_program_s = FAKE_build_setting_name_flags_program_s; + const f_string_t fake_build_setting_name_flags_program_shared_s = FAKE_build_setting_name_flags_program_shared_s; + const f_string_t fake_build_setting_name_flags_program_static_s = FAKE_build_setting_name_flags_program_static_s; + const f_string_t fake_build_setting_name_flags_shared_s = FAKE_build_setting_name_flags_shared_s; + const f_string_t fake_build_setting_name_flags_static_s = FAKE_build_setting_name_flags_static_s; + const f_string_t fake_build_setting_name_modes_s = FAKE_build_setting_name_modes_s; + const f_string_t fake_build_setting_name_modes_default_s = FAKE_build_setting_name_modes_default_s; + const f_string_t fake_build_setting_name_path_headers_s = FAKE_build_setting_name_path_headers_s; + const f_string_t fake_build_setting_name_path_headers_preserve_s = FAKE_build_setting_name_path_headers_preserve_s; + const f_string_t fake_build_setting_name_path_language_s = FAKE_build_setting_name_path_language_s; + const f_string_t fake_build_setting_name_path_library_script_s = FAKE_build_setting_name_path_library_script_s; + const f_string_t fake_build_setting_name_path_library_shared_s = FAKE_build_setting_name_path_library_shared_s; + const f_string_t fake_build_setting_name_path_library_static_s = FAKE_build_setting_name_path_library_static_s; + const f_string_t fake_build_setting_name_path_program_script_s = FAKE_build_setting_name_path_program_script_s; + const f_string_t fake_build_setting_name_path_program_shared_s = FAKE_build_setting_name_path_program_shared_s; + const f_string_t fake_build_setting_name_path_program_static_s = FAKE_build_setting_name_path_program_static_s; + const f_string_t fake_build_setting_name_path_sources_s = FAKE_build_setting_name_path_sources_s; + const f_string_t fake_build_setting_name_path_standard_s = FAKE_build_setting_name_path_standard_s; + const f_string_t fake_build_setting_name_process_post_s = FAKE_build_setting_name_process_post_s; + const f_string_t fake_build_setting_name_process_pre_s = FAKE_build_setting_name_process_pre_s; + const f_string_t fake_build_setting_name_project_name_s = FAKE_build_setting_name_project_name_s; + const f_string_t fake_build_setting_name_search_exclusive_s = FAKE_build_setting_name_search_exclusive_s; + const f_string_t fake_build_setting_name_search_shared_s = FAKE_build_setting_name_search_shared_s; + const f_string_t fake_build_setting_name_search_static_s = FAKE_build_setting_name_search_static_s; + const f_string_t fake_build_setting_name_version_file_s = FAKE_build_setting_name_version_file_s; + const f_string_t fake_build_setting_name_version_major_s = FAKE_build_setting_name_version_major_s; + const f_string_t fake_build_setting_name_version_major_prefix_s = FAKE_build_setting_name_version_major_prefix_s; + const f_string_t fake_build_setting_name_version_micro_s = FAKE_build_setting_name_version_micro_s; + const f_string_t fake_build_setting_name_version_micro_prefix_s = FAKE_build_setting_name_version_micro_prefix_s; + const f_string_t fake_build_setting_name_version_minor_s = FAKE_build_setting_name_version_minor_s; + const f_string_t fake_build_setting_name_version_minor_prefix_s = FAKE_build_setting_name_version_minor_prefix_s; + const f_string_t fake_build_setting_name_version_nano_s = FAKE_build_setting_name_version_nano_s; + const f_string_t fake_build_setting_name_version_nano_prefix_s = FAKE_build_setting_name_version_nano_prefix_s; + const f_string_t fake_build_setting_name_version_target_s = FAKE_build_setting_name_version_target_s; + + const f_string_t fake_build_setting_default_version_s = FAKE_build_setting_default_version_s; + const f_string_t fake_build_setting_default_version_prefix_s = FAKE_build_setting_default_version_prefix_s; +#endif // _di_fake_build_setting_t_ + +#ifndef _di_fake_build_stage_t_ + const f_string_t fake_build_stage_built_s = FAKE_build_stage_built_s; + const f_string_t fake_build_stage_libraries_script_s = FAKE_build_stage_libraries_script_s; + const f_string_t fake_build_stage_libraries_shared_s = FAKE_build_stage_libraries_shared_s; + const f_string_t fake_build_stage_libraries_static_s = FAKE_build_stage_libraries_static_s; + const f_string_t fake_build_stage_objects_static_s = FAKE_build_stage_objects_static_s; + const f_string_t fake_build_stage_process_post_s = FAKE_build_stage_process_post_s; + const f_string_t fake_build_stage_process_pre_s = FAKE_build_stage_process_pre_s; + const f_string_t fake_build_stage_programs_script_s = FAKE_build_stage_programs_script_s; + const f_string_t fake_build_stage_programs_shared_s = FAKE_build_stage_programs_shared_s; + const f_string_t fake_build_stage_programs_static_s = FAKE_build_stage_programs_static_s; + const f_string_t fake_build_stage_separate_s = FAKE_build_stage_separate_s; + const f_string_t fake_build_stage_skeleton_s = FAKE_build_stage_skeleton_s; + const f_string_t fake_build_stage_sources_headers_s = FAKE_build_stage_sources_headers_s; + const f_string_t fake_build_stage_sources_script_s = FAKE_build_stage_sources_script_s; + const f_string_t fake_build_stage_sources_settings_s = FAKE_build_stage_sources_settings_s; +#endif // _di_fake_build_stage_t_ + +#ifndef _di_fake_build_parameter_ + const f_string_t fake_build_parameter_library_include_s = FAKE_build_parameter_library_include_s; + const f_string_t fake_build_parameter_library_link_file_s = FAKE_build_parameter_library_link_file_s; + const f_string_t fake_build_parameter_library_link_path_s = FAKE_build_parameter_library_link_path_s; + const f_string_t fake_build_parameter_library_name_prefix_s = FAKE_build_parameter_library_name_prefix_s; + const f_string_t fake_build_parameter_library_name_suffix_shared_s = FAKE_build_parameter_library_name_suffix_shared_s; + const f_string_t fake_build_parameter_library_name_suffix_static_s = FAKE_build_parameter_library_name_suffix_static_s; + const f_string_t fake_build_parameter_library_output_s = FAKE_build_parameter_library_output_s; + const f_string_t fake_build_parameter_library_shared_s = FAKE_build_parameter_library_shared_s; + const f_string_t fake_build_parameter_library_static_s = FAKE_build_parameter_library_static_s; + const f_string_t fake_build_parameter_library_shared_prefix_s = FAKE_build_parameter_library_shared_prefix_s; + + const f_string_t fake_build_parameter_object_compile_s = FAKE_build_parameter_object_compile_s; + const f_string_t fake_build_parameter_object_name_suffix_s = FAKE_build_parameter_object_name_suffix_s; + const f_string_t fake_build_parameter_object_output_s = FAKE_build_parameter_object_output_s; + const f_string_t fake_build_parameter_object_static_s = FAKE_build_parameter_object_static_s; + + const f_string_t fake_build_parameter_object_link_arguments_s = FAKE_build_parameter_object_link_arguments_s; +#endif // _di_fake_build_parameter_ + +#ifndef _di_fake_common_ + const f_string_t fake_common_setting_bool_yes_s = FAKE_common_setting_bool_yes_s; + const f_string_t fake_common_setting_bool_no_s = FAKE_common_setting_bool_no_s; +#endif // _di_fake_common_ + +#ifndef _di_fake_make_section_ + const f_string_t fake_make_section_main_s = FAKE_make_section_main_s; + const f_string_t fake_make_section_settings_s = FAKE_make_section_settings_s; +#endif // _di_fake_make_section_ + +#ifndef _di_fake_make_setting_t_ + const f_string_t fake_make_setting_compiler_s = FAKE_make_setting_compiler_s; + const f_string_t fake_make_setting_define_s = FAKE_make_setting_define_s; + const f_string_t fake_make_setting_environment_s = FAKE_make_setting_environment_s; + const f_string_t fake_make_setting_fail_s = FAKE_make_setting_fail_s; + const f_string_t fake_make_setting_linker_s = FAKE_make_setting_linker_s; + const f_string_t fake_make_setting_load_build_s = FAKE_make_setting_load_build_s; + const f_string_t fake_make_setting_parameter_s = FAKE_make_setting_parameter_s; + const f_string_t fake_make_setting_return_s = FAKE_make_setting_return_s; +#endif // _di_fake_make_setting_t_ + +#ifndef _di_fake_make_operation_ + const f_string_t fake_make_operation_break_s = FAKE_make_operation_break_s; + const f_string_t fake_make_operation_build_s = FAKE_make_operation_build_s; + const f_string_t fake_make_operation_clean_s = FAKE_make_operation_clean_s; + const f_string_t fake_make_operation_clone_s = FAKE_make_operation_clone_s; + const f_string_t fake_make_operation_compile_s = FAKE_make_operation_compile_s; + const f_string_t fake_make_operation_copy_s = FAKE_make_operation_copy_s; + const f_string_t fake_make_operation_define_s = FAKE_make_operation_define_s; + const f_string_t fake_make_operation_delete_s = FAKE_make_operation_delete_s; + const f_string_t fake_make_operation_deletes_s = FAKE_make_operation_deletes_s; + const f_string_t fake_make_operation_else_s = FAKE_make_operation_else_s; + const f_string_t fake_make_operation_exit_s = FAKE_make_operation_exit_s; + const f_string_t fake_make_operation_fail_s = FAKE_make_operation_fail_s; + const f_string_t fake_make_operation_group_s = FAKE_make_operation_group_s; + const f_string_t fake_make_operation_groups_s = FAKE_make_operation_groups_s; + const f_string_t fake_make_operation_if_s = FAKE_make_operation_if_s; + const f_string_t fake_make_operation_index_s = FAKE_make_operation_index_s; + const f_string_t fake_make_operation_link_s = FAKE_make_operation_link_s; + const f_string_t fake_make_operation_mode_s = FAKE_make_operation_mode_s; + const f_string_t fake_make_operation_modes_s = FAKE_make_operation_modes_s; + const f_string_t fake_make_operation_move_s = FAKE_make_operation_move_s; + const f_string_t fake_make_operation_operate_s = FAKE_make_operation_operate_s; + const f_string_t fake_make_operation_owner_s = FAKE_make_operation_owner_s; + const f_string_t fake_make_operation_owners_s = FAKE_make_operation_owners_s; + const f_string_t fake_make_operation_pop_s = FAKE_make_operation_pop_s; + const f_string_t fake_make_operation_print_s = FAKE_make_operation_print_s; + const f_string_t fake_make_operation_run_s = FAKE_make_operation_run_s; + const f_string_t fake_make_operation_shell_s = FAKE_make_operation_shell_s; + const f_string_t fake_make_operation_skeleton_s = FAKE_make_operation_skeleton_s; + const f_string_t fake_make_operation_to_s = FAKE_make_operation_to_s; + const f_string_t fake_make_operation_top_s = FAKE_make_operation_top_s; + const f_string_t fake_make_operation_touch_s = FAKE_make_operation_touch_s; + + const f_string_t fake_make_operation_argument_environment_s = FAKE_make_operation_argument_environment_s; + const f_string_t fake_make_operation_argument_failure_s = FAKE_make_operation_argument_failure_s; + const f_string_t fake_make_operation_argument_file_s = FAKE_make_operation_argument_file_s; + const f_string_t fake_make_operation_argument_directory_s = FAKE_make_operation_argument_directory_s; + const f_string_t fake_make_operation_argument_error_s = FAKE_make_operation_argument_error_s; + const f_string_t fake_make_operation_argument_exit_s = FAKE_make_operation_argument_exit_s; + const f_string_t fake_make_operation_argument_has_s = FAKE_make_operation_argument_has_s; + const f_string_t fake_make_operation_argument_ignore_s = FAKE_make_operation_argument_ignore_s; + const f_string_t fake_make_operation_argument_is_s = FAKE_make_operation_argument_is_s; + const f_string_t fake_make_operation_argument_parameter_s = FAKE_make_operation_argument_parameter_s; + const f_string_t fake_make_operation_argument_point_s = FAKE_make_operation_argument_point_s; + const f_string_t fake_make_operation_argument_recursive_s = FAKE_make_operation_argument_recursive_s; + const f_string_t fake_make_operation_argument_success_s = FAKE_make_operation_argument_success_s; + const f_string_t fake_make_operation_argument_target_s = FAKE_make_operation_argument_target_s; + const f_string_t fake_make_operation_argument_warn_s = FAKE_make_operation_argument_warn_s; + + const f_string_t fake_make_operation_argument_if_defined_s = FAKE_make_operation_argument_if_defined_s; + const f_string_t fake_make_operation_argument_if_equal_s = FAKE_make_operation_argument_if_equal_s; + const f_string_t fake_make_operation_argument_if_equal_not_s = FAKE_make_operation_argument_if_equal_not_s; + const f_string_t fake_make_operation_argument_if_exists_s = FAKE_make_operation_argument_if_exists_s; + const f_string_t fake_make_operation_argument_if_failure_s = FAKE_make_operation_argument_if_failure_s; + const f_string_t fake_make_operation_argument_if_greater_s = FAKE_make_operation_argument_if_greater_s; + const f_string_t fake_make_operation_argument_if_greater_equal_s = FAKE_make_operation_argument_if_greater_equal_s; + const f_string_t fake_make_operation_argument_if_group_s = FAKE_make_operation_argument_if_group_s; + const f_string_t fake_make_operation_argument_if_is_s = FAKE_make_operation_argument_if_is_s; + const f_string_t fake_make_operation_argument_if_is_for_s = FAKE_make_operation_argument_if_is_for_s; + const f_string_t fake_make_operation_argument_if_less_s = FAKE_make_operation_argument_if_less_s; + const f_string_t fake_make_operation_argument_if_less_equal_s = FAKE_make_operation_argument_if_less_equal_s; + const f_string_t fake_make_operation_argument_if_mode_s = FAKE_make_operation_argument_if_mode_s; + const f_string_t fake_make_operation_argument_if_owner_s = FAKE_make_operation_argument_if_owner_s; + const f_string_t fake_make_operation_argument_if_success_s = FAKE_make_operation_argument_if_success_s; +#endif // _di_fake_make_operation_ + +#ifndef _di_fake_make_parameter_t_ + const f_string_t fake_make_parameter_variable_build_s = FAKE_make_parameter_variable_build_s; + const f_string_t fake_make_parameter_variable_color_s = FAKE_make_parameter_variable_color_s; + const f_string_t fake_make_parameter_variable_data_s = FAKE_make_parameter_variable_data_s; + const f_string_t fake_make_parameter_variable_define_s = FAKE_make_parameter_variable_define_s; + const f_string_t fake_make_parameter_variable_fakefile_s = FAKE_make_parameter_variable_fakefile_s; + const f_string_t fake_make_parameter_variable_mode_s = FAKE_make_parameter_variable_mode_s; + const f_string_t fake_make_parameter_variable_process_s = FAKE_make_parameter_variable_process_s; + const f_string_t fake_make_parameter_variable_return_s = FAKE_make_parameter_variable_return_s; + const f_string_t fake_make_parameter_variable_settings_s = FAKE_make_parameter_variable_settings_s; + const f_string_t fake_make_parameter_variable_sources_s = FAKE_make_parameter_variable_sources_s; + const f_string_t fake_make_parameter_variable_verbosity_s = FAKE_make_parameter_variable_verbosity_s; + const f_string_t fake_make_parameter_variable_work_s = FAKE_make_parameter_variable_work_s; +#endif // _di_fake_make_parameter_t_ + +#ifndef _di_fake_skeleton_content_ + const f_string_t fake_make_skeleton_content_defines_s = FAKE_make_skeleton_content_defines_s; + const f_string_t fake_make_skeleton_content_dependencies_s = FAKE_make_skeleton_content_dependencies_s; + const f_string_t fake_make_skeleton_content_fakefile_s = FAKE_make_skeleton_content_fakefile_s; + const f_string_t fake_make_skeleton_content_settings_s = FAKE_make_skeleton_content_settings_s; +#endif // _di_fake_skeleton_content_ + #ifdef __cplusplus } // extern "C" #endif diff --git a/level_3/fake/c/private-common.h b/level_3/fake/c/private-common.h index eef15d4..f72994b 100644 --- a/level_3/fake/c/private-common.h +++ b/level_3/fake/c/private-common.h @@ -54,20 +54,36 @@ extern "C" { f_string_dynamic_t version_nano_prefix; f_string_dynamics_t build_libraries; + f_string_dynamics_t build_libraries_shared; + f_string_dynamics_t build_libraries_static; f_string_dynamics_t build_sources_headers; + f_string_dynamics_t build_sources_headers_shared; + f_string_dynamics_t build_sources_headers_static; f_string_dynamics_t build_sources_library; + f_string_dynamics_t build_sources_library_shared; + f_string_dynamics_t build_sources_library_static; f_string_dynamics_t build_sources_program; + f_string_dynamics_t build_sources_program_shared; + f_string_dynamics_t build_sources_program_static; f_string_dynamics_t build_sources_script; f_string_dynamics_t build_sources_setting; - f_string_dynamics_t defines_all; + f_string_dynamics_t defines; f_string_dynamics_t defines_library; + f_string_dynamics_t defines_library_shared; + f_string_dynamics_t defines_library_static; f_string_dynamics_t defines_program; + f_string_dynamics_t defines_program_shared; + f_string_dynamics_t defines_program_static; f_string_dynamics_t defines_shared; f_string_dynamics_t defines_static; f_string_dynamics_t environment; - f_string_dynamics_t flags_all; + f_string_dynamics_t flags; f_string_dynamics_t flags_library; + f_string_dynamics_t flags_library_shared; + f_string_dynamics_t flags_library_static; f_string_dynamics_t flags_program; + f_string_dynamics_t flags_program_shared; + f_string_dynamics_t flags_program_static; f_string_dynamics_t flags_shared; f_string_dynamics_t flags_static; f_string_dynamics_t modes; @@ -127,6 +143,22 @@ extern "C" { 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, \ + 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, \ + 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, \ + f_string_dynamics_t_initialize, \ + f_string_dynamics_t_initialize, \ + f_string_dynamics_t_initialize, \ + f_string_dynamics_t_initialize, \ } #define macro_fake_build_setting_t_delete_simple(setting) \ @@ -153,138 +185,258 @@ extern "C" { macro_f_string_dynamic_t_delete_simple(setting.version_nano); \ macro_f_string_dynamic_t_delete_simple(setting.version_nano_prefix); \ macro_f_string_dynamics_t_delete_simple(setting.build_libraries); \ + macro_f_string_dynamics_t_delete_simple(setting.build_libraries_shared); \ + macro_f_string_dynamics_t_delete_simple(setting.build_libraries_static); \ macro_f_string_dynamics_t_delete_simple(setting.build_sources_headers); \ + macro_f_string_dynamics_t_delete_simple(setting.build_sources_headers_shared); \ + macro_f_string_dynamics_t_delete_simple(setting.build_sources_headers_static); \ macro_f_string_dynamics_t_delete_simple(setting.build_sources_library); \ + macro_f_string_dynamics_t_delete_simple(setting.build_sources_library_shared); \ + macro_f_string_dynamics_t_delete_simple(setting.build_sources_library_static); \ macro_f_string_dynamics_t_delete_simple(setting.build_sources_program); \ + macro_f_string_dynamics_t_delete_simple(setting.build_sources_program_shared); \ + macro_f_string_dynamics_t_delete_simple(setting.build_sources_program_static); \ macro_f_string_dynamics_t_delete_simple(setting.build_sources_script); \ macro_f_string_dynamics_t_delete_simple(setting.build_sources_setting); \ - macro_f_string_dynamics_t_delete_simple(setting.defines_all); \ + macro_f_string_dynamics_t_delete_simple(setting.defines); \ macro_f_string_dynamics_t_delete_simple(setting.defines_library); \ + macro_f_string_dynamics_t_delete_simple(setting.defines_library_shared); \ + macro_f_string_dynamics_t_delete_simple(setting.defines_library_static); \ macro_f_string_dynamics_t_delete_simple(setting.defines_program); \ + macro_f_string_dynamics_t_delete_simple(setting.defines_program_shared); \ + macro_f_string_dynamics_t_delete_simple(setting.defines_program_static); \ macro_f_string_dynamics_t_delete_simple(setting.defines_shared); \ macro_f_string_dynamics_t_delete_simple(setting.defines_static); \ macro_f_string_dynamics_t_delete_simple(setting.environment); \ - macro_f_string_dynamics_t_delete_simple(setting.flags_all); \ + macro_f_string_dynamics_t_delete_simple(setting.flags); \ macro_f_string_dynamics_t_delete_simple(setting.flags_library); \ + macro_f_string_dynamics_t_delete_simple(setting.flags_library_shared); \ + macro_f_string_dynamics_t_delete_simple(setting.flags_library_static); \ macro_f_string_dynamics_t_delete_simple(setting.flags_program); \ + macro_f_string_dynamics_t_delete_simple(setting.flags_program_shared); \ + macro_f_string_dynamics_t_delete_simple(setting.flags_program_static); \ macro_f_string_dynamics_t_delete_simple(setting.flags_shared); \ macro_f_string_dynamics_t_delete_simple(setting.flags_static); \ macro_f_string_dynamics_t_delete_simple(setting.modes); \ macro_f_string_dynamics_t_delete_simple(setting.modes_default); - #define fake_build_setting_name_build_compiler_s "build_compiler" - #define fake_build_setting_name_build_language_s "build_language" - #define fake_build_setting_name_build_libraries_s "build_libraries" - #define fake_build_setting_name_build_indexer_s "build_indexer" - #define fake_build_setting_name_build_script_s "build_script" - #define fake_build_setting_name_build_shared_s "build_shared" - #define fake_build_setting_name_build_sources_headers_s "build_sources_headers" - #define fake_build_setting_name_build_sources_library_s "build_sources_library" - #define fake_build_setting_name_build_sources_program_s "build_sources_program" - #define fake_build_setting_name_build_sources_script_s "build_sources_script" - #define fake_build_setting_name_build_sources_settings_s "build_sources_setting" - #define fake_build_setting_name_build_static_s "build_static" - #define fake_build_setting_name_defines_all_s "defines_all" - #define fake_build_setting_name_defines_library_s "defines_library" - #define fake_build_setting_name_defines_program_s "defines_program" - #define fake_build_setting_name_defines_shared_s "defines_shared" - #define fake_build_setting_name_defines_static_s "defines_static" - #define fake_build_setting_name_environment_s "environment" - #define fake_build_setting_name_flags_all_s "flags_all" - #define fake_build_setting_name_flags_library_s "flags_library" - #define fake_build_setting_name_flags_program_s "flags_program" - #define fake_build_setting_name_flags_shared_s "flags_shared" - #define fake_build_setting_name_flags_static_s "flags_static" - #define fake_build_setting_name_modes_s "modes" - #define fake_build_setting_name_modes_default_s "modes_default" - #define fake_build_setting_name_path_headers_s "path_headers" - #define fake_build_setting_name_path_headers_preserve_s "path_headers_preserve" - #define fake_build_setting_name_path_language_s "path_language" - #define fake_build_setting_name_path_library_script_s "path_library_script" - #define fake_build_setting_name_path_library_shared_s "path_library_shared" - #define fake_build_setting_name_path_library_static_s "path_library_static" - #define fake_build_setting_name_path_program_script_s "path_program_script" - #define fake_build_setting_name_path_program_shared_s "path_program_shared" - #define fake_build_setting_name_path_program_static_s "path_program_static" - #define fake_build_setting_name_path_sources_s "path_sources" - #define fake_build_setting_name_path_standard_s "path_standard" - #define fake_build_setting_name_process_post_s "process_post" - #define fake_build_setting_name_process_pre_s "process_pre" - #define fake_build_setting_name_project_name_s "project_name" - #define fake_build_setting_name_search_exclusive_s "search_exclusive" - #define fake_build_setting_name_search_shared_s "search_shared" - #define fake_build_setting_name_search_static_s "search_static" - #define fake_build_setting_name_version_file_s "version_file" - #define fake_build_setting_name_version_major_s "version_major" - #define fake_build_setting_name_version_major_prefix_s "version_major_prefix" - #define fake_build_setting_name_version_micro_s "version_micro" - #define fake_build_setting_name_version_micro_prefix_s "version_micro_prefix" - #define fake_build_setting_name_version_minor_s "version_minor" - #define fake_build_setting_name_version_minor_prefix_s "version_minor_prefix" - #define fake_build_setting_name_version_nano_s "version_nano" - #define fake_build_setting_name_version_nano_prefix_s "version_nano_prefix" - #define fake_build_setting_name_version_target_s "version_target" - - #define fake_build_setting_name_build_compiler_s_length 14 - #define fake_build_setting_name_build_language_s_length 14 - #define fake_build_setting_name_build_libraries_s_length 15 - #define fake_build_setting_name_build_indexer_s_length 13 - #define fake_build_setting_name_build_script_s_length 12 - #define fake_build_setting_name_build_shared_s_length 12 - #define fake_build_setting_name_build_sources_headers_s_length 21 - #define fake_build_setting_name_build_sources_library_s_length 21 - #define fake_build_setting_name_build_sources_program_s_length 21 - #define fake_build_setting_name_build_sources_script_s_length 20 - #define fake_build_setting_name_build_sources_settings_s_length 22 - #define fake_build_setting_name_build_static_s_length 12 - #define fake_build_setting_name_environment_length_s 11 - #define fake_build_setting_name_defines_all_s_length 11 - #define fake_build_setting_name_defines_library_s_length 15 - #define fake_build_setting_name_defines_program_s_length 15 - #define fake_build_setting_name_defines_shared_s_length 14 - #define fake_build_setting_name_defines_static_s_length 14 - #define fake_build_setting_name_flags_all_s_length 9 - #define fake_build_setting_name_flags_library_s_length 13 - #define fake_build_setting_name_flags_program_s_length 13 - #define fake_build_setting_name_flags_shared_s_length 12 - #define fake_build_setting_name_flags_static_s_length 12 - #define fake_build_setting_name_modes_s_length 5 - #define fake_build_setting_name_modes_default_s_length 13 - #define fake_build_setting_name_path_headers_s_length 12 - #define fake_build_setting_name_path_headers_preserve_s_length 21 - #define fake_build_setting_name_path_language_s_length 13 - #define fake_build_setting_name_path_library_script_s_length 19 - #define fake_build_setting_name_path_library_shared_s_length 19 - #define fake_build_setting_name_path_library_static_s_length 19 - #define fake_build_setting_name_path_program_script_s_length 19 - #define fake_build_setting_name_path_program_shared_s_length 19 - #define fake_build_setting_name_path_program_static_s_length 19 - #define fake_build_setting_name_path_sources_s_length 12 - #define fake_build_setting_name_path_standard_s_length 13 - #define fake_build_setting_name_process_post_s_length 12 - #define fake_build_setting_name_process_pre_s_length 11 - #define fake_build_setting_name_project_name_s_length 12 - #define fake_build_setting_name_search_exclusive_s_length 16 - #define fake_build_setting_name_search_shared_s_length 13 - #define fake_build_setting_name_search_static_s_length 13 - #define fake_build_setting_name_version_file_s_length 12 - #define fake_build_setting_name_version_major_s_length 13 - #define fake_build_setting_name_version_major_prefix_s_length 20 - #define fake_build_setting_name_version_micro_s_length 13 - #define fake_build_setting_name_version_micro_prefix_s_length 20 - #define fake_build_setting_name_version_minor_s_length 13 - #define fake_build_setting_name_version_minor_prefix_s_length 20 - #define fake_build_setting_name_version_nano_s_length 12 - #define fake_build_setting_name_version_nano_prefix_s_length 19 - #define fake_build_setting_name_version_target_s_length 14 - - #define fake_build_setting_total_d 52 - - #define fake_build_setting_default_version_s "0" - #define fake_build_setting_default_version_prefix_s "." + #define FAKE_build_setting_name_build_compiler_s "build_compiler" + #define FAKE_build_setting_name_build_language_s "build_language" + #define FAKE_build_setting_name_build_libraries_s "build_libraries" + #define FAKE_build_setting_name_build_libraries_shared_s "build_libraries_shared" + #define FAKE_build_setting_name_build_libraries_static_s "build_libraries_static" + #define FAKE_build_setting_name_build_indexer_s "build_indexer" + #define FAKE_build_setting_name_build_script_s "build_script" + #define FAKE_build_setting_name_build_shared_s "build_shared" + #define FAKE_build_setting_name_build_sources_headers_s "build_sources_headers" + #define FAKE_build_setting_name_build_sources_headers_shared_s "build_sources_headers_shared" + #define FAKE_build_setting_name_build_sources_headers_static_s "build_sources_headers_static" + #define FAKE_build_setting_name_build_sources_library_s "build_sources_library" + #define FAKE_build_setting_name_build_sources_library_shared_s "build_sources_library_shared" + #define FAKE_build_setting_name_build_sources_library_static_s "build_sources_library_static" + #define FAKE_build_setting_name_build_sources_program_s "build_sources_program" + #define FAKE_build_setting_name_build_sources_program_shared_s "build_sources_program_shared" + #define FAKE_build_setting_name_build_sources_program_static_s "build_sources_program_static" + #define FAKE_build_setting_name_build_sources_script_s "build_sources_script" + #define FAKE_build_setting_name_build_sources_settings_s "build_sources_setting" + #define FAKE_build_setting_name_build_static_s "build_static" + #define FAKE_build_setting_name_defines_s "defines" + #define FAKE_build_setting_name_defines_library_s "defines_library" + #define FAKE_build_setting_name_defines_library_shared_s "defines_library_shared" + #define FAKE_build_setting_name_defines_library_static_s "defines_library_static" + #define FAKE_build_setting_name_defines_program_s "defines_program" + #define FAKE_build_setting_name_defines_program_shared_s "defines_program_shared" + #define FAKE_build_setting_name_defines_program_static_s "defines_program_static" + #define FAKE_build_setting_name_defines_shared_s "defines_shared" + #define FAKE_build_setting_name_defines_static_s "defines_static" + #define FAKE_build_setting_name_environment_s "environment" + #define FAKE_build_setting_name_flags_s "flags" + #define FAKE_build_setting_name_flags_library_s "flags_library" + #define FAKE_build_setting_name_flags_library_shared_s "flags_library_shared" + #define FAKE_build_setting_name_flags_library_static_s "flags_library_static" + #define FAKE_build_setting_name_flags_program_s "flags_program" + #define FAKE_build_setting_name_flags_program_shared_s "flags_program_shared" + #define FAKE_build_setting_name_flags_program_static_s "flags_program_static" + #define FAKE_build_setting_name_flags_shared_s "flags_shared" + #define FAKE_build_setting_name_flags_static_s "flags_static" + #define FAKE_build_setting_name_modes_s "modes" + #define FAKE_build_setting_name_modes_default_s "modes_default" + #define FAKE_build_setting_name_path_headers_s "path_headers" + #define FAKE_build_setting_name_path_headers_preserve_s "path_headers_preserve" + #define FAKE_build_setting_name_path_language_s "path_language" + #define FAKE_build_setting_name_path_library_script_s "path_library_script" + #define FAKE_build_setting_name_path_library_shared_s "path_library_shared" + #define FAKE_build_setting_name_path_library_static_s "path_library_static" + #define FAKE_build_setting_name_path_program_script_s "path_program_script" + #define FAKE_build_setting_name_path_program_shared_s "path_program_shared" + #define FAKE_build_setting_name_path_program_static_s "path_program_static" + #define FAKE_build_setting_name_path_sources_s "path_sources" + #define FAKE_build_setting_name_path_standard_s "path_standard" + #define FAKE_build_setting_name_process_post_s "process_post" + #define FAKE_build_setting_name_process_pre_s "process_pre" + #define FAKE_build_setting_name_project_name_s "project_name" + #define FAKE_build_setting_name_search_exclusive_s "search_exclusive" + #define FAKE_build_setting_name_search_shared_s "search_shared" + #define FAKE_build_setting_name_search_static_s "search_static" + #define FAKE_build_setting_name_version_file_s "version_file" + #define FAKE_build_setting_name_version_major_s "version_major" + #define FAKE_build_setting_name_version_major_prefix_s "version_major_prefix" + #define FAKE_build_setting_name_version_micro_s "version_micro" + #define FAKE_build_setting_name_version_micro_prefix_s "version_micro_prefix" + #define FAKE_build_setting_name_version_minor_s "version_minor" + #define FAKE_build_setting_name_version_minor_prefix_s "version_minor_prefix" + #define FAKE_build_setting_name_version_nano_s "version_nano" + #define FAKE_build_setting_name_version_nano_prefix_s "version_nano_prefix" + #define FAKE_build_setting_name_version_target_s "version_target" + + #define fake_build_setting_name_build_compiler_s_length 14 + #define fake_build_setting_name_build_language_s_length 14 + #define fake_build_setting_name_build_libraries_s_length 15 + #define fake_build_setting_name_build_libraries_shared_s_length 22 + #define fake_build_setting_name_build_libraries_static_s_length 22 + #define fake_build_setting_name_build_indexer_s_length 13 + #define fake_build_setting_name_build_script_s_length 12 + #define fake_build_setting_name_build_shared_s_length 12 + #define fake_build_setting_name_build_sources_headers_s_length 21 + #define fake_build_setting_name_build_sources_headers_shared_s_length 28 + #define fake_build_setting_name_build_sources_headers_static_s_length 28 + #define fake_build_setting_name_build_sources_library_s_length 21 + #define fake_build_setting_name_build_sources_library_shared_s_length 28 + #define fake_build_setting_name_build_sources_library_static_s_length 28 + #define fake_build_setting_name_build_sources_program_s_length 21 + #define fake_build_setting_name_build_sources_program_shared_s_length 28 + #define fake_build_setting_name_build_sources_program_static_s_length 28 + #define fake_build_setting_name_build_sources_script_s_length 20 + #define fake_build_setting_name_build_sources_settings_s_length 22 + #define fake_build_setting_name_build_static_s_length 12 + #define fake_build_setting_name_environment_length_s 11 + #define fake_build_setting_name_defines_s_length 7 + #define fake_build_setting_name_defines_library_s_length 15 + #define fake_build_setting_name_defines_library_shared_s_length 22 + #define fake_build_setting_name_defines_library_static_s_length 22 + #define fake_build_setting_name_defines_program_s_length 15 + #define fake_build_setting_name_defines_program_shared_s_length 22 + #define fake_build_setting_name_defines_program_static_s_length 22 + #define fake_build_setting_name_defines_shared_s_length 14 + #define fake_build_setting_name_defines_static_s_length 14 + #define fake_build_setting_name_flags_s_length 5 + #define fake_build_setting_name_flags_library_s_length 13 + #define fake_build_setting_name_flags_library_shared_s_length 20 + #define fake_build_setting_name_flags_library_static_s_length 20 + #define fake_build_setting_name_flags_program_s_length 13 + #define fake_build_setting_name_flags_program_shared_s_length 20 + #define fake_build_setting_name_flags_program_static_s_length 20 + #define fake_build_setting_name_flags_shared_s_length 12 + #define fake_build_setting_name_flags_static_s_length 12 + #define fake_build_setting_name_modes_s_length 5 + #define fake_build_setting_name_modes_default_s_length 13 + #define fake_build_setting_name_path_headers_s_length 12 + #define fake_build_setting_name_path_headers_preserve_s_length 21 + #define fake_build_setting_name_path_language_s_length 13 + #define fake_build_setting_name_path_library_script_s_length 19 + #define fake_build_setting_name_path_library_shared_s_length 19 + #define fake_build_setting_name_path_library_static_s_length 19 + #define fake_build_setting_name_path_program_script_s_length 19 + #define fake_build_setting_name_path_program_shared_s_length 19 + #define fake_build_setting_name_path_program_static_s_length 19 + #define fake_build_setting_name_path_sources_s_length 12 + #define fake_build_setting_name_path_standard_s_length 13 + #define fake_build_setting_name_process_post_s_length 12 + #define fake_build_setting_name_process_pre_s_length 11 + #define fake_build_setting_name_project_name_s_length 12 + #define fake_build_setting_name_search_exclusive_s_length 16 + #define fake_build_setting_name_search_shared_s_length 13 + #define fake_build_setting_name_search_static_s_length 13 + #define fake_build_setting_name_version_file_s_length 12 + #define fake_build_setting_name_version_major_s_length 13 + #define fake_build_setting_name_version_major_prefix_s_length 20 + #define fake_build_setting_name_version_micro_s_length 13 + #define fake_build_setting_name_version_micro_prefix_s_length 20 + #define fake_build_setting_name_version_minor_s_length 13 + #define fake_build_setting_name_version_minor_prefix_s_length 20 + #define fake_build_setting_name_version_nano_s_length 12 + #define fake_build_setting_name_version_nano_prefix_s_length 19 + #define fake_build_setting_name_version_target_s_length 14 + + extern const f_string_t fake_build_setting_name_build_compiler_s; + extern const f_string_t fake_build_setting_name_build_language_s; + extern const f_string_t fake_build_setting_name_build_libraries_s; + extern const f_string_t fake_build_setting_name_build_libraries_shared_s; + extern const f_string_t fake_build_setting_name_build_libraries_static_s; + extern const f_string_t fake_build_setting_name_build_indexer_s; + extern const f_string_t fake_build_setting_name_build_script_s; + extern const f_string_t fake_build_setting_name_build_shared_s; + extern const f_string_t fake_build_setting_name_build_sources_headers_s; + extern const f_string_t fake_build_setting_name_build_sources_headers_shared_s; + extern const f_string_t fake_build_setting_name_build_sources_headers_static_s; + extern const f_string_t fake_build_setting_name_build_sources_library_s; + extern const f_string_t fake_build_setting_name_build_sources_library_shared_s; + extern const f_string_t fake_build_setting_name_build_sources_library_static_s; + extern const f_string_t fake_build_setting_name_build_sources_program_s; + extern const f_string_t fake_build_setting_name_build_sources_program_shared_s; + extern const f_string_t fake_build_setting_name_build_sources_program_static_s; + extern const f_string_t fake_build_setting_name_build_sources_script_s; + extern const f_string_t fake_build_setting_name_build_sources_settings_s; + extern const f_string_t fake_build_setting_name_build_static_s; + extern const f_string_t fake_build_setting_name_defines_s; + extern const f_string_t fake_build_setting_name_defines_library_s; + extern const f_string_t fake_build_setting_name_defines_library_shared_s; + extern const f_string_t fake_build_setting_name_defines_library_static_s; + extern const f_string_t fake_build_setting_name_defines_program_s; + extern const f_string_t fake_build_setting_name_defines_program_shared_s; + extern const f_string_t fake_build_setting_name_defines_program_static_s; + extern const f_string_t fake_build_setting_name_defines_shared_s; + extern const f_string_t fake_build_setting_name_defines_static_s; + extern const f_string_t fake_build_setting_name_environment_s; + extern const f_string_t fake_build_setting_name_flags_s; + extern const f_string_t fake_build_setting_name_flags_library_s; + extern const f_string_t fake_build_setting_name_flags_library_shared_s; + extern const f_string_t fake_build_setting_name_flags_library_static_s; + extern const f_string_t fake_build_setting_name_flags_program_s; + extern const f_string_t fake_build_setting_name_flags_program_shared_s; + extern const f_string_t fake_build_setting_name_flags_program_static_s; + extern const f_string_t fake_build_setting_name_flags_shared_s; + extern const f_string_t fake_build_setting_name_flags_static_s; + extern const f_string_t fake_build_setting_name_modes_s; + extern const f_string_t fake_build_setting_name_modes_default_s; + extern const f_string_t fake_build_setting_name_path_headers_s; + extern const f_string_t fake_build_setting_name_path_headers_preserve_s; + extern const f_string_t fake_build_setting_name_path_language_s; + extern const f_string_t fake_build_setting_name_path_library_script_s; + extern const f_string_t fake_build_setting_name_path_library_shared_s; + extern const f_string_t fake_build_setting_name_path_library_static_s; + extern const f_string_t fake_build_setting_name_path_program_script_s; + extern const f_string_t fake_build_setting_name_path_program_shared_s; + extern const f_string_t fake_build_setting_name_path_program_static_s; + extern const f_string_t fake_build_setting_name_path_sources_s; + extern const f_string_t fake_build_setting_name_path_standard_s; + extern const f_string_t fake_build_setting_name_process_post_s; + extern const f_string_t fake_build_setting_name_process_pre_s; + extern const f_string_t fake_build_setting_name_project_name_s; + extern const f_string_t fake_build_setting_name_search_exclusive_s; + extern const f_string_t fake_build_setting_name_search_shared_s; + extern const f_string_t fake_build_setting_name_search_static_s; + extern const f_string_t fake_build_setting_name_version_file_s; + extern const f_string_t fake_build_setting_name_version_major_s; + extern const f_string_t fake_build_setting_name_version_major_prefix_s; + extern const f_string_t fake_build_setting_name_version_micro_s; + extern const f_string_t fake_build_setting_name_version_micro_prefix_s; + extern const f_string_t fake_build_setting_name_version_minor_s; + extern const f_string_t fake_build_setting_name_version_minor_prefix_s; + extern const f_string_t fake_build_setting_name_version_nano_s; + extern const f_string_t fake_build_setting_name_version_nano_prefix_s; + extern const f_string_t fake_build_setting_name_version_target_s; + + #define fake_build_setting_total_d 68 + + #define FAKE_build_setting_default_version_s "0" + #define FAKE_build_setting_default_version_prefix_s "." #define fake_build_setting_default_version_s_length 1 #define fake_build_setting_default_version_prefix_s_length 1 + + extern const f_string_t fake_build_setting_default_version_s; + extern const f_string_t fake_build_setting_default_version_prefix_s; #endif // _di_fake_build_setting_t_ #ifndef _di_fake_build_stage_t_ @@ -337,21 +489,21 @@ extern "C" { macro_f_string_dynamic_t_delete_simple(stage.file_sources_script); \ macro_f_string_dynamic_t_delete_simple(stage.file_sources_settings); - #define fake_build_stage_built_s ".built" - #define fake_build_stage_libraries_script_s "libraries_script" - #define fake_build_stage_libraries_shared_s "libraries_shared" - #define fake_build_stage_libraries_static_s "libraries_static" - #define fake_build_stage_objects_static_s "objects_static" - #define fake_build_stage_process_post_s "process_post" - #define fake_build_stage_process_pre_s "process_pre" - #define fake_build_stage_programs_script_s "programs_script" - #define fake_build_stage_programs_shared_s "programs_shared" - #define fake_build_stage_programs_static_s "programs_static" - #define fake_build_stage_separate_s "-" - #define fake_build_stage_skeleton_s "skeleton" - #define fake_build_stage_sources_headers_s "sources_headers" - #define fake_build_stage_sources_script_s "sources_script" - #define fake_build_stage_sources_settings_s "sources_settings" + #define FAKE_build_stage_built_s ".built" + #define FAKE_build_stage_libraries_script_s "libraries_script" + #define FAKE_build_stage_libraries_shared_s "libraries_shared" + #define FAKE_build_stage_libraries_static_s "libraries_static" + #define FAKE_build_stage_objects_static_s "objects_static" + #define FAKE_build_stage_process_post_s "process_post" + #define FAKE_build_stage_process_pre_s "process_pre" + #define FAKE_build_stage_programs_script_s "programs_script" + #define FAKE_build_stage_programs_shared_s "programs_shared" + #define FAKE_build_stage_programs_static_s "programs_static" + #define FAKE_build_stage_separate_s "-" + #define FAKE_build_stage_skeleton_s "skeleton" + #define FAKE_build_stage_sources_headers_s "sources_headers" + #define FAKE_build_stage_sources_script_s "sources_script" + #define FAKE_build_stage_sources_settings_s "sources_settings" #define fake_build_stage_built_s_length 6 #define fake_build_stage_libraries_script_s_length 16 @@ -368,6 +520,22 @@ extern "C" { #define fake_build_stage_sources_headers_s_length 15 #define fake_build_stage_sources_script_s_length 14 #define fake_build_stage_sources_settings_s_length 16 + + extern const f_string_t fake_build_stage_built_s; + extern const f_string_t fake_build_stage_libraries_script_s; + extern const f_string_t fake_build_stage_libraries_shared_s; + extern const f_string_t fake_build_stage_libraries_static_s; + extern const f_string_t fake_build_stage_objects_static_s; + extern const f_string_t fake_build_stage_process_post_s; + extern const f_string_t fake_build_stage_process_pre_s; + extern const f_string_t fake_build_stage_programs_script_s; + extern const f_string_t fake_build_stage_programs_shared_s; + extern const f_string_t fake_build_stage_programs_static_s; + extern const f_string_t fake_build_stage_separate_s; + extern const f_string_t fake_build_stage_skeleton_s; + extern const f_string_t fake_build_stage_sources_headers_s; + extern const f_string_t fake_build_stage_sources_script_s; + extern const f_string_t fake_build_stage_sources_settings_s; #endif // _di_fake_build_stage_t_ #ifndef _di_fake_build_data_t_ @@ -387,16 +555,16 @@ extern "C" { #endif // _di_fake_build_data_t_ #ifndef _di_fake_build_parameter_ - #define fake_build_parameter_library_include_s "-I" - #define fake_build_parameter_library_link_file_s "-l" - #define fake_build_parameter_library_link_path_s "-L" - #define fake_build_parameter_library_name_prefix_s "lib" - #define fake_build_parameter_library_name_suffix_shared_s ".so" - #define fake_build_parameter_library_name_suffix_static_s ".a" - #define fake_build_parameter_library_output_s "-o" - #define fake_build_parameter_library_shared_s "-shared" - #define fake_build_parameter_library_static_s "-static" - #define fake_build_parameter_library_shared_prefix_s "-Wl,-soname," + #define FAKE_build_parameter_library_include_s "-I" + #define FAKE_build_parameter_library_link_file_s "-l" + #define FAKE_build_parameter_library_link_path_s "-L" + #define FAKE_build_parameter_library_name_prefix_s "lib" + #define FAKE_build_parameter_library_name_suffix_shared_s ".so" + #define FAKE_build_parameter_library_name_suffix_static_s ".a" + #define FAKE_build_parameter_library_output_s "-o" + #define FAKE_build_parameter_library_shared_s "-shared" + #define FAKE_build_parameter_library_static_s "-static" + #define FAKE_build_parameter_library_shared_prefix_s "-Wl,-soname," #define fake_build_parameter_library_include_s_length 2 #define fake_build_parameter_library_link_file_s_length 2 @@ -409,19 +577,37 @@ extern "C" { #define fake_build_parameter_library_static_s_length 7 #define fake_build_parameter_library_shared_prefix_s_length 12 - #define fake_build_parameter_object_compile_s "-c" - #define fake_build_parameter_object_name_suffix_s ".o" - #define fake_build_parameter_object_output_s "-o" - #define fake_build_parameter_object_static_s "-static" + extern const f_string_t fake_build_parameter_library_include_s; + extern const f_string_t fake_build_parameter_library_link_file_s; + extern const f_string_t fake_build_parameter_library_link_path_s; + extern const f_string_t fake_build_parameter_library_name_prefix_s; + extern const f_string_t fake_build_parameter_library_name_suffix_shared_s; + extern const f_string_t fake_build_parameter_library_name_suffix_static_s; + extern const f_string_t fake_build_parameter_library_output_s; + extern const f_string_t fake_build_parameter_library_shared_s; + extern const f_string_t fake_build_parameter_library_static_s; + extern const f_string_t fake_build_parameter_library_shared_prefix_s; + + #define FAKE_build_parameter_object_compile_s "-c" + #define FAKE_build_parameter_object_name_suffix_s ".o" + #define FAKE_build_parameter_object_output_s "-o" + #define FAKE_build_parameter_object_static_s "-static" #define fake_build_parameter_object_compile_s_length 2 #define fake_build_parameter_object_name_suffix_s_length 2 #define fake_build_parameter_object_output_s_length 2 #define fake_build_parameter_object_static_s_length 7 - #define fake_build_parameter_object_link_arguments_s "rcs" + extern const f_string_t fake_build_parameter_object_compile_s; + extern const f_string_t fake_build_parameter_object_name_suffix_s; + extern const f_string_t fake_build_parameter_object_output_s; + extern const f_string_t fake_build_parameter_object_static_s; + + #define FAKE_build_parameter_object_link_arguments_s "rcs" #define fake_build_parameter_object_link_arguments_s_length 3 + + extern const f_string_t fake_build_parameter_object_link_arguments_s; #endif // _di_fake_build_parameter_ /** @@ -430,27 +616,44 @@ extern "C" { * fake_common_allocation_*: * - large: An allocation step used for buffers that are anticipated to have large buffers. * - small: An allocation step used for buffers that are anticipated to have small buffers. + * + * fake_common_setting_bool_*: + * - yes: A representation of yes or true. + * - no: A representation of no or false. */ #ifndef _di_fake_common_ #define fake_common_allocation_large_d 256 #define fake_common_allocation_small_d 16 - #define fake_common_initial_buffer_max_d 131072 // 128k max default initial buffer size. - - #define fake_common_setting_bool_yes_s "yes" - #define fake_common_setting_bool_no_s "no" + #define FAKE_common_setting_bool_yes_s "yes" + #define FAKE_common_setting_bool_no_s "no" #define fake_common_setting_bool_yes_s_length 3 #define fake_common_setting_bool_no_s_length 2 + + extern const f_string_t fake_common_setting_bool_yes_s; + extern const f_string_t fake_common_setting_bool_no_s; + + #define fake_common_initial_buffer_max_d 131072 // 128k max default initial buffer size. #endif // _di_fake_common_ +/** + * Provide common/generic definitions. + * + * fake_make_section_*: + * - main: The main section. + * - settings: The settings section. + */ #ifndef _di_fake_make_section_ - #define fake_make_section_main_s "main" - #define fake_make_section_settings_s "settings" + #define FAKE_make_section_main_s "main" + #define FAKE_make_section_settings_s "settings" #define fake_make_section_main_s_length 4 #define fake_make_section_settings_s_length 8 + extern const f_string_t fake_make_section_main_s; + extern const f_string_t fake_make_section_settings_s; + #define fake_make_section_stack_max_d 8192 // maximum stack call depth. #endif // _di_fake_make_section_ @@ -472,14 +675,14 @@ extern "C" { #define macro_fake_make_setting_t_delete_simple(setting) \ macro_f_string_map_multis_t_delete_simple(setting.parameter) - #define fake_make_setting_compiler_s "compiler" - #define fake_make_setting_define_s "define" - #define fake_make_setting_environment_s "environment" - #define fake_make_setting_fail_s "fail" - #define fake_make_setting_linker_s "linker" - #define fake_make_setting_load_build_s "load_build" - #define fake_make_setting_parameter_s "parameter" - #define fake_make_setting_return_s "return" + #define FAKE_make_setting_compiler_s "compiler" + #define FAKE_make_setting_define_s "define" + #define FAKE_make_setting_environment_s "environment" + #define FAKE_make_setting_fail_s "fail" + #define FAKE_make_setting_linker_s "linker" + #define FAKE_make_setting_load_build_s "load_build" + #define FAKE_make_setting_parameter_s "parameter" + #define FAKE_make_setting_return_s "return" #define fake_make_setting_compiler_s_length 8 #define fake_make_setting_define_s_length 6 @@ -489,40 +692,49 @@ extern "C" { #define fake_make_setting_load_build_s_length 10 #define fake_make_setting_parameter_s_length 9 #define fake_make_setting_return_s_length 6 + + extern const f_string_t fake_make_setting_compiler_s; + extern const f_string_t fake_make_setting_define_s; + extern const f_string_t fake_make_setting_environment_s; + extern const f_string_t fake_make_setting_fail_s; + extern const f_string_t fake_make_setting_linker_s; + extern const f_string_t fake_make_setting_load_build_s; + extern const f_string_t fake_make_setting_parameter_s; + extern const f_string_t fake_make_setting_return_s; #endif // _di_fake_make_setting_t_ #ifndef _di_fake_make_operation_ - #define fake_make_operation_break_s "break" - #define fake_make_operation_build_s "build" - #define fake_make_operation_clean_s "clean" - #define fake_make_operation_clone_s "clone" - #define fake_make_operation_compile_s "compile" - #define fake_make_operation_copy_s "copy" - #define fake_make_operation_define_s "define" - #define fake_make_operation_delete_s "delete" - #define fake_make_operation_deletes_s "deletes" - #define fake_make_operation_else_s "else" - #define fake_make_operation_exit_s "exit" - #define fake_make_operation_fail_s "fail" - #define fake_make_operation_group_s "group" - #define fake_make_operation_groups_s "groups" - #define fake_make_operation_if_s "if" - #define fake_make_operation_index_s "index" - #define fake_make_operation_link_s "link" - #define fake_make_operation_mode_s "mode" - #define fake_make_operation_modes_s "modes" - #define fake_make_operation_move_s "move" - #define fake_make_operation_operate_s "operate" - #define fake_make_operation_owner_s "owner" - #define fake_make_operation_owners_s "owners" - #define fake_make_operation_pop_s "pop" - #define fake_make_operation_print_s "print" - #define fake_make_operation_run_s "run" - #define fake_make_operation_shell_s "shell" - #define fake_make_operation_skeleton_s "skeleton" - #define fake_make_operation_to_s "to" - #define fake_make_operation_top_s "top" - #define fake_make_operation_touch_s "touch" + #define FAKE_make_operation_break_s "break" + #define FAKE_make_operation_build_s "build" + #define FAKE_make_operation_clean_s "clean" + #define FAKE_make_operation_clone_s "clone" + #define FAKE_make_operation_compile_s "compile" + #define FAKE_make_operation_copy_s "copy" + #define FAKE_make_operation_define_s "define" + #define FAKE_make_operation_delete_s "delete" + #define FAKE_make_operation_deletes_s "deletes" + #define FAKE_make_operation_else_s "else" + #define FAKE_make_operation_exit_s "exit" + #define FAKE_make_operation_fail_s "fail" + #define FAKE_make_operation_group_s "group" + #define FAKE_make_operation_groups_s "groups" + #define FAKE_make_operation_if_s "if" + #define FAKE_make_operation_index_s "index" + #define FAKE_make_operation_link_s "link" + #define FAKE_make_operation_mode_s "mode" + #define FAKE_make_operation_modes_s "modes" + #define FAKE_make_operation_move_s "move" + #define FAKE_make_operation_operate_s "operate" + #define FAKE_make_operation_owner_s "owner" + #define FAKE_make_operation_owners_s "owners" + #define FAKE_make_operation_pop_s "pop" + #define FAKE_make_operation_print_s "print" + #define FAKE_make_operation_run_s "run" + #define FAKE_make_operation_shell_s "shell" + #define FAKE_make_operation_skeleton_s "skeleton" + #define FAKE_make_operation_to_s "to" + #define FAKE_make_operation_top_s "top" + #define FAKE_make_operation_touch_s "touch" #define fake_make_operation_break_s_length 5 #define fake_make_operation_build_s_length 5 @@ -556,6 +768,38 @@ extern "C" { #define fake_make_operation_top_s_length 3 #define fake_make_operation_touch_s_length 5 + extern const f_string_t fake_make_operation_break_s; + extern const f_string_t fake_make_operation_build_s; + extern const f_string_t fake_make_operation_clean_s; + extern const f_string_t fake_make_operation_clone_s; + extern const f_string_t fake_make_operation_compile_s; + extern const f_string_t fake_make_operation_copy_s; + extern const f_string_t fake_make_operation_define_s; + extern const f_string_t fake_make_operation_delete_s; + extern const f_string_t fake_make_operation_deletes_s; + extern const f_string_t fake_make_operation_else_s; + extern const f_string_t fake_make_operation_exit_s; + extern const f_string_t fake_make_operation_fail_s; + extern const f_string_t fake_make_operation_group_s; + extern const f_string_t fake_make_operation_groups_s; + extern const f_string_t fake_make_operation_if_s; + extern const f_string_t fake_make_operation_index_s; + extern const f_string_t fake_make_operation_link_s; + extern const f_string_t fake_make_operation_mode_s; + extern const f_string_t fake_make_operation_modes_s; + extern const f_string_t fake_make_operation_move_s; + extern const f_string_t fake_make_operation_operate_s; + extern const f_string_t fake_make_operation_owner_s; + extern const f_string_t fake_make_operation_owners_s; + extern const f_string_t fake_make_operation_pop_s; + extern const f_string_t fake_make_operation_print_s; + extern const f_string_t fake_make_operation_run_s; + extern const f_string_t fake_make_operation_shell_s; + extern const f_string_t fake_make_operation_skeleton_s; + extern const f_string_t fake_make_operation_to_s; + extern const f_string_t fake_make_operation_top_s; + extern const f_string_t fake_make_operation_touch_s; + enum { fake_make_operation_type_break = 1, fake_make_operation_type_build, @@ -592,21 +836,21 @@ extern "C" { #define fake_make_operation_total_d 31 - #define fake_make_operation_argument_environment_s "environment" - #define fake_make_operation_argument_failure_s "failure" - #define fake_make_operation_argument_file_s "file" - #define fake_make_operation_argument_directory_s "directory" - #define fake_make_operation_argument_error_s "error" - #define fake_make_operation_argument_exit_s "exit" - #define fake_make_operation_argument_has_s "has" - #define fake_make_operation_argument_ignore_s "ignore" - #define fake_make_operation_argument_is_s "is" - #define fake_make_operation_argument_parameter_s "parameter" - #define fake_make_operation_argument_point_s "point" - #define fake_make_operation_argument_recursive_s "recursive" - #define fake_make_operation_argument_success_s "success" - #define fake_make_operation_argument_target_s "target" - #define fake_make_operation_argument_warn_s "warn" + #define FAKE_make_operation_argument_environment_s "environment" + #define FAKE_make_operation_argument_failure_s "failure" + #define FAKE_make_operation_argument_file_s "file" + #define FAKE_make_operation_argument_directory_s "directory" + #define FAKE_make_operation_argument_error_s "error" + #define FAKE_make_operation_argument_exit_s "exit" + #define FAKE_make_operation_argument_has_s "has" + #define FAKE_make_operation_argument_ignore_s "ignore" + #define FAKE_make_operation_argument_is_s "is" + #define FAKE_make_operation_argument_parameter_s "parameter" + #define FAKE_make_operation_argument_point_s "point" + #define FAKE_make_operation_argument_recursive_s "recursive" + #define FAKE_make_operation_argument_success_s "success" + #define FAKE_make_operation_argument_target_s "target" + #define FAKE_make_operation_argument_warn_s "warn" #define fake_make_operation_argument_environment_s_length 11 #define fake_make_operation_argument_failure_s_length 7 @@ -624,21 +868,37 @@ extern "C" { #define fake_make_operation_argument_target_s_length 6 #define fake_make_operation_argument_warn_s_length 4 - #define fake_make_operation_argument_if_defined_s "defined" - #define fake_make_operation_argument_if_equal_s "==" - #define fake_make_operation_argument_if_equal_not_s "<>" - #define fake_make_operation_argument_if_exists_s "exists" - #define fake_make_operation_argument_if_failure_s "failure" - #define fake_make_operation_argument_if_greater_s ">" - #define fake_make_operation_argument_if_greater_equal_s ">=" - #define fake_make_operation_argument_if_group_s "group" - #define fake_make_operation_argument_if_is_s "is" - #define fake_make_operation_argument_if_is_for_s "for" - #define fake_make_operation_argument_if_less_s "<" - #define fake_make_operation_argument_if_less_equal_s "<=" - #define fake_make_operation_argument_if_mode_s "mode" - #define fake_make_operation_argument_if_owner_s "owner" - #define fake_make_operation_argument_if_success_s "success" + extern const f_string_t fake_make_operation_argument_environment_s; + extern const f_string_t fake_make_operation_argument_failure_s; + extern const f_string_t fake_make_operation_argument_file_s; + extern const f_string_t fake_make_operation_argument_directory_s; + extern const f_string_t fake_make_operation_argument_error_s; + extern const f_string_t fake_make_operation_argument_exit_s; + extern const f_string_t fake_make_operation_argument_has_s; + extern const f_string_t fake_make_operation_argument_ignore_s; + extern const f_string_t fake_make_operation_argument_is_s; + extern const f_string_t fake_make_operation_argument_parameter_s; + extern const f_string_t fake_make_operation_argument_point_s; + extern const f_string_t fake_make_operation_argument_recursive_s; + extern const f_string_t fake_make_operation_argument_success_s; + extern const f_string_t fake_make_operation_argument_target_s; + extern const f_string_t fake_make_operation_argument_warn_s; + + #define FAKE_make_operation_argument_if_defined_s "defined" + #define FAKE_make_operation_argument_if_equal_s "==" + #define FAKE_make_operation_argument_if_equal_not_s "<>" + #define FAKE_make_operation_argument_if_exists_s "exists" + #define FAKE_make_operation_argument_if_failure_s "failure" + #define FAKE_make_operation_argument_if_greater_s ">" + #define FAKE_make_operation_argument_if_greater_equal_s ">=" + #define FAKE_make_operation_argument_if_group_s "group" + #define FAKE_make_operation_argument_if_is_s "is" + #define FAKE_make_operation_argument_if_is_for_s "for" + #define FAKE_make_operation_argument_if_less_s "<" + #define FAKE_make_operation_argument_if_less_equal_s "<=" + #define FAKE_make_operation_argument_if_mode_s "mode" + #define FAKE_make_operation_argument_if_owner_s "owner" + #define FAKE_make_operation_argument_if_success_s "success" #define fake_make_operation_argument_if_defined_s_length 7 #define fake_make_operation_argument_if_equal_s_length 2 @@ -656,6 +916,22 @@ extern "C" { #define fake_make_operation_argument_if_owner_s_length 5 #define fake_make_operation_argument_if_success_s_length 7 + extern const f_string_t fake_make_operation_argument_if_defined_s; + extern const f_string_t fake_make_operation_argument_if_equal_s; + extern const f_string_t fake_make_operation_argument_if_equal_not_s; + extern const f_string_t fake_make_operation_argument_if_exists_s; + extern const f_string_t fake_make_operation_argument_if_failure_s; + extern const f_string_t fake_make_operation_argument_if_greater_s; + extern const f_string_t fake_make_operation_argument_if_greater_equal_s; + extern const f_string_t fake_make_operation_argument_if_group_s; + extern const f_string_t fake_make_operation_argument_if_is_s; + extern const f_string_t fake_make_operation_argument_if_is_for_s; + extern const f_string_t fake_make_operation_argument_if_less_s; + extern const f_string_t fake_make_operation_argument_if_less_equal_s; + extern const f_string_t fake_make_operation_argument_if_mode_s; + extern const f_string_t fake_make_operation_argument_if_owner_s; + extern const f_string_t fake_make_operation_argument_if_success_s; + enum { fake_make_operation_if_type_else_false = 1, fake_make_operation_if_type_else_false_next, @@ -694,18 +970,18 @@ extern "C" { #endif // _di_fake_make_operation_ #ifndef _di_fake_make_parameter_t_ - #define fake_make_parameter_variable_build_s "build" - #define fake_make_parameter_variable_color_s "color" - #define fake_make_parameter_variable_data_s "data" - #define fake_make_parameter_variable_define_s "define" - #define fake_make_parameter_variable_fakefile_s "fakefile" - #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_settings_s "settings" - #define fake_make_parameter_variable_sources_s "sources" - #define fake_make_parameter_variable_verbosity_s "verbosity" - #define fake_make_parameter_variable_work_s "work" + #define FAKE_make_parameter_variable_build_s "build" + #define FAKE_make_parameter_variable_color_s "color" + #define FAKE_make_parameter_variable_data_s "data" + #define FAKE_make_parameter_variable_define_s "define" + #define FAKE_make_parameter_variable_fakefile_s "fakefile" + #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_settings_s "settings" + #define FAKE_make_parameter_variable_sources_s "sources" + #define FAKE_make_parameter_variable_verbosity_s "verbosity" + #define FAKE_make_parameter_variable_work_s "work" #define fake_make_parameter_variable_build_s_length 5 #define fake_make_parameter_variable_color_s_length 5 @@ -720,6 +996,19 @@ extern "C" { #define fake_make_parameter_variable_verbosity_s_length 9 #define fake_make_parameter_variable_work_s_length 4 + extern const f_string_t fake_make_parameter_variable_build_s; + extern const f_string_t fake_make_parameter_variable_color_s; + extern const f_string_t fake_make_parameter_variable_data_s; + extern const f_string_t fake_make_parameter_variable_define_s; + extern const f_string_t fake_make_parameter_variable_fakefile_s; + extern const f_string_t fake_make_parameter_variable_mode_s; + extern const f_string_t fake_make_parameter_variable_process_s; + extern const f_string_t fake_make_parameter_variable_return_s; + extern const f_string_t fake_make_parameter_variable_settings_s; + extern const f_string_t fake_make_parameter_variable_sources_s; + extern const f_string_t fake_make_parameter_variable_verbosity_s; + extern const f_string_t fake_make_parameter_variable_work_s; + typedef struct { f_string_dynamics_t build; f_string_dynamics_t color; @@ -825,15 +1114,20 @@ extern "C" { #endif // _di_fake_make_data_t_ #ifndef _di_fake_skeleton_content_ - #define fake_make_skeleton_content_defines_s "# fss-0000\n\n" - #define fake_make_skeleton_content_dependencies_s "# fss-0000\n\n" - #define fake_make_skeleton_content_fakefile_s "# fss-0005 iki-0002\n\nsettings:\n fail exit\n\nmain:\n\n" - #define fake_make_skeleton_content_settings_s "# fss-0001\n\n" + #define FAKE_make_skeleton_content_defines_s "# fss-0000\n\n" + #define FAKE_make_skeleton_content_dependencies_s "# fss-0000\n\n" + #define FAKE_make_skeleton_content_fakefile_s "# fss-0005 iki-0002\n\nsettings:\n fail exit\n\nmain:\n\n" + #define FAKE_make_skeleton_content_settings_s "# fss-0001\n\n" #define fake_make_skeleton_content_defines_s_length 12 #define fake_make_skeleton_content_dependencies_s_length 12 #define fake_make_skeleton_content_fakefile_s_length 51 #define fake_make_skeleton_content_settings_s_length 12 + + extern const f_string_t fake_make_skeleton_content_defines_s; + extern const f_string_t fake_make_skeleton_content_dependencies_s; + extern const f_string_t fake_make_skeleton_content_fakefile_s; + extern const f_string_t fake_make_skeleton_content_settings_s; #endif // _di_fake_skeleton_content_ #ifdef __cplusplus diff --git a/level_3/fake/c/private-make.c b/level_3/fake/c/private-make.c index 2d751c2..df07087 100644 --- a/level_3/fake/c/private-make.c +++ b/level_3/fake/c/private-make.c @@ -1785,18 +1785,36 @@ extern "C" { if (unmatched) { const f_string_t dynamics_name[] = { fake_build_setting_name_build_libraries_s, + fake_build_setting_name_build_libraries_shared_s, + fake_build_setting_name_build_libraries_static_s, fake_build_setting_name_build_sources_headers_s, + fake_build_setting_name_build_sources_headers_shared_s, + fake_build_setting_name_build_sources_headers_static_s, fake_build_setting_name_build_sources_library_s, + fake_build_setting_name_build_sources_library_shared_s, + fake_build_setting_name_build_sources_library_static_s, fake_build_setting_name_build_sources_program_s, + fake_build_setting_name_build_sources_program_shared_s, + fake_build_setting_name_build_sources_program_static_s, fake_build_setting_name_build_sources_settings_s, fake_build_setting_name_build_sources_script_s, - fake_build_setting_name_defines_all_s, + fake_build_setting_name_defines_s, + fake_build_setting_name_defines_library_s, + fake_build_setting_name_defines_library_shared_s, + fake_build_setting_name_defines_library_static_s, + fake_build_setting_name_defines_program_s, + fake_build_setting_name_defines_program_shared_s, + fake_build_setting_name_defines_program_static_s, fake_build_setting_name_defines_shared_s, fake_build_setting_name_defines_static_s, fake_build_setting_name_environment_s, - fake_build_setting_name_flags_all_s, + fake_build_setting_name_flags_s, fake_build_setting_name_flags_library_s, + fake_build_setting_name_flags_library_shared_s, + fake_build_setting_name_flags_library_static_s, fake_build_setting_name_flags_program_s, + fake_build_setting_name_flags_program_shared_s, + fake_build_setting_name_flags_program_static_s, fake_build_setting_name_flags_shared_s, fake_build_setting_name_flags_static_s, fake_build_setting_name_modes_s, @@ -1805,18 +1823,36 @@ extern "C" { const f_array_length_t dynamics_length[] = { fake_build_setting_name_build_libraries_s_length, + fake_build_setting_name_build_libraries_shared_s_length, + fake_build_setting_name_build_libraries_static_s_length, fake_build_setting_name_build_sources_headers_s_length, + fake_build_setting_name_build_sources_headers_shared_s_length, + fake_build_setting_name_build_sources_headers_static_s_length, fake_build_setting_name_build_sources_library_s_length, + fake_build_setting_name_build_sources_library_shared_s_length, + fake_build_setting_name_build_sources_library_static_s_length, fake_build_setting_name_build_sources_program_s_length, + fake_build_setting_name_build_sources_program_shared_s_length, + fake_build_setting_name_build_sources_program_static_s_length, fake_build_setting_name_build_sources_settings_s_length, fake_build_setting_name_build_sources_script_s_length, - fake_build_setting_name_defines_all_s_length, + fake_build_setting_name_defines_s_length, + fake_build_setting_name_defines_library_s_length, + fake_build_setting_name_defines_library_shared_s_length, + fake_build_setting_name_defines_library_static_s_length, + fake_build_setting_name_defines_program_s_length, + fake_build_setting_name_defines_program_shared_s_length, + fake_build_setting_name_defines_program_static_s_length, fake_build_setting_name_defines_shared_s_length, fake_build_setting_name_defines_static_s_length, fake_build_setting_name_environment_length_s, - fake_build_setting_name_flags_all_s_length, + fake_build_setting_name_flags_s_length, fake_build_setting_name_flags_library_s_length, + fake_build_setting_name_flags_library_shared_s_length, + fake_build_setting_name_flags_library_static_s_length, fake_build_setting_name_flags_program_s_length, + fake_build_setting_name_flags_program_shared_s_length, + fake_build_setting_name_flags_program_static_s_length, fake_build_setting_name_flags_shared_s_length, fake_build_setting_name_flags_static_s_length, fake_build_setting_name_modes_s_length, @@ -1825,25 +1861,43 @@ extern "C" { const f_string_dynamics_t dynamics_value[] = { data_make->setting_build.build_libraries, + data_make->setting_build.build_libraries_shared, + data_make->setting_build.build_libraries_static, data_make->setting_build.build_sources_headers, + data_make->setting_build.build_sources_headers_shared, + data_make->setting_build.build_sources_headers_static, data_make->setting_build.build_sources_library, + data_make->setting_build.build_sources_library_shared, + data_make->setting_build.build_sources_library_static, data_make->setting_build.build_sources_program, + data_make->setting_build.build_sources_program_shared, + data_make->setting_build.build_sources_program_static, data_make->setting_build.build_sources_setting, data_make->setting_build.build_sources_script, - data_make->setting_build.defines_all, + data_make->setting_build.defines, + data_make->setting_build.defines_library, + data_make->setting_build.defines_library_shared, + data_make->setting_build.defines_library_static, + data_make->setting_build.defines_program, + data_make->setting_build.defines_program_shared, + data_make->setting_build.defines_program_static, data_make->setting_build.defines_shared, data_make->setting_build.defines_static, data_make->setting_build.environment, - data_make->setting_build.flags_all, + data_make->setting_build.flags, data_make->setting_build.flags_library, + data_make->setting_build.flags_library_shared, + data_make->setting_build.flags_library_static, data_make->setting_build.flags_program, + data_make->setting_build.flags_program_shared, + data_make->setting_build.flags_program_static, data_make->setting_build.flags_shared, data_make->setting_build.flags_static, data_make->setting_build.modes, data_make->setting_build.modes_default, }; - for (uint8_t i = 0; i < 17; ++i) { + for (uint8_t i = 0; i < 35; ++i) { status = fl_string_dynamic_partial_compare_string(dynamics_name[i], data_make->buffer, dynamics_length[i], range_name); diff --git a/level_3/fake/data/build/settings b/level_3/fake/data/build/settings index 8c3bc2d..5dfd2d4 100644 --- a/level_3/fake/data/build/settings +++ b/level_3/fake/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc -lcap build_libraries-individual -lfll_error -lfll_execute -lfll_file -lfll_fss -lfll_path -lfll_print -lfll_program -lfl_console -lfl_control_group -lfl_conversion -lfl_directory -lfl_environment -lfl_fss -lfl_iki -lfl_print -lfl_status -lfl_string -lf_account -lf_capability -lf_color -lf_console -lf_control_group -lf_conversion -lf_directory -lf_environment -lf_execute -lf_file -lf_fss -lf_iki -lf_limit -lf_memory -lf_path -lf_print -lf_signal -lf_string -lf_thread -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library fake.c private-common.c private-fake.c private-clean.c private-build.c private-make.c private-print.c private-skeleton.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers fake.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -pthread -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -pthread -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/fake/data/build/settings-example-bzip2 b/level_3/fake/data/build/settings-example-bzip2 index cc247e8..dcc4722 100644 --- a/level_3/fake/data/build/settings-example-bzip2 +++ b/level_3/fake/data/build/settings-example-bzip2 @@ -27,8 +27,8 @@ build_script no path_sources path_standard no -defines_all -D_FILE_OFFSET_BITS=64 +defines -D_FILE_OFFSET_BITS=64 -flags_all -z now -g -fdiagnostics-color=always -Wall -Winline -O2 +flags -z now -g -fdiagnostics-color=always -Wall -Winline -O2 flags_library -fPIC flags_program -fPIE diff --git a/level_3/fake/data/build/settings-example-bzip2recover b/level_3/fake/data/build/settings-example-bzip2recover index 21714e6..eff7569 100644 --- a/level_3/fake/data/build/settings-example-bzip2recover +++ b/level_3/fake/data/build/settings-example-bzip2recover @@ -26,8 +26,8 @@ build_script no path_sources path_standard no -defines_all -D_FILE_OFFSET_BITS=64 +defines -D_FILE_OFFSET_BITS=64 -flags_all -z now -g -fdiagnostics-color=always -Wall -Winline -O2 +flags -z now -g -fdiagnostics-color=always -Wall -Winline -O2 flags_library -fPIC flags_program -fPIE diff --git a/level_3/fake/documents/settings.txt b/level_3/fake/documents/settings.txt index e1779cc..62c190c 100644 --- a/level_3/fake/documents/settings.txt +++ b/level_3/fake/documents/settings.txt @@ -26,6 +26,18 @@ Settings Documentation: This should include the compiler specific parameter parts, such as the "-l" prefix in "-lc". The order of these may matter if the compiler (such as GCC or a linker via GCC) is order sensitive. + build_libraries_shared\: + A collection of libraries to be linked against. + This should include the compiler specific parameter parts, such as the "-l" prefix in "-lc". + The order of these may matter if the compiler (such as GCC or a linker via GCC) is order sensitive. + These are applied to only shared builds. + + build_libraries_static\: + A collection of libraries to be linked against. + This should include the compiler specific parameter parts, such as the "-l" prefix in "-lc". + The order of these may matter if the compiler (such as GCC or a linker via GCC) is order sensitive. + These are applied to only static builds. + build_script\: When "yes", the build process will build any scripts, such as a Bash script. This is currently not implemented. @@ -38,11 +50,37 @@ Settings Documentation: May include a relative sub-path to each individual header (such as: "level_0/a.h level_0/b.h level_1/c.h"). The order of these may matter if the compiler (such as GCC or a linker via GCC) is order sensitive. + build_sources_headers_shared\: + A collection of header files. + May include a relative sub-path to each individual header (such as: "level_0/a.h level_0/b.h level_1/c.h"). + The order of these may matter if the compiler (such as GCC or a linker via GCC) is order sensitive. + Be careful not to have any conflicting names between this and build_sources_headers_static in case of when static and shared builds are both enabled. + These are applied to only shared builds. + + build_sources_headers_static\: + A collection of header files. + May include a relative sub-path to each individual header (such as: "level_0/a.h level_0/b.h level_1/c.h"). + The order of these may matter if the compiler (such as GCC or a linker via GCC) is order sensitive. + These files are used when compiling the library. + Be careful not to have any conflicting names between this and build_sources_headers_shared in case of when static and shared builds are both enabled. + These are applied to only static builds. + build_sources_library\: A collection of library related source files. May include a relative sub-path to each individual source file (such as: "level_0/a.c level_0/b.c level_1/c.c"). The order of these may matter if the compiler (such as GCC or a linker via GCC) is order sensitive. - These files are used when compiling the library. + + build_sources_library_shared\: + A collection of library related source files. + May include a relative sub-path to each individual source file (such as: "level_0/a.c level_0/b.c level_1/c.c"). + The order of these may matter if the compiler (such as GCC or a linker via GCC) is order sensitive. + These are applied to only shared builds. + + build_sources_library_static\: + A collection of library related source files. + May include a relative sub-path to each individual source file (such as: "level_0/a.c level_0/b.c level_1/c.c"). + The order of these may matter if the compiler (such as GCC or a linker via GCC) is order sensitive. + These are applied to only static builds. build_sources_program\: A collection of program related source files. @@ -50,6 +88,18 @@ Settings Documentation: The order of these may matter if the compiler (such as GCC or a linker via GCC) is order sensitive. These files are used when compiling the program. + build_sources_program_shared\: + A collection of program related source files. + May include a relative sub-path to each individual source file (such as: "level_0/a.c level_0/b.c level_1/c.c"). + The order of these may matter if the compiler (such as GCC or a linker via GCC) is order sensitive. + These files are used when compiling the program for shared builds. + + build_sources_program_static\: + A collection of program related source files. + May include a relative sub-path to each individual source file (such as: "level_0/a.c level_0/b.c level_1/c.c"). + The order of these may matter if the compiler (such as GCC or a linker via GCC) is order sensitive. + These files are used when compiling the program for static builds. + build_sources_script\: A collection of script files. These are settings files used by the project and are simply copied over to the build directory. @@ -65,7 +115,7 @@ Settings Documentation: build_static\: When "yes", the build process will compile any source code for any supported language that supports static library linking. - defines_all\: + defines\: A collection of macro names. This includes the any compiler specific parameters required by the "build_compiler", such as the "-D" used by gcc and clang. These will be appended to the compiler for compiled languages such as C and C++. @@ -77,12 +127,36 @@ Settings Documentation: These will be appended to the compiler for compiled languages such as C and C++. These are applied to only library builds. + defines_library_shared\: + A collection of macro names. + This includes the any compiler specific parameters required by the "build_compiler", such as the "-D" used by gcc and clang. + These will be appended to the compiler for compiled languages such as C and C++. + These are applied to only shared library builds. + + defines_library_static\: + A collection of macro names. + This includes the any compiler specific parameters required by the "build_compiler", such as the "-D" used by gcc and clang. + These will be appended to the compiler for compiled languages such as C and C++. + These are applied to only static library builds. + defines_program\: A collection of macro names. This includes the any compiler specific parameters required by the "build_compiler", such as the "-D" used by gcc and clang. These will be appended to the compiler for compiled languages such as C and C++. These are applied to only program builds. + defines_program_shared\: + A collection of macro names. + This includes the any compiler specific parameters required by the "build_compiler", such as the "-D" used by gcc and clang. + These will be appended to the compiler for compiled languages such as C and C++. + These are applied to only shared program builds. + + defines_program_static\: + A collection of macro names. + This includes the any compiler specific parameters required by the "build_compiler", such as the "-D" used by gcc and clang. + These will be appended to the compiler for compiled languages such as C and C++. + These are applied to only shared program builds. + defines_shared\: A collection of macro names. This includes the any compiler specific parameters required by the "build_compiler", such as the "-D" used by gcc and clang. @@ -101,7 +175,7 @@ Settings Documentation: There are times when someone desires that an environment variable be exposed to the user-space programs. Add them here and they will be available in the environment of all user-space programs executed. - flags_all\: + flags\: A collection of any flag supported by the "build_compiler", such as gcc. This includes the any compiler specific parameters to defined this, such as the "-f" used by gcc and clang. These are applied to both shared and static builds. @@ -111,11 +185,31 @@ Settings Documentation: This includes the any compiler specific parameters to defined this, such as the "-f" used by gcc and clang. These are applied when building a library. + flags_library_shared\: + A collection of any flag supported by the "build_compiler", such as gcc. + This includes the any compiler specific parameters to defined this, such as the "-f" used by gcc and clang. + These are applied to only library shared builds. + + flags_library_static\: + A collection of any flag supported by the "build_compiler", such as gcc. + This includes the any compiler specific parameters to defined this, such as the "-f" used by gcc and clang. + These are applied to only library static builds. + flags_program\: A collection of any flag supported by the "build_compiler", such as gcc. This includes the any compiler specific parameters to defined this, such as the "-f" used by gcc and clang. These are applied when building a program. + flags_program_shared\: + A collection of any flag supported by the "build_compiler", such as gcc. + This includes the any compiler specific parameters to defined this, such as the "-f" used by gcc and clang. + These are applied to only program shared builds. + + flags_program_static\: + A collection of any flag supported by the "build_compiler", such as gcc. + This includes the any compiler specific parameters to defined this, such as the "-f" used by gcc and clang. + These are applied to only program static builds. + flags_shared\: A collection of any flag supported by the "build_compiler", such as gcc. This includes the any compiler specific parameters to defined this, such as the "-f" used by gcc and clang. diff --git a/level_3/fake/specifications/settings.txt b/level_3/fake/specifications/settings.txt index e116bc6..46731ff 100644 --- a/level_3/fake/specifications/settings.txt +++ b/level_3/fake/specifications/settings.txt @@ -14,23 +14,39 @@ Settings Specification: "build_indexer": Must only be a valid filename. "build_language": Must only be one of: "bash", "c", or "c++". "build_libraries": Must only contain any number of valid library include arguments that are valid for the compiler defined in "build_compiler" Object. + "build_libraries_shared": Must only contain any number of valid library include arguments that are valid for the compiler defined in "build_compiler" Object. + "build_libraries_static": Must only contain any number of valid library include arguments that are valid for the compiler defined in "build_compiler" Object. "build_script": Must only one of: "yes" or "no". "build_shared": Must only one of: "yes" or "no". "build_sources_headers": Must only contain any number of valid filenames. + "build_sources_headers_shared": Must only contain any number of valid filenames. + "build_sources_headers_static": Must only contain any number of valid filenames. "build_sources_library": Must only contain any number of valid filenames. + "build_sources_library_shared": Must only contain any number of valid filenames. + "build_sources_library_static": Must only contain any number of valid filenames. "build_sources_program": Must only contain any number of valid filenames. + "build_sources_program_shared": Must only contain any number of valid filenames. + "build_sources_program_static": Must only contain any number of valid filenames. "build_sources_script": Must only contain any number of valid filenames. "build_sources_setting": Must only contain any number of valid filenames. "build_static": Must only one of: "yes" or "no". - "defines_all": Must only contain any number of valid macro names supported by the compiler specified in "build_compiler". + "defines": Must only contain any number of valid macro names supported by the compiler specified in "build_compiler". "defines_library": Must only contain any number of valid macro names supported by the compiler specified in "build_compiler". + "defines_library_shared": Must only contain any number of valid macro names supported by the compiler specified in "build_compiler". + "defines_library_static": Must only contain any number of valid macro names supported by the compiler specified in "build_compiler". "defines_program": Must only contain any number of valid macro names supported by the compiler specified in "build_compiler". + "defines_program_shared": Must only contain any number of valid macro names supported by the compiler specified in "build_compiler". + "defines_program_static": Must only contain any number of valid macro names supported by the compiler specified in "build_compiler". "defines_shared": Must only contain any number of valid macro names supported by the compiler specified in "build_compiler". "defines_static": Must only contain any number of valid macro names supported by the compiler specified in "build_compiler". "environment": Environment variable names, case-sensitive, usually uppercase. May only contain characters allowed in an environment variable. - "flags_all": Must only contain any number of parameters supported by the compiler specified in "build_compiler". + "flags": Must only contain any number of parameters supported by the compiler specified in "build_compiler". "flags_library": Must only contain any number of parameters supported by the compiler specified in "build_compiler". + "flags_library_shared": Must only contain any number of parameters supported by the compiler specified in "build_compiler". + "flags_library_static": Must only contain any number of parameters supported by the compiler specified in "build_compiler". "flags_program": Must only contain any number of parameters supported by the compiler specified in "build_compiler". + "flags_program_shared": Must only contain any number of parameters supported by the compiler specified in "build_compiler". + "flags_program_static": Must only contain any number of parameters supported by the compiler specified in "build_compiler". "flags_shared": Must only contain any number of parameters supported by the compiler specified in "build_compiler". "flags_static": Must only contain any number of parameters supported by the compiler specified in "build_compiler". "modes": Any valid word character, '-', or '+'. @@ -65,21 +81,35 @@ Settings Specification: The following Object names support having a "-" and a "mode" name, such as "build_libraries-individual" for a mode called "individual"\: "build_libraries" + "build_libraries_shared" + "build_libraries_static" "build_sources_headers" + "build_sources_headers_shared" + "build_sources_headers_static" "build_sources_library" + "build_sources_library_shared" + "build_sources_library_static" "build_sources_program" + "build_sources_program_shared" + "build_sources_program_static" "build_sources_script" "build_sources_setting" - "defines_all" + "defines" + "defines_library" + "defines_library_shared" + "defines_library_static" + "defines_program" + "defines_program_shared" + "defines_program_static" "defines_shared" "defines_static" "environment" - "flags_all" + "flags" "flags_library" + "flags_library_shared" + "flags_library_static" "flags_program" + "flags_program_shared" + "flags_program_static" "flags_shared" "flags_static" - - TODO: look into adding all, except for "modes" and "modes_default". - TODO: some options will "replace" while others will "append". - those that "replace" will be single property ones, such as "build_compiler" or "version_major". diff --git a/level_3/firewall/data/build/settings b/level_3/firewall/data/build/settings index db7b5e0..a00c68a 100644 --- a/level_3/firewall/data/build/settings +++ b/level_3/firewall/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc -lcap build_libraries-individual -lfll_error -lfll_execute -lfll_fss -lfll_print -lfll_program -lfl_console -lfl_control_group -lfl_conversion -lfl_environment -lfl_fss -lfl_print -lfl_status -lfl_string -lf_account -lf_capability -lf_color -lf_console -lf_control_group -lf_conversion -lf_directory -lf_environment -lf_execute -lf_file -lf_fss -lf_limit -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_string -lf_thread -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library firewall.c private-common.c private-firewall.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers firewall.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting default-blacklist default-whitelist example-device-firewall firewall-first firewall-last firewall-other build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -pthread -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -pthread -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/fss_basic_list_read/data/build/settings b/level_3/fss_basic_list_read/data/build/settings index c80b202..d3765f4 100644 --- a/level_3/fss_basic_list_read/data/build/settings +++ b/level_3/fss_basic_list_read/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_file -lfll_fss -lfll_print -lfll_program -lfl_console -lfl_conversion -lfl_directory -lfl_fss -lfl_print -lfl_status -lfl_string -lf_color -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library fss_basic_list_read.c private-common.c private-fss_basic_list_read.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers fss_basic_list_read.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/fss_basic_list_write/data/build/settings b/level_3/fss_basic_list_write/data/build/settings index 4a0e486..101c5fc 100644 --- a/level_3/fss_basic_list_write/data/build/settings +++ b/level_3/fss_basic_list_write/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_file -lfll_fss -lfll_print -lfll_program -lfl_console -lfl_conversion -lfl_directory -lfl_fss -lfl_print -lfl_status -lfl_string -lf_color -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library fss_basic_list_write.c private-common.c private-fss_basic_list_write.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers fss_basic_list_write.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/fss_basic_read/data/build/settings b/level_3/fss_basic_read/data/build/settings index 7555201..09e5ddc 100644 --- a/level_3/fss_basic_read/data/build/settings +++ b/level_3/fss_basic_read/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_file -lfll_fss -lfll_print -lfll_program -lfl_console -lfl_conversion -lfl_directory -lfl_fss -lfl_print -lfl_status -lfl_string -lf_color -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library fss_basic_read.c private-common.c private-fss_basic_read.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers fss_basic_read.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/fss_basic_write/data/build/settings b/level_3/fss_basic_write/data/build/settings index 3dee8de..54adac2 100644 --- a/level_3/fss_basic_write/data/build/settings +++ b/level_3/fss_basic_write/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_file -lfll_fss -lfll_print -lfll_program -lfl_console -lfl_conversion -lfl_directory -lfl_fss -lfl_print -lfl_status -lfl_string -lf_color -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library fss_basic_write.c private-common.c private-fss_basic_write.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers fss_basic_write.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/fss_embedded_list_read/data/build/settings b/level_3/fss_embedded_list_read/data/build/settings index 5f38bff..eb852ad 100644 --- a/level_3/fss_embedded_list_read/data/build/settings +++ b/level_3/fss_embedded_list_read/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_file -lfll_fss -lfll_print -lfll_program -lfl_console -lfl_conversion -lfl_directory -lfl_fss -lfl_print -lfl_status -lfl_string -lf_color -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library fss_embedded_list_read.c private-common.c private-fss_embedded_list_read.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers fss_embedded_list_read.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/fss_embedded_list_write/data/build/settings b/level_3/fss_embedded_list_write/data/build/settings index f293912..e47f681 100644 --- a/level_3/fss_embedded_list_write/data/build/settings +++ b/level_3/fss_embedded_list_write/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_file -lfll_fss -lfll_print -lfll_program -lfl_console -lfl_conversion -lfl_directory -lfl_fss -lfl_print -lfl_status -lfl_string -lf_color -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library fss_embedded_list_write.c private-common.c private-fss_embedded_list_write.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers fss_embedded_list_write.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/fss_extended_list_read/data/build/settings b/level_3/fss_extended_list_read/data/build/settings index d010f79..d5272c4 100644 --- a/level_3/fss_extended_list_read/data/build/settings +++ b/level_3/fss_extended_list_read/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_file -lfll_fss -lfll_print -lfll_program -lfl_console -lfl_conversion -lfl_directory -lfl_fss -lfl_print -lfl_status -lfl_string -lf_color -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library fss_extended_list_read.c private-common.c private-fss_extended_list_read.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers fss_extended_list_read.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/fss_extended_list_write/data/build/settings b/level_3/fss_extended_list_write/data/build/settings index e91ca5f..987d39b 100644 --- a/level_3/fss_extended_list_write/data/build/settings +++ b/level_3/fss_extended_list_write/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_file -lfll_fss -lfll_print -lfll_program -lfl_console -lfl_conversion -lfl_directory -lfl_fss -lfl_print -lfl_status -lfl_string -lf_color -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library fss_extended_list_write.c private-common.c private-fss_extended_list_write.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers fss_extended_list_write.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/fss_extended_read/data/build/settings b/level_3/fss_extended_read/data/build/settings index 16c8308..35bc7f3 100644 --- a/level_3/fss_extended_read/data/build/settings +++ b/level_3/fss_extended_read/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_file -lfll_fss -lfll_print -lfll_program -lfl_console -lfl_conversion -lfl_directory -lfl_fss -lfl_print -lfl_status -lfl_string -lf_color -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library fss_extended_read.c private-common.c private-fss_extended_read.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers fss_extended_read.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/fss_extended_write/data/build/settings b/level_3/fss_extended_write/data/build/settings index 68874a4..cf9d861 100644 --- a/level_3/fss_extended_write/data/build/settings +++ b/level_3/fss_extended_write/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_file -lfll_fss -lfll_print -lfll_program -lfl_conversion -lfl_directory -lfl_fss -lfl_print -lfl_status -lfl_string -lf_color -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library fss_extended_write.c private-common.c private-fss_extended_write.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers fss_extended_write.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/fss_identify/data/build/settings b/level_3/fss_identify/data/build/settings index cddc1f4..a92ae72 100644 --- a/level_3/fss_identify/data/build/settings +++ b/level_3/fss_identify/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_fss -lfll_print -lfll_program -lfl_console -lfl_conversion -lfl_fss -lfl_print -lfl_status -lfl_string -lf_color -lf_console -lf_conversion -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library fss_identify.c private-common.c private-fss_identify.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers fss_identify.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/fss_status_code/data/build/settings b/level_3/fss_status_code/data/build/settings index db3093a..1f0ccec 100644 --- a/level_3/fss_status_code/data/build/settings +++ b/level_3/fss_status_code/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_file -lfll_fss -lfll_print -lfll_program -lfll_status -lfl_console -lfl_conversion -lfl_directory -lfl_fss -lfl_print -lfl_status -lfl_string -lf_color -lf_console -lf_conversion -lf_directory -lf_environment -lf_file -lf_fss -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library fss_status_code.c private-common.c private-fss_status_code.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers fss_status_code.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/iki_read/data/build/settings b/level_3/iki_read/data/build/settings index 3a7ab5c..b74e42b 100644 --- a/level_3/iki_read/data/build/settings +++ b/level_3/iki_read/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_print -lfll_program -lfl_console -lfl_conversion -lfl_iki -lfl_print -lfl_signal -lfl_string -lf_color -lf_console -lf_conversion -lf_file -lf_iki -lf_memory -lf_path -lf_pipe -lf_print -lf_signal -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library iki_read.c private-common.c private-iki_read.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers iki_read.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/iki_write/data/build/settings b/level_3/iki_write/data/build/settings index 5e1710e..8771d77 100644 --- a/level_3/iki_write/data/build/settings +++ b/level_3/iki_write/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_iki -lfll_print -lfll_program -lfl_console -lfl_iki -lfl_print -lfl_string -lf_color -lf_console -lf_conversion -lf_file -lf_iki -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library iki_write.c private-common.c private-iki_write.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers iki_write.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static diff --git a/level_3/status_code/data/build/settings b/level_3/status_code/data/build/settings index 2b321a7..bf28621 100644 --- a/level_3/status_code/data/build/settings +++ b/level_3/status_code/data/build/settings @@ -23,9 +23,17 @@ build_libraries -lc build_libraries-individual -lfll_error -lfll_print -lfll_program -lfll_status -lfl_console -lfl_conversion -lfl_print -lfl_status -lfl_string -lf_color -lf_console -lf_conversion -lf_file -lf_memory -lf_path -lf_pipe -lf_print -lf_string -lf_type_array -lf_utf build_libraries-level -lfll_2 -lfll_1 -lfll_0 build_libraries-monolithic -lfll +build_libraries_shared +build_libraries_static build_sources_library status_code.c private-common.c private-status_code.c +build_sources_library_shared +build_sources_library_static build_sources_program main.c +build_sources_program_shared +build_sources_program_static build_sources_headers status_code.h +build_sources_headers_shared +build_sources_headers_static build_sources_script build_sources_setting build_script yes @@ -47,13 +55,23 @@ search_exclusive yes search_shared yes search_static yes -#defines_all -D_di_libcap_ -D_di_thread_support_ -defines_all -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +#defines -D_di_libcap_ -D_di_thread_support_ +defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ +defines_library +defines_library_shared +defines_library_static +defines_program +defines_program_shared +defines_program_static defines_static defines_shared -flags_all -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses -flags_shared -flags_static +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-logical-op-parentheses -Wno-parentheses flags_library -fPIC +flags_library_shared +flags_library_static flags_program -fPIE +flags_program_shared +flags_program_static +flags_shared +flags_static