2 #primaryTarget=<%primaryTarget("ppc_integrity.tgt")%>
5 -o <%if(exeout)%><%reltop_exeout%><%else%><%reltop%><%endif%>/<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%>
6 <%if(need_staticflags)%>
12 -o <%if(dllout)%><%reltop_dllout%><%else%><%reltop_libout%><%endif%>/<%lib_prefix%><%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%libext(".so")%>
16 -o <%reltop_libout%>/<%lib_prefix%><%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%libext(".a")%>
37 <%if(pch_header && !no_use_pch)%>
39 <%foreach(pch_defines)%>
43 <%foreach(reltop_includes)%>
46 <%foreach(reltop_libpaths)%>
49 <%if(libs || lit_libs || pure_libs)%>
50 <%if(exename || sharedname)%>
52 -l<%libname_prefix%><%lib%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>
57 <%foreach(pure_libs)%>
63 <%foreach(dynamicflags)%>
67 <%if(need_staticflags)%>
68 <%foreach(staticflags)%>
78 <%foreach(compile_flags)%>
82 <%if(custom_only || !source_files && custom_types)%>
83 .custom_build_rule [HTML Source]
85 <%scope(enter, escape, \\)%>
86 <%foreach(custom_types)%>
87 <%foreach(custom_type->input_files)%>
88 <%if(!custom_only && source_files)%>
89 <%custom_type->input_file%> [Text]
91 <%if(custom_type->input_file->output_files)%>
92 <%if(custom_type->output_option)%>
93 <%foreach(custom_type->input_file->output_files)%>
94 <%if(!custom_only && source_files)%>
95 <%custom_type->input_file->output_file%>
97 <%if(flag_overrides(custom_type->input_file, dependent))%>
98 <%foreach(dep, flag_overrides(custom_type->input_file, dependent))%>
99 :dependsRelative=<%dep%><%if(!has_extension(dep))%><%exe_ext%><%endif%>
102 <%foreach(custom_type->dependent)%>
103 :dependsRelative=<%custom_type->dependent%><%if(!has_extension(custom_type->dependent))%><%exe_ext%><%endif%>
106 :dependsRelative=<%custom_type->input_file%>
107 <%if(custom_type->input_file->dependencies)%>
108 <%foreach(custom_type->input_file->dependencies)%>
109 :dependsRelative=<%custom_type->input_file->dependencie%>
112 <%if(!need_staticflags)%>
113 <%if(flag_overrides(custom_type->input_file, dependent_libs))%>
114 <%foreach(dep_lib, flag_overrides(custom_type->input_file, dependent_libs))%>
115 :dependsRelative=<%dirname(dep_lib)%>/<%lib_prefix%><%libname_prefix%><%basename(dep_lib)%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%libext(".so")%>
118 <%if(custom_type->dependent_libs)%>
119 <%foreach(custom_type->dependent_libs)%>
120 :dependsRelative=<%dirname(custom_type->dependent_lib)%>/<%lib_prefix%><%libname_prefix%><%basename(custom_type->dependent_lib)%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%libext(".so")%>
125 <%if(flag_overrides(custom_type->input_file, gendir))%>
126 :preexecShell='cd <%reltop%> && <%mkdir%> <%flag_overrides(custom_type->input_file, gendir)%><%postmkdir%>'
128 :preexecShell='cd <%reltop%> && <%if(flag_overrides(custom_type->input_file, command))%><%flag_overrides(custom_type->input_file, command)%><%else%><%custom_type->command%><%endif%> <%if(flag_overrides(custom_type->input_file, commandflags))%><%flag_overrides(custom_type->input_file, commandflags)%><%else%><%custom_type->commandflags%><%endif%><%if(custom_type->output_option)%> <%custom_type->input_file%> <%custom_type->output_option%> <%custom_type->input_file->output_file%><%else%> <%custom_type->input_file%><%endif%>'
131 <%if(!custom_only && source_files)%>
132 <%foreach(custom_type->input_file->source_output_files)%>
134 <%custom_type->input_file->source_output_file%>
138 <%if(flag_overrides(custom_type->input_file, dependent))%>
139 <%foreach(dep, flag_overrides(custom_type->input_file, dependent))%>
140 :dependsRelative=<%dep%><%if(!has_extension(dep))%><%exe_ext%><%endif%>
143 <%foreach(custom_type->dependent)%>
144 :dependsRelative=<%custom_type->dependent%><%if(!has_extension(custom_type->dependent))%><%exe_ext%><%endif%>
147 :dependsRelative=<%custom_type->input_file%>
148 <%if(custom_type->input_file->dependencies)%>
149 <%foreach(custom_type->input_file->dependencies)%>
150 :dependsRelative=<%custom_type->input_file->dependencie%>
153 <%if(flag_overrides(custom_type->input_file, gendir))%>
154 :preexecShell='cd <%reltop%> && <%mkdir%> <%flag_overrides(custom_type->input_file, gendir)%><%postmkdir%>'
156 :preexecShell='cd <%reltop%> && <%if(flag_overrides(custom_type->input_file, command))%><%flag_overrides(custom_type->input_file, command)%><%else%><%custom_type->command%><%endif%> <%if(flag_overrides(custom_type->input_file, commandflags))%><%flag_overrides(custom_type->input_file, commandflags)%><%else%><%custom_type->commandflags%><%endif%> <%custom_type->input_file%>'
157 <%if(flag_overrides(custom_type->input_file, postcommand))%>
158 <%foreach(custom_type->input_file)%>
159 :preexecShell='cd <%reltop%> && <%flag_overrides(custom_type->input_file, postcommand)%>'
162 <%if(custom_type->postcommand)%>
163 <%foreach(custom_type->input_file)%>
164 :preexecShell='cd <%reltop%> && <%custom_type->postcommand%>'
168 <%if(pch_header && !no_use_pch && custom_type->pch_postrule)%>
169 <%foreach(custom_type->input_file->source_output_files)%>
170 :preexecShell='cd <%reltop%> && echo #include "<%pch_header%>" > temporary.src'
171 :preexecShell='cd <%reltop%> && <%cat%> <%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%><%slash%><%basename(custom_type->input_file->source_output_file)%><%else%><%custom_type->input_file->source_output_file%><%endif%> >> temporary.src'
172 :preexecShell='cd <%reltop%> && <%mv%> temporary.src <%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%><%slash%><%basename(custom_type->input_file->source_output_file)%><%else%><%custom_type->input_file->source_output_file%><%endif%>'
176 <%foreach(custom_type->input_file->output_files)%>
177 :extraOutputFile=<%custom_type->input_file->output_file%>
179 <%if(custom_only || !source_files)%>
181 :postexecShell='<%rm%> .c && <%rm%> .h'
187 <%foreach(source_files)%>
189 <%if(compile_flags)%>
190 -cxx_compiler.args=<%compile_flags%><%if(flag_overrides(source_file, buildflags))%> <%flag_overrides(source_file, buildflags)%><%endif%>
192 <%if(flag_overrides(source_file, buildflags))%>
193 -cxx_compiler.args=<%flag_overrides(source_file, buildflags)%>
197 <%foreach(header_files)%>
200 <%foreach(inline_files)%>
203 <%foreach(resource_files)%>
206 <%foreach(documentation_files)%>
207 <%documentation_file%> [Documentation]