StaticLibrary.mk (b63233d8) StaticLibrary.mk (390c74e1)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 57 unchanged lines hidden (view full) ---

66$(call gb_StaticLibrary_get_clean_target,$(1)) : $(call gb_LinkTarget_get_clean_target,$(2))
67$(call gb_StaticLibrary_StaticLibrary_platform,$(1),$(2))
68$$(eval $$(call gb_Module_register_target,$(call gb_StaticLibrary_get_target,$(1)),$(call gb_StaticLibrary_get_clean_target,$(1))))
69$(call gb_Deliver_add_deliverable,$(call gb_StaticLibrary_get_target,$(1)),$(call gb_LinkTarget_get_target,$(2)),$(1))
70
71endef
72
73define gb_StaticLibrary_forward_to_Linktarget
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 57 unchanged lines hidden (view full) ---

66$(call gb_StaticLibrary_get_clean_target,$(1)) : $(call gb_LinkTarget_get_clean_target,$(2))
67$(call gb_StaticLibrary_StaticLibrary_platform,$(1),$(2))
68$$(eval $$(call gb_Module_register_target,$(call gb_StaticLibrary_get_target,$(1)),$(call gb_StaticLibrary_get_clean_target,$(1))))
69$(call gb_Deliver_add_deliverable,$(call gb_StaticLibrary_get_target,$(1)),$(call gb_LinkTarget_get_target,$(2)),$(1))
70
71endef
72
73define gb_StaticLibrary_forward_to_Linktarget
74gb_StaticLibrary_$(1) = $$(call gb_LinkTarget_$(1),$$(call gb_StaticLibrary__get_linktargetname,$$(1)),$$(2),$$(3))
74gb_StaticLibrary_$(1) = $$(call gb_LinkTarget_$(1),$$(call gb_StaticLibrary__get_linktargetname,$$(1)),$$(2),$$(3),$$(4))
75
76endef
77
78$(eval $(foreach method,\
79 add_cobject \
80 add_cobjects \
81 add_cxxobject \
82 add_cxxobjects \

--- 29 unchanged lines hidden ---
75
76endef
77
78$(eval $(foreach method,\
79 add_cobject \
80 add_cobjects \
81 add_cxxobject \
82 add_cxxobjects \

--- 29 unchanged lines hidden ---