- Timestamp:
- Nov 1, 2008 2:50:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kbuild.c
r2013 r2014 2036 2036 if (!s_fNoCompileCmdsDepsDefined) 2037 2037 { 2038 do_variable_definition_2(NILF, "_DEPFILES_INCLUDED", pDep->value, pDep->value_length, 2039 !pDep->recursive, 0, o_file, f_append, 0 /* !target_var */); 2038 pVar = kbuild_query_recursive_variable_n("_DEPFILES_INCLUDED", sizeof("_DEPFILES_INCLUDED") - 1); 2039 if (pVar) 2040 { 2041 if (pVar->recursive) 2042 pVar = kbuild_simplify_variable(pVar); 2043 append_string_to_variable(pVar, pDep->value, pDep->value_length, 1 /* append */); 2044 } 2045 else 2046 define_variable_vl_global("_DEPFILES_INCLUDED", sizeof("_DEPFILES_INCLUDED") - 1, 2047 pDep->value, pDep->value_length, 2048 1 /* duplicate_value */, 2049 o_file, 2050 0 /* recursive */, 2051 NULL /* flocp */); 2052 2040 2053 eval_include_dep(pDep->value, NILF, iVer >= 2 ? incdep_queue : incdep_read_it); 2041 2054 } … … 2129 2142 if (pVar->recursive) 2130 2143 pVar = kbuild_simplify_variable(pVar); 2131 assert(!pObj->recursive);2132 2144 append_string_to_variable(pVar, pObj->value, pObj->value_length, 1 /* append */); 2133 2145 }
Note:
See TracChangeset
for help on using the changeset viewer.