Mercurial > mplayer.hg
comparison Makefile @ 35917:a428cba73765
build: Add proper conditional compilation for all tools.
Also add an SDL image library check to configure, which is required
for the bmovl test tool.
author | diego |
---|---|
date | Tue, 19 Mar 2013 10:42:33 +0000 |
parents | 209180129a45 |
children | 902fef954aba |
comparison
equal
deleted
inserted
replaced
35916:a9a29710f28a | 35917:a428cba73765 |
---|---|
1029 tests: $(addsuffix $(EXESUF),$(TESTS)) | 1029 tests: $(addsuffix $(EXESUF),$(TESTS)) |
1030 | 1030 |
1031 testsclean: | 1031 testsclean: |
1032 -rm -f $(call ADD_ALL_EXESUFS,$(TESTS)) | 1032 -rm -f $(call ADD_ALL_EXESUFS,$(TESTS)) |
1033 | 1033 |
1034 TOOLS-$(ARCH_X86) += fastmemcpybench modify_reg | 1034 TOOLS-$(ARCH_X86) += fastmemcpybench modify_reg |
1035 TOOLS-$(HAVE_WINDOWS_H) += vfw2menc | |
1036 TOOLS-$(SDL_IMAGE) += bmovl-test | |
1035 | 1037 |
1036 TOOLS := $(addprefix TOOLS/,alaw-gen asfinfo avi-fix avisubdump compare dump_mp4 movinfo netstream subrip vivodump $(TOOLS-yes)) | 1038 TOOLS := $(addprefix TOOLS/,alaw-gen asfinfo avi-fix avisubdump compare dump_mp4 movinfo netstream subrip vivodump $(TOOLS-yes)) |
1037 | 1039 |
1038 ALLTOOLS = $(TOOLS) TOOLS/bmovl-test TOOLS/vfw2menc | 1040 TOOLS_DEP_FILES = $(addsuffix .d,$(TOOLS)) |
1039 | |
1040 TOOLS_DEP_FILES = $(addsuffix .d,$(ALLTOOLS)) | |
1041 | 1041 |
1042 tools: $(addsuffix $(EXESUF),$(TOOLS)) | 1042 tools: $(addsuffix $(EXESUF),$(TOOLS)) |
1043 alltools: $(addsuffix $(EXESUF),$(ALLTOOLS)) | |
1044 | 1043 |
1045 toolsclean: | 1044 toolsclean: |
1046 -rm -f $(call ADD_ALL_EXESUFS,$(ALLTOOLS)) | 1045 -rm -f $(call ADD_ALL_EXESUFS,$(TOOLS) $(TOOLS-no)) |
1047 -rm -f TOOLS/realcodecs/*.so.6.0 | 1046 -rm -f TOOLS/realcodecs/*.so.6.0 |
1048 | 1047 |
1049 TOOLS/bmovl-test$(EXESUF): LIBS = -lSDL_image | 1048 TOOLS/bmovl-test$(EXESUF): LIBS = -lSDL_image |
1050 | 1049 |
1051 TOOLS/subrip$(EXESUF): path.o sub/vobsub.o sub/spudec.o sub/unrar_exec.o \ | 1050 TOOLS/subrip$(EXESUF): path.o sub/vobsub.o sub/spudec.o sub/unrar_exec.o \ |