diff Makefile @ 35922:1cc764869d00

build: Only build subrip tool if the UnRAR executable is available.
author diego
date Tue, 19 Mar 2013 16:50:25 +0000
parents 57761c0cbfe2
children d16e3d64b946
line wrap: on
line diff
--- a/Makefile	Tue Mar 19 16:50:18 2013 +0000
+++ b/Makefile	Tue Mar 19 16:50:25 2013 +0000
@@ -1034,9 +1034,10 @@
 TOOLS-$(ARCH_X86)               += fastmemcpybench
 TOOLS-$(HAVE_WINDOWS_H) += vfw2menc
 TOOLS-$(SDL_IMAGE)      += bmovl-test
+TOOLS-$(UNRAR_EXEC)             += subrip
 TOOLS-$(WIN32_EMULATION)        += modify_reg
 
-TOOLS := $(addprefix TOOLS/,alaw-gen asfinfo avi-fix avisubdump compare dump_mp4 movinfo netstream subrip vivodump $(TOOLS-yes))
+TOOLS := $(addprefix TOOLS/,alaw-gen asfinfo avi-fix avisubdump compare dump_mp4 movinfo netstream vivodump $(TOOLS-yes))
 
 TOOLS_DEP_FILES = $(addsuffix .d,$(TOOLS))