Changeset 2540 in kBuild
- Timestamp:
- Aug 2, 2011 8:13:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kbuild.c
r2539 r2540 2111 2111 do_variable_definition_2(NILF, pszDstVar, pVar->value, pVar->value_length, 2112 2112 !pVar->recursive, 0, o_local, f_simple, 0 /* !target_var */); 2113 do_variable_definition_2(NILF, "kbsrc_cmds", pVar->value, pVar->value_length, 2114 !pVar->recursive, 0, o_local, f_simple, 0 /* !target_var */); 2113 2115 2114 2116 memcpy(pszSrc, "_OUTPUT", sizeof("_OUTPUT")); … … 2117 2119 pOutput = do_variable_definition_2(NILF, pszDstVar, pVar->value, pVar->value_length, 2118 2120 !pVar->recursive, 0, o_local, f_simple, 0 /* !target_var */); 2121 pOutput = do_variable_definition_2(NILF, "kbsrc_output", pVar->value, pVar->value_length, 2122 !pVar->recursive, 0, o_local, f_simple, 0 /* !target_var */); 2119 2123 2120 2124 memcpy(pszSrc, "_OUTPUT_MAYBE", sizeof("_OUTPUT_MAYBE")); … … 2122 2126 pVar = kbuild_query_recursive_variable(pszSrcVar); 2123 2127 if (pVar) 2128 { 2124 2129 pOutputMaybe = do_variable_definition_2(NILF, pszDstVar, pVar->value, pVar->value_length, 2125 2130 !pVar->recursive, 0, o_local, f_simple, 0 /* !target_var */); 2131 pOutputMaybe = do_variable_definition_2(NILF, "kbsrc_output_maybe", pVar->value, pVar->value_length, 2132 !pVar->recursive, 0, o_local, f_simple, 0 /* !target_var */); 2133 } 2126 2134 else 2135 { 2127 2136 pOutputMaybe = do_variable_definition_2(NILF, pszDstVar, "", 0, 1, 0, o_local, f_simple, 0 /* !target_var */); 2137 pOutputMaybe = do_variable_definition_2(NILF, "kbsrc_output_maybe", "", 0, 1, 0, o_local, f_simple, 0 /* !target_var */); 2138 } 2128 2139 2129 2140 memcpy(pszSrc, "_DEPEND", sizeof("_DEPEND")); … … 2138 2149 do_variable_definition_2(NILF, pszDstVar, pszVal, pVar->value_length + 1 + pDeps->value_length + 1 + pSource->value_length, 2139 2150 !pVar->recursive && !pDeps->recursive && !pSource->recursive, 2151 NULL, o_local, f_simple, 0 /* !target_var */); 2152 do_variable_definition_2(NILF, "kbsrc_depend", pszVal, pVar->value_length + 1 + pDeps->value_length + 1 + pSource->value_length, 2153 !pVar->recursive && !pDeps->recursive && !pSource->recursive, 2140 2154 pszVal, o_local, f_simple, 0 /* !target_var */); 2141 2155 … … 2150 2164 memcpy(psz, pOrderDeps->value, pOrderDeps->value_length + 1); 2151 2165 do_variable_definition_2(NILF, pszDstVar, pszVal, 2166 pVar->value_length + 1 + pDirDep->value_length + 1 + pOrderDeps->value_length, 2167 !pVar->recursive && !pDirDep->recursive && !pOrderDeps->recursive, 2168 NULL, o_local, f_simple, 0 /* !target_var */); 2169 do_variable_definition_2(NILF, "kbsrc_depord", pszVal, 2152 2170 pVar->value_length + 1 + pDirDep->value_length + 1 + pOrderDeps->value_length, 2153 2171 !pVar->recursive && !pDirDep->recursive && !pOrderDeps->recursive,
Note:
See TracChangeset
for help on using the changeset viewer.