Lines Matching refs:call
46 $$(call gb_CObject_get_target,%) : $$(call gb_CObject_get_source,$(1),%)
47 $$(call gb_CObject__command,$$@,$$*,$$<,$$(DEFS),$$(CFLAGS),$$(INCLUDE))
50 $$(call gb_CObject_get_dep_target,%) : $$(call gb_CObject_get_source,$(1),%)
51 $$(call gb_CObject__command_dep,$$@,$$*,$$<,$$(DEFS),$$(CFLAGS),$$(INCLUDE))
56 $(foreach repo,$(gb_CObject_REPOS),$(eval $(call gb_CObject__rules,$(repo))))
58 $(call gb_CObject_get_dep_target,%) :
59 …$(eval $(call gb_Output_error,Unable to find plain C file $(call gb_CObject_get_source,,$*) in the…
97 $$@ : PCHFLAGS := $$(call gb_PrecompiledHeader_get_enableflags,$$(PCH_NAME))
100 $$@ : PCHFLAGS := $$(call gb_NoexPrecompiledHeader_get_enableflags,$$(PCH_NAME))
114 $$(call gb_CxxObject_get_target,%) : $$(call gb_CxxObject_get_source,$(1),%)
116 $$(call gb_CxxObject__command,$$@,$$*,$$<)
119 $$(call gb_CxxObject_get_dep_target,%) : $$(call gb_CxxObject_get_source,$(1),%)
121 $$(call gb_CxxObject__command_dep,$$@,$$*,$$<)
126 $(foreach repo,$(gb_CxxObject_REPOS),$(eval $(call gb_CxxObject__rules,$(repo))))
129 $(call gb_CxxObject_get_dep_target,%) :
130 …$(eval $(call gb_Output_error,Unable to find C++ file $(call gb_CxxObject_get_source,,$*) in repos…
155 $(call gb_GenCxxObject_get_target,%) : $(call gb_GenCxxObject_get_source,%)
156 $(call gb_CxxObject__command,$@,$*,$<)
159 $(call gb_GenCxxObject_get_dep_target,%) : $(call gb_GenCxxObject_get_source,%)
160 $(call gb_GenCxxObject__command_dep,$@,$*,$<)
162 $(call gb_GenCxxObject_get_dep_target,%) :
163 …$(eval $(call gb_Output_error,Unable to find generated C++ file $(call gb_GenCxxObject_get_source,…
190 $$(call gb_ObjCxxObject_get_target,%) : $$(call gb_ObjCxxObject_get_source,$(1),%)
191 $$(call gb_ObjCxxObject__command,$$@,$$*,$$<,$$(DEFS),$$(OBJCXXFLAGS),$$(INCLUDE_STL) $$(INCLUDE))
194 $$(call gb_ObjCxxObject_get_dep_target,%) : $$(call gb_ObjCxxObject_get_source,$(1),%)
195 …$$(call gb_ObjCxxObject__command_dep,$$@,$$*,$$<,$$(DEFS),$$(OBJCXXFLAGS),$$(INCLUDE_STL) $$(INCLU…
200 $(foreach repo,$(gb_ObjCxxObject_REPOS),$(eval $(call gb_ObjCxxObject__rules,$(repo))))
203 $(call gb_ObjCxxObject_get_dep_target,%) :
204 …$(eval $(call gb_Output_error,Unable to find Objective C++ file $(call gb_ObjCxxObject_get_source,…
220 .PHONY : $(call gb_LinkTarget_get_clean_target,%)
221 $(call gb_LinkTarget_get_clean_target,%) :
222 $(call gb_Output_announce,$*,$(false),LNK,4)
223 RESPONSEFILE=$(call var2file,$(shell $(gb_MKTEMP)),200,\
224 $(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \
225 $(foreach object,$(COBJECTS),$(call gb_CObject_get_dep_target,$(object))) \
226 $(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \
227 $(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_dep_target,$(object))) \
228 $(foreach object,$(OBJCXXOBJECTS),$(call gb_ObjCxxObject_get_target,$(object))) \
229 $(foreach object,$(OBJCXXOBJECTS),$(call gb_ObjCxxObject_get_dep_target,$(object))) \
230 $(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \
231 $(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_dep_target,$(object))) \
232 $(call gb_LinkTarget_get_target,$*) \
233 $(call gb_LinkTarget_get_dep_target,$*) \
234 $(call gb_LinkTarget_get_headers_target,$*) \
235 $(call gb_LinkTarget_get_external_headers_target,$*) \
244 $(call gb_Output_announce,LNK:$(2),$(true),DEP,1)
245 $(call gb_Helper_abbreviate_dirs,\
247 RESPONSEFILE=$(call var2file,$(shell $(gb_MKTEMP)),200,\
248 $(foreach object,$(3),$(call gb_CObject_get_dep_target,$(object))) \
249 $(foreach object,$(4),$(call gb_CxxObject_get_dep_target,$(object))) \
250 $(foreach object,$(5),$(call gb_ObjCxxObject_get_dep_target,$(object)))\
251 $(foreach object,$(6),$(call gb_GenCxxObject_get_dep_target,$(object)))\
258 $(call gb_LinkTarget_get_target,%) : $(call gb_LinkTarget_get_headers_target,%) $(gb_Helper_MISCDUM…
259 $(call gb_LinkTarget__command,$@,$*)
262 $(call gb_LinkTarget_get_target,%) : $(call gb_LinkTarget_get_dep_target,%)
263 $(call gb_LinkTarget_get_dep_target,%) : | $(call gb_LinkTarget_get_headers_target,%)
264 …$(call gb_LinkTarget__command_dep,$@,$*,$(COBJECTS),$(CXXOBJECTS),$(OBJCXXOBJECTS),$(GENCXXOBJECTS…
279 $$(eval $$(call gb_Output_info,LinkTarget $$* not defined: Assuming headers to be there!,ALL))
281 $$@ : COMMAND := $$(call gb_Helper_abbreviate_dirs, mkdir -p $$(dir $$@) && touch $$@ && mkdir -p $…
285 $(call gb_LinkTarget_get_external_headers_target,%) :
289 $(call gb_LinkTarget_get_headers_target,%) : $(call gb_LinkTarget_get_external_headers_target,%)
290 $(call gb_Helper_abbreviate_dirs,\
326 $(call gb_LinkTarget_get_clean_target,$(1)) : AUXTARGETS :=
327 $(call gb_LinkTarget_get_external_headers_target,$(1)) : SELF := $(1)
328 $(call gb_LinkTarget_get_target,$(1)) : DLLTARGET :=
329 $(call gb_LinkTarget_get_clean_target,$(1)) \
330 $(call gb_LinkTarget_get_target,$(1)) : COBJECTS :=
331 $(call gb_LinkTarget_get_clean_target,$(1)) \
332 $(call gb_LinkTarget_get_target,$(1)) : CXXOBJECTS :=
333 $(call gb_LinkTarget_get_clean_target,$(1)) \
334 $(call gb_LinkTarget_get_target,$(1)) : OBJCXXOBJECTS :=
335 $(call gb_LinkTarget_get_clean_target,$(1)) \
336 $(call gb_LinkTarget_get_target,$(1)) : GENCXXOBJECTS :=
337 $(call gb_LinkTarget_get_headers_target,$(1)) \
338 $(call gb_LinkTarget_get_target,$(1)) : CFLAGS := $$(gb_LinkTarget_CFLAGS)
339 $(call gb_LinkTarget_get_headers_target,$(1)) \
340 $(call gb_LinkTarget_get_target,$(1)) : CXXFLAGS := $$(gb_LinkTarget_CXXFLAGS)
341 $(call gb_LinkTarget_get_headers_target,$(1)) \
342 $(call gb_LinkTarget_get_target,$(1)) : PCH_CXXFLAGS := $$(gb_LinkTarget_CXXFLAGS) $(gb_COMPILEROPT…
343 $(call gb_LinkTarget_get_target,$(1)) : OBJCXXFLAGS := $$(gb_LinkTarget_OBJCXXFLAGS)
344 $(call gb_LinkTarget_get_headers_target,$(1)) \
345 $(call gb_LinkTarget_get_target,$(1)) : DEFS := $$(gb_LinkTarget_DEFAULTDEFS)
346 $(call gb_LinkTarget_get_headers_target,$(1)) \
347 $(call gb_LinkTarget_get_target,$(1)) : PCH_DEFS := $$(gb_LinkTarget_DEFAULTDEFS)
348 $(call gb_LinkTarget_get_headers_target,$(1)) \
349 $(call gb_LinkTarget_get_target,$(1)) : INCLUDE := $$(gb_LinkTarget_INCLUDE)
350 $(call gb_LinkTarget_get_headers_target,$(1)) \
351 $(call gb_LinkTarget_get_target,$(1)) : INCLUDE_STL := $$(gb_LinkTarget_INCLUDE_STL)
352 $(call gb_LinkTarget_get_target,$(1)) : LDFLAGS := $$(gb_LinkTarget_LDFLAGS)
353 $(call gb_LinkTarget_get_target,$(1)) : LINKED_LIBS :=
354 $(call gb_LinkTarget_get_target,$(1)) : LINKED_STATIC_LIBS :=
355 $(call gb_LinkTarget_get_target,$(1)) : EXTERNAL_LIBS :=
356 $(call gb_LinkTarget_get_target,$(1)) : TARGETTYPE :=
357 $(call gb_LinkTarget_get_headers_target,$(1)) \
358 $(call gb_LinkTarget_get_target,$(1)) : PCH_NAME :=
359 $(call gb_LinkTarget_get_target,$(1)) : PCHOBJS :=
360 $(call gb_LinkTarget_get_headers_target,$(1)) \
361 $(call gb_LinkTarget_get_target,$(1)) : PDBFILE :=
362 $(call gb_LinkTarget_get_target,$(1)) : NATIVERES :=
365 ifneq ($(wildcard $(call gb_LinkTarget_get_dep_target,$(1))),)
366 include $(call gb_LinkTarget_get_dep_target,$(1))
368 $(firstword $(MAKEFILE_LIST)) : $(call gb_LinkTarget_get_dep_target,$(1))
370 $(call gb_LinkTarget_get_dep_target,$(1)) : COBJECTS :=
371 $(call gb_LinkTarget_get_dep_target,$(1)) : CXXOBJECTS :=
372 $(call gb_LinkTarget_get_dep_target,$(1)) : OBJCXXOBJECTS :=
373 $(call gb_LinkTarget_get_dep_target,$(1)) : GENCXXOBJECTS :=
374 $(call gb_LinkTarget_get_dep_target,$(1)) : CFLAGS := $$(gb_LinkTarget_CFLAGS)
375 $(call gb_LinkTarget_get_dep_target,$(1)) : CXXFLAGS := $$(gb_LinkTarget_CXXFLAGS)
376 $(call gb_LinkTarget_get_dep_target,$(1)) : PCH_CXXFLAGS := $$(gb_LinkTarget_CXXFLAGS) $(gb_COMPILE…
377 $(call gb_LinkTarget_get_dep_target,$(1)) : OBJCXXFLAGS := $$(gb_LinkTarget_OBJCXXFLAGS)
378 $(call gb_LinkTarget_get_dep_target,$(1)) : DEFS := $$(gb_LinkTarget_DEFAULTDEFS)
379 $(call gb_LinkTarget_get_dep_target,$(1)) : PCH_DEFS := $$(gb_LinkTarget_DEFAULTDEFS)
380 $(call gb_LinkTarget_get_dep_target,$(1)) : INCLUDE := $$(gb_LinkTarget_INCLUDE)
381 $(call gb_LinkTarget_get_dep_target,$(1)) : INCLUDE_STL := $$(gb_LinkTarget_INCLUDE_STL)
382 $(call gb_LinkTarget_get_dep_target,$(1)) : TARGETTYPE :=
383 $(call gb_LinkTarget_get_dep_target,$(1)) : PCH_NAME :=
389 $(call gb_LinkTarget_get_headers_target,$(1)) \
390 $(call gb_LinkTarget_get_target,$(1)) : DEFS := $(2)
391 $(call gb_LinkTarget_get_headers_target,$(1)) \
392 $(call gb_LinkTarget_get_target,$(1)) : PCH_DEFS := $(2)
395 $(call gb_LinkTarget_get_dep_target,$(1)) : DEFS := $(2)
396 $(call gb_LinkTarget_get_dep_target,$(1)) : PCH_DEFS := $(2)
402 $(call gb_LinkTarget_get_target,$(1)) : CFLAGS := $(2)
404 $(call gb_LinkTarget_get_dep_target,$(1)) : CFLAGS := $(2)
410 $(call gb_LinkTarget_get_headers_target,$(1)) \
411 $(call gb_LinkTarget_get_target,$(1)) : CXXFLAGS := $(2)
412 $(call gb_LinkTarget_get_headers_target,$(1)) \
413 $(call gb_LinkTarget_get_target,$(1)) : PCH_CXXFLAGS := $(2)
415 $(call gb_LinkTarget_get_dep_target,$(1)) : CXXFLAGS := $(2)
416 $(call gb_LinkTarget_get_dep_target,$(1)) : PCH_CXXFLAGS := $(2)
422 $(call gb_LinkTarget_get_target,$(1)) : OBJCXXFLAGS := $(2)
424 $(call gb_LinkTarget_get_dep_target,$(1)) : OBJCXXFLAGS := $(2)
430 $(call gb_LinkTarget_get_headers_target,$(1)) \
431 $(call gb_LinkTarget_get_target,$(1)) : INCLUDE := $(2)
433 $(call gb_LinkTarget_get_dep_target,$(1)) : INCLUDE := $(2)
439 $(call gb_LinkTarget_get_headers_target,$(1)) \
440 $(call gb_LinkTarget_get_target,$(1)) : INCLUDE_STL := $(2)
442 $(call gb_LinkTarget_get_dep_target,$(1)) : INCLUDE_STL := $(2)
448 $(call gb_LinkTarget_get_target,$(1)) : LDFLAGS := $(2)
453 $$(eval $$(call gb_Output_info,currently known libraries are: $(sort $(gb_Library_KNOWNLIBS)),ALL))
454 $$(eval $$(call gb_Output_error,Cannot link against library/libraries $$(filter-out $(gb_Library_KN…
457 $(call gb_LinkTarget_get_target,$(1)) : LINKED_LIBS += $(2)
459 $(call gb_LinkTarget_get_target,$(1)) : $$(foreach lib,$(2),$$(call gb_Library_get_target,$$(lib)))
460 $(call gb_LinkTarget_get_external_headers_target,$(1)) : \
461 $$(foreach lib,$(2),$$(call gb_Library_get_headers_target,$$(lib)))
467 $$(eval $$(call gb_Output_info, currently known static libraries are: $(sort $(gb_StaticLibrary_KNO…
468 $$(eval $$(call gb_Output_error,Cannot link against static library/libraries $$(filter-out $(gb_Sta…
471 $(call gb_LinkTarget_get_target,$(1)) : LINKED_STATIC_LIBS += $(2)
473 $(call gb_LinkTarget_get_target,$(1)) : $$(foreach lib,$(2),$$(call gb_StaticLibrary_get_target,$$(…
474 $(call gb_LinkTarget_get_external_headers_target,$(1)) : \
475 $$(foreach lib,$(2),$$(call gb_StaticLibrary_get_headers_target,$$(lib)))
497 $$(eval $$(call gb_Output_announce,ERROR: Please give only libary basenames to gb_LinkTarget_add_ex…
498 $$(eval $$(call gb_Output_announce,ERROR: (no prefixes -l% or lib%, no suffixes %.so or %.lib)))
499 $$(eval $$(call gb_Output_announce,ERROR: libraries given: $(2)))
500 $$(eval $$(call gb_Output_announce,ERROR: offending: $$(filter -l% lib% %.so %.lib, $(2))))
501 $$(eval $$(call gb_Output_error, ))
504 $(call gb_LinkTarget_get_target,$(1)) : EXTERNAL_LIBS += $(2)
506 $(call gb_LinkTarget_get_target,$(1)) : $$(foreach lib,$(2),$$(call gb_Library_get_target,$$(lib)))
507 $(call gb_LinkTarget_get_external_headers_target,$(1)) : \
508 $$(foreach lib,$(2),$$(call gb_Library_get_headers_target,$$(lib)))
514 $(call gb_LinkTarget_get_target,$(1)) : COBJECTS += $(2)
515 $(call gb_LinkTarget_get_clean_target,$(1)) : COBJECTS += $(2)
517 $(call gb_LinkTarget_get_target,$(1)) : $(call gb_CObject_get_target,$(2))
518 $(call gb_CObject_get_target,$(2)) : | $(call gb_LinkTarget_get_headers_target,$(1))
519 $(call gb_CObject_get_target,$(2)) : CFLAGS += $(3)
522 $(call gb_LinkTarget_get_dep_target,$(1)) : COBJECTS += $(2)
523 $(call gb_LinkTarget_get_dep_target,$(1)) : $(call gb_CObject_get_dep_target,$(2))
529 $(call gb_LinkTarget_get_target,$(1)) : CXXOBJECTS += $(2)
530 $(call gb_LinkTarget_get_clean_target,$(1)) : CXXOBJECTS += $(2)
532 $(call gb_LinkTarget_get_target,$(1)) : $(call gb_CxxObject_get_target,$(2))
533 $(call gb_CxxObject_get_target,$(2)) : | $(call gb_LinkTarget_get_headers_target,$(1))
534 $(call gb_CxxObject_get_target,$(2)) : CXXFLAGS += $(3)
537 $(call gb_LinkTarget_get_dep_target,$(1)) : CXXOBJECTS += $(2)
538 $(call gb_LinkTarget_get_dep_target,$(1)) : $(call gb_CxxObject_get_dep_target,$(2))
544 $(call gb_LinkTarget_get_target,$(1)) : OBJCXXOBJECTS += $(2)
545 $(call gb_LinkTarget_get_clean_target,$(1)) : OBJCXXOBJECTS += $(2)
547 $(call gb_LinkTarget_get_target,$(1)) : $(call gb_ObjCxxObject_get_target,$(2))
548 $(call gb_ObjCxxObject_get_target,$(2)) : | $(call gb_LinkTarget_get_headers_target,$(1))
549 $(call gb_ObjCxxObject_get_target,$(2)) : OBJCXXFLAGS += $(3)
552 $(call gb_LinkTarget_get_dep_target,$(1)) : OBJCXXOBJECTS += $(2)
553 $(call gb_LinkTarget_get_dep_target,$(1)) : $(call gb_ObjCxxObject_get_dep_target,$(2))
559 $(call gb_LinkTarget_get_target,$(1)) : GENCXXOBJECTS += $(2)
560 $(call gb_LinkTarget_get_clean_target,$(1)) : GENCXXOBJECTS += $(2)
562 $(call gb_LinkTarget_get_target,$(1)) : $(call gb_GenCxxObject_get_target,$(2))
563 $(call gb_GenCxxObject_get_source,$(2)) : | $(call gb_LinkTarget_get_headers_target,$(1))
564 $(call gb_GenCxxObject_get_target,$(2)) : CXXFLAGS += $(3) $(gb_COMPILEROPTFLAGS)
567 $(call gb_LinkTarget_get_dep_target,$(1)) : GENCXXOBJECTS += $(2)
568 $(call gb_LinkTarget_get_dep_target,$(1)) : $(call gb_GenCxxObject_get_dep_target,$(2))
574 $(call gb_LinkTarget_add_cxxobject,$(1),$(2),$(gb_LinkTarget_NOEXCEPTIONFLAGS) $(gb_COMPILEROPTFLAG…
578 $(call gb_LinkTarget_add_cxxobject,$(1),$(2),$(gb_LinkTarget_EXCEPTIONFLAGS) $(gb_COMPILEROPTFLAGS))
582 $(foreach obj,$(2),$(call gb_LinkTarget_add_cobject,$(1),$(obj),$(3)))
586 $(foreach obj,$(2),$(call gb_LinkTarget_add_cxxobject,$(1),$(obj),$(3)))
590 $(foreach obj,$(2),$(call gb_LinkTarget_add_objcxxobject,$(1),$(obj),$(3)))
594 $(foreach obj,$(2),$(call gb_LinkTarget_add_noexception_object,$(1),$(obj)))
598 $(foreach obj,$(2),$(call gb_LinkTarget_add_exception_object,$(1),$(obj)))
602 $(call gb_LinkTarget_add_generated_cxx_object,$(1),$(2),$(gb_LinkTarget_EXCEPTIONFLAGS))
606 $(foreach obj,$(2),$(call gb_LinkTarget_add_generated_exception_object,$(1),$(obj)))
610 $(call gb_LinkTarget_get_target,$(1)) \
611 $(call gb_LinkTarget_get_dep_target,$(1)) : TARGETTYPE := $(2)
615 $(call gb_LinkTarget_get_clean_target,$(1)) \
616 $(call gb_LinkTarget_get_target,$(1)) : DLLTARGET := $(2)
620 $(call gb_LinkTarget_get_clean_target,$(1)) : AUXTARGETS := $(2)
624 $(call gb_LinkTarget_get_headers_target,$(1)) : $(2)
625 $(2) :| $(call gb_LinkTarget_get_external_headers_target,$(1))
630 $(foreach package,$(2),$(call gb_LinkTarget__add_internal_headers,$(1),$(call gb_Package_get_target…
631 $(call gb_LinkTarget_get_clean_target,$(1)) : $(foreach package,$(2),$(call gb_Package_get_clean_ta…
636 $(call gb_LinkTarget__add_internal_headers,$(1),$(foreach sdi,$(2),$(call gb_SdiTarget_get_target,$…
637 $(call gb_LinkTarget_get_clean_target,$(1)) : $(foreach sdi,$(2),$(call gb_SdiTarget_get_clean_targ…
641 $(call gb_LinkTarget__add_internal_headers,$(1),$(call gb_PrecompiledHeader_get_target,$(3)))
642 $(call gb_LinkTarget_get_clean_target,$(1)) : $(call gb_PrecompiledHeader_get_clean_target,$(3))
643 $(call gb_PrecompiledHeader_get_target,$(3)) : $(2).cxx
645 $(call gb_LinkTarget__add_internal_headers,$(1),$(call gb_NoexPrecompiledHeader_get_target,$(3)))
646 $(call gb_LinkTarget_get_clean_target,$(1)) : $(call gb_NoexPrecompiledHeader_get_clean_target,$(3))
647 $(call gb_NoexPrecompiledHeader_get_target,$(3)) : $(2).cxx
649 $(call gb_LinkTarget_get_target,$(1)) : PCH_NAME := $(3)
650 $(call gb_LinkTarget_get_target,$(1)) : PCHOBJS = $(call gb_PrecompiledHeader_get_target,$(3)).obj …
652 $(call gb_LinkTarget_get_headers_target,$(1)) \
653 $(call gb_LinkTarget_get_target,$(1)) : DEFS := $$(DEFS) -DPRECOMPILED_HEADERS
654 $(call gb_LinkTarget_get_headers_target,$(1)) \
655 $(call gb_LinkTarget_get_target,$(1)) : PCH_DEFS = $$(DEFS)
658 $(call gb_PrecompiledHeader_get_dep_target,$(3)) \
659 $(call gb_NoexPrecompiledHeader_get_dep_target,$(3))
660 $(call gb_LinkTarget_get_dep_target,$(1)) : DEFS := $$(DEFS) -DPRECOMPILED_HEADERS
661 $(call gb_LinkTarget_get_dep_target,$(1)) : PCH_DEFS = $$(DEFS)
668 $(call gb_LinkTarget__add_precompiled_header_impl,$(1),$(2),$(notdir $(2)))