diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-01-10 17:50:47 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-01-10 17:52:40 +0100 |
commit | 5a0ab1a45858f4f7336f6dbdc218502cc31f0168 (patch) | |
tree | 899b7cdaea3000145dfc9f0cc994dd8a838b7d62 /solenv/gbuild/Executable.mk | |
parent | RepositoryModule_ooo.mk: add cppuhelper (diff) | |
download | core-5a0ab1a45858f4f7336f6dbdc218502cc31f0168.tar.gz core-5a0ab1a45858f4f7336f6dbdc218502cc31f0168.zip |
gbuild: Executable.mk: don't build unregistered exes
Diffstat (limited to 'solenv/gbuild/Executable.mk')
-rw-r--r-- | solenv/gbuild/Executable.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/solenv/gbuild/Executable.mk b/solenv/gbuild/Executable.mk index 7858967eab88..2c5d9ea7791b 100644 --- a/solenv/gbuild/Executable.mk +++ b/solenv/gbuild/Executable.mk @@ -43,6 +43,10 @@ $(call gb_Executable_get_target,%) : $(foreach target,$(AUXTARGETS), && $(call gb_Deliver_deliver,$(dir $<)/$(notdir $(target)),$(target)))) define gb_Executable_Executable +ifeq (,$$(findstring $(1),$$(gb_Executable_KNOWN))) +$$(eval $$(call gb_Output_info,Currently known executables: $(sort $(gb_Executable_KNOWN)),ALL)) +$$(eval $$(call gb_Output_error,Executable $(1) must be registered in Repository.mk)) +endif $(call gb_Executable__Executable_impl,$(1),Executable/$(1)$(gb_Executable_EXT)) endef |