Lines Matching refs:Tmp
114 $(call Set,Tmp.Key,$(1))
115 $(call Set,Tmp.Name,$($(Tmp.Key).Name))
116 $(call Set,Tmp.Configs,$($(Tmp.Key).Configs))
117 $(call Set,Tmp.ObjPath,$(ProjObjRoot)/$(Tmp.Name))
120 $(Tmp.Name):: $(Tmp.Configs:%=$(Tmp.Name)-%)
121 .PHONY: $(Tmp.Name)
124 $(Verb) rm -rf $(Tmp.ObjPath)
127 $(foreach config,$(Tmp.Configs),\
132 $(call Set,Tmp.Config,$(1))
133 $(call Set,Tmp.ObjPath,$(ProjObjRoot)/$(Tmp.Name)/$(Tmp.Config))
134 $(call Set,Tmp.SHARED_LIBRARY,$(strip \
135 $(call GetCNAVar,SHARED_LIBRARY,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
136 $(call Set,Tmp.SHARED_LIBRARY_SUFFIX,$(strip \
137 $(call GetCNAVar,SHARED_LIBRARY_SUFFIX,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
140 $(if $(call streq,1,$(Tmp.SHARED_LIBRARY)),
141 $(call Set,Tmp.LibrarySuffix,$(Tmp.SHARED_LIBRARY_SUFFIX)),
142 $(call Set,Tmp.LibrarySuffix,a))
146 $(call Set,Tmp.ArchsToBuild,\
147 $(if $(call IsDefined,$(Tmp.Key).UniversalArchs),\
149 $(or $($(Tmp.Key).UniversalArchs.$(Tmp.Config)),\
150 $($(Tmp.Key).UniversalArchs))),\
151 $(call VarOrDefault,$(Tmp.Key).Arch.$(Tmp.Config),$($(Tmp.Key).Arch))))
154 $(call Set,Tmp.Inputs,$(Tmp.ArchsToBuild:%=$(Tmp.ObjPath)/%/libcompiler_rt.$(Tmp.LibrarySuffix)))
155 $(Tmp.ObjPath)/libcompiler_rt.$(Tmp.LibrarySuffix): $(Tmp.Inputs) $(Tmp.ObjPath)/.dir
158 $(if $(call streq,1,$(words $(Tmp.ArchsToBuild))), \
159 $(Verb) $(CP) $(Tmp.Inputs) $$@, \
160 $(Verb) $(LIPO) -create -output $$@ $(Tmp.Inputs))
161 .PRECIOUS: $(Tmp.ObjPath)/.dir
164 $(Tmp.Name)-$(Tmp.Config):: $(Tmp.ObjPath)/libcompiler_rt.$(Tmp.LibrarySuffix)
165 .PHONY: $(Tmp.Name)-$(Tmp.Config)
168 $(foreach arch,$(Tmp.ArchsToBuild),\
173 $(call Set,Tmp.Arch,$(1))
174 $(call Set,Tmp.ObjPath,$(ProjObjRoot)/$(Tmp.Name)/$(Tmp.Config)/$(Tmp.Arch))
175 $(call Set,Tmp.Functions,$(strip \
177 $(call GetCNAVar,FUNCTIONS,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
178 $(call Set,Tmp.Optimized,$(strip \
179 $(call GetCNAVar,OPTIMIZED,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
180 $(call Set,Tmp.AR,$(strip \
181 $(call GetCNAVar,AR,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
182 $(call Set,Tmp.ARFLAGS,$(strip \
183 $(call GetCNAVar,ARFLAGS,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
184 $(call Set,Tmp.CC,$(strip \
185 $(call GetCNAVar,CC,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
186 $(call Set,Tmp.LDFLAGS,$(strip \
187 $(call GetCNAVar,LDFLAGS,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
188 $(call Set,Tmp.RANLIB,$(strip \
189 $(call GetCNAVar,RANLIB,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
190 $(call Set,Tmp.RANLIBFLAGS,$(strip \
191 $(call GetCNAVar,RANLIBFLAGS,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
192 $(call Set,Tmp.SHARED_LIBRARY,$(strip \
193 $(call GetCNAVar,SHARED_LIBRARY,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
196 $(if $(call streq,1,$(Tmp.SHARED_LIBRARY)),
197 $(call Set,Tmp.LibrarySuffix,$(Tmp.SHARED_LIBRARY_SUFFIX)),
198 $(call Set,Tmp.LibrarySuffix,a))
201 $(call Set,Tmp.Inputs,\
202 $(foreach fn,$(sort $(Tmp.Functions)),\
203 $(call Set,Tmp.FnDir,\
204 $(call SelectFunctionDir,$(Tmp.Config),$(Tmp.Arch),$(fn),$(Tmp.Optimized)))\
205 $(Tmp.ObjPath)/$(Tmp.FnDir)/$(fn).o))
206 $(Tmp.ObjPath)/libcompiler_rt.a: $(Tmp.Inputs) $(Tmp.ObjPath)/.dir
209 $(Verb) $(Tmp.AR) $(Tmp.ARFLAGS) $$@ $(Tmp.Inputs)
210 $(Verb) $(Tmp.RANLIB) $(Tmp.RANLIBFLAGS) $$@
211 $(Tmp.ObjPath)/libcompiler_rt.dylib: $(Tmp.Inputs) $(Tmp.ObjPath)/.dir
213 $(Verb) $(Tmp.CC) -arch $(Tmp.Arch) -dynamiclib -o $$@ \
214 $(Tmp.Inputs) $(Tmp.LDFLAGS)
215 $(Tmp.ObjPath)/libcompiler_rt.so: $(Tmp.Inputs) $(Tmp.ObjPath)/.dir
217 $(Verb) $(Tmp.CC) -shared -o $$@ \
218 $(Tmp.Inputs) $(Tmp.LDFLAGS)
219 .PRECIOUS: $(Tmp.ObjPath)/.dir
222 $(Tmp.Name)-$(Tmp.Config)-$(Tmp.Arch):: $(Tmp.ObjPath)/libcompiler_rt.$(Tmp.LibrarySuffix)
223 .PHONY: $(Tmp.Name)-$(Tmp.Config)-$(Tmp.Arch)
231 $(call Set,Tmp.SubDirKey,$(1))
232 $(call Set,Tmp.SubDir,$($(Tmp.SubDirKey).Dir))
233 $(call Set,Tmp.SrcPath,$(ProjSrcRoot)/$(Tmp.SubDir))
234 $(call Set,Tmp.ObjPath,$(ProjObjRoot)/$(Tmp.Name)/$(Tmp.Config)/$(Tmp.Arch)/$(Tmp.SubDirKey))
235 $(call Set,Tmp.Dependencies,$($(Tmp.SubDirKey).Dependencies))
236 $(call Set,Tmp.CC,$(strip \
237 $(call GetCNAVar,CC,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
238 $(call Set,Tmp.KERNEL_USE,$(strip \
239 $(call GetCNAVar,KERNEL_USE,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
240 $(call Set,Tmp.VISIBILITY_HIDDEN,$(strip \
241 $(call GetCNAVar,VISIBILITY_HIDDEN,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
242 $(call Set,Tmp.CFLAGS,$(strip \
243 $(if $(call IsDefined,$(Tmp.Key).UniversalArchs),-arch $(Tmp.Arch),)\
244 $(if $(call streq,$(Tmp.VISIBILITY_HIDDEN),1),\
246 $(if $(call streq,$(Tmp.KERNEL_USE),1),\
248 $(call GetCNAVar,CFLAGS,$(Tmp.Key),$(Tmp.Config),$(Tmp.Arch))))
250 $(Tmp.ObjPath)/%.o: $(Tmp.SrcPath)/%.s $(Tmp.Dependencies) $(Tmp.ObjPath)/.dir
252 $(Verb) $(Tmp.CC) $(COMMON_ASMFLAGS) $(Tmp.CFLAGS) -c -o $$@ $$<
253 $(Tmp.ObjPath)/%.o: $(Tmp.SrcPath)/%.S $(Tmp.Dependencies) $(Tmp.ObjPath)/.dir
255 $(Verb) $(Tmp.CC) $(COMMON_ASMFLAGS) $(Tmp.CFLAGS) -c -o $$@ $$<
256 $(Tmp.ObjPath)/%.o: $(Tmp.SrcPath)/%.c $(Tmp.Dependencies) $(Tmp.ObjPath)/.dir
258 $(Verb) $(Tmp.CC) $(COMMON_CFLAGS) $(Tmp.CFLAGS) -c -o $$@ $$<
259 $(Tmp.ObjPath)/%.o: $(Tmp.SrcPath)/%.cc $(Tmp.Dependencies) $(Tmp.ObjPath)/.dir
261 $(Verb) $(Tmp.CC) $(COMMON_CXXFLAGS) $(Tmp.CFLAGS) -c -o $$@ $$<
262 .PRECIOUS: $(Tmp.ObjPath)/.dir