Mercurial > mplayer.hg
comparison Makefile @ 26585:bb7a4686d158
Add new tests target to build all test programs and remove them on distclean.
author | diego |
---|---|
date | Wed, 30 Apr 2008 14:37:34 +0000 |
parents | f865a9546178 |
children | 4f76dfed8209 |
comparison
equal
deleted
inserted
replaced
26584:f865a9546178 | 26585:bb7a4686d158 |
---|---|
809 loader/qtx/qtxload$(EXESUF): loader/qtx/qtxload.c $(LOADER_TEST_OBJS) | 809 loader/qtx/qtxload$(EXESUF): loader/qtx/qtxload.c $(LOADER_TEST_OBJS) |
810 | 810 |
811 mp3lib/test$(EXESUF): mp3lib/test.c $(filter mp3lib/%,$(SRCS_COMMON:.c=.o)) libvo/aclib.o cpudetect.o mp_msg-mencoder.o mp_fifo.o osdep/$(TIMER) osdep/$(GETCH) -ltermcap -lm | 811 mp3lib/test$(EXESUF): mp3lib/test.c $(filter mp3lib/%,$(SRCS_COMMON:.c=.o)) libvo/aclib.o cpudetect.o mp_msg-mencoder.o mp_fifo.o osdep/$(TIMER) osdep/$(GETCH) -ltermcap -lm |
812 mp3lib/test2$(EXESUF): mp3lib/test2.c $(filter mp3lib/%,$(SRCS_COMMON:.c=.o)) libvo/aclib.o cpudetect.o mp_msg-mencoder.o mp_fifo.o osdep/$(TIMER) osdep/$(GETCH) -ltermcap -lm | 812 mp3lib/test2$(EXESUF): mp3lib/test2.c $(filter mp3lib/%,$(SRCS_COMMON:.c=.o)) libvo/aclib.o cpudetect.o mp_msg-mencoder.o mp_fifo.o osdep/$(TIMER) osdep/$(GETCH) -ltermcap -lm |
813 | 813 |
814 TESTS = liba52/test$(EXESUF) libvo/aspecttest$(EXESUF) \ | |
815 loader/qtx/list$(EXESUF) loader/qtx/qtxload$(EXESUF) \ | |
816 mp3lib/test$(EXESUF) mp3lib/test2$(EXESUF) | |
817 | |
818 tests: $(TESTS) | |
819 | |
814 install: install-dirs $(INSTALL_TARGETS) | 820 install: install-dirs $(INSTALL_TARGETS) |
815 | 821 |
816 install-dirs: | 822 install-dirs: |
817 $(INSTALL) -d $(BINDIR) | 823 $(INSTALL) -d $(BINDIR) |
818 $(INSTALL) -d $(DATADIR) | 824 $(INSTALL) -d $(DATADIR) |
872 rm -f mplayer$(EXESUF) mencoder$(EXESUF) | 878 rm -f mplayer$(EXESUF) mencoder$(EXESUF) |
873 | 879 |
874 distclean: clean doxygen_clean | 880 distclean: clean doxygen_clean |
875 rm -f $(foreach dir,$(DIRS),$(foreach suffix,/*.d, $(addsuffix $(suffix),$(dir)))) | 881 rm -f $(foreach dir,$(DIRS),$(foreach suffix,/*.d, $(addsuffix $(suffix),$(dir)))) |
876 rm -f configure.log config.mak config.h codecs.conf.h help_mp.h \ | 882 rm -f configure.log config.mak config.h codecs.conf.h help_mp.h \ |
877 version.h $(VIDIX_PCI_FILES) \ | 883 version.h $(VIDIX_PCI_FILES) $(TESTS) \ |
878 codec-cfg$(EXESUF) codecs2html$(EXESUF) codec-cfg-test$(EXESUF) \ | 884 codec-cfg$(EXESUF) codecs2html$(EXESUF) codec-cfg-test$(EXESUF) \ |
879 cpuinfo$(EXESUF) TAGS tags | 885 cpuinfo$(EXESUF) TAGS tags |
880 | 886 |
881 strip: | 887 strip: |
882 strip -s $(ALL_PRG) | 888 strip -s $(ALL_PRG) |
973 rm -f $(ALLTOOLS) TOOLS/fastmem*-* TOOLS/realcodecs/*.so.6.0 | 979 rm -f $(ALLTOOLS) TOOLS/fastmem*-* TOOLS/realcodecs/*.so.6.0 |
974 | 980 |
975 -include $(DEPS) | 981 -include $(DEPS) |
976 | 982 |
977 .PHONY: all doxygen *install* recurse strip *tools | 983 .PHONY: all doxygen *install* recurse strip *tools |
978 .PHONY: checkheaders *clean dep depend | 984 .PHONY: checkheaders *clean dep depend tests |