diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-06-25 12:34:42 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-25 12:46:17 +0200 |
commit | efb69f7c737f8f8dae876c8d6b7bf3968a40676d (patch) | |
tree | 476af657b88cb84eda4f3fad0674717c5aaaccaa /solenv/gbuild/Extension.mk | |
parent | fdo#51115: fix sdext extensions on Windows: (diff) | |
download | core-efb69f7c737f8f8dae876c8d6b7bf3968a40676d.tar.gz core-efb69f7c737f8f8dae876c8d6b7bf3968a40676d.zip |
gbuild: add gb_Extension_add_executable
This is not really necessary, but consistent.
Change-Id: Ic0249efac26c9977ede7ef591d517cc03542b002
Diffstat (limited to 'solenv/gbuild/Extension.mk')
-rw-r--r-- | solenv/gbuild/Extension.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/solenv/gbuild/Extension.mk b/solenv/gbuild/Extension.mk index a959a8f34eed..86c1366d93a9 100644 --- a/solenv/gbuild/Extension.mk +++ b/solenv/gbuild/Extension.mk @@ -166,6 +166,16 @@ define gb_Extension_add_libraries $(foreach lib,$(2),$(call gb_Extension_add_library,$(1),$(lib))) endef +# add an executable from the solver +define gb_Extension_add_executable +$(call gb_Extension_add_file,$(1),$(notdir $(call gb_Executable_get_target,$(2))),\ + $(call gb_Executable_get_target,$(2))) +endef + +define gb_Extension_add_executables +$(foreach exe,$(2),$(call gb_Extension_add_executable,$(1),$(exe))) +endef + # localize .properties file # source file is copied to $(WORKDIR) define gb_Extension_localize_properties |