Mercurial > mplayer.hg
diff Makefile @ 26516:7b3c38ffae47
Merge vidix/Makefile into top-level Makefile.
author | diego |
---|---|
date | Sat, 26 Apr 2008 12:47:24 +0000 |
parents | d6860e5b3ab8 |
children | 04da3c7a6326 |
line wrap: on
line diff
--- a/Makefile Sat Apr 26 11:17:17 2008 +0000 +++ b/Makefile Sat Apr 26 12:47:24 2008 +0000 @@ -496,7 +496,28 @@ SRCS_MPLAYER-$(LIBMENU_DVBIN) += libmenu/menu_dvbin.c SRCS_MPLAYER-$(LIRC) += input/lirc.c -SRCS_MPLAYER-$(VIDIX) += libvo/vosub_vidix.c +SRCS_MPLAYER-$(VIDIX) += libvo/vosub_vidix.c \ + vidix/vidixlib.c \ + vidix/drivers.c \ + vidix/dha.c \ + vidix/mtrr.c \ + vidix/pci.c \ + vidix/pci_names.c \ + vidix/pci_dev_ids.c\ + +SRCS_MPLAYER-$(VIDIX_CYBERBLADE) += vidix/cyberblade_vid.c +SRCS_MPLAYER-$(VIDIX_IVTV) += vidix/ivtv_vid.c +SRCS_MPLAYER-$(VIDIX_MACH64) += vidix/mach64_vid.c +SRCS_MPLAYER-$(VIDIX_MGA) += vidix/mga_vid.c +SRCS_MPLAYER-$(VIDIX_MGA_CRTC2) += vidix/mga_crtc2_vid.c +SRCS_MPLAYER-$(VIDIX_NVIDIA) += vidix/nvidia_vid.c +SRCS_MPLAYER-$(VIDIX_PM2) += vidix/pm2_vid.c +SRCS_MPLAYER-$(VIDIX_PM3) += vidix/pm3_vid.c +SRCS_MPLAYER-$(VIDIX_RADEON) += vidix/radeon_vid.c +SRCS_MPLAYER-$(VIDIX_RAGE128) += vidix/rage128_vid.c +SRCS_MPLAYER-$(VIDIX_S3) += vidix/s3_vid.c +SRCS_MPLAYER-$(VIDIX_SIS) += vidix/sis_vid.c vidix/sis_bridge.c +SRCS_MPLAYER-$(VIDIX_UNICHROME) += vidix/unichrome_vid.c OBJS_MPLAYER-$(PE_EXECUTABLE) += osdep/mplayer-rc.o @@ -538,8 +559,6 @@ COMMON_LIBS-$(LIBA52) += liba52/liba52.a COMMON_LIBS-$(LIBMPEG2) += libmpeg2/libmpeg2.a -LIBS_MPLAYER-$(VIDIX) += vidix/vidix.a - ALL_PRG-$(MPLAYER) += mplayer$(EXESUF) ALL_PRG-$(MENCODER) += mencoder$(EXESUF) @@ -565,9 +584,6 @@ libswscale \ mp3lib \ -ifeq ($(VIDIX),yes) -PARTS += vidix -endif ifeq ($(WIN32DLL),yes) PARTS += loader endif @@ -597,6 +613,7 @@ stream/realrtsp \ tremor \ TOOLS \ + vidix \ all: recurse $(ALL_PRG) @@ -654,6 +671,14 @@ libmpdemux/demux_lavf.o libmpdemux/demux_lavf.d libmpdemux/mp_taglists.o libmpdemux/mp_taglists.d: CFLAGS += -Ilibavcodec +VIDIX_PCI_FILES = vidix/pci_dev_ids.c vidix/pci_ids.h vidix/pci_names.c \ + vidix/pci_names.h vidix/pci_vendors.h + +$(VIDIX_PCI_FILES): vidix/pci.db + LC_ALL=C awk -f vidix/pci_db2c.awk $< $(VIDIX_PCIDB) + +vidix/%.o vidix/%.d: $(VIDIX_PCI_FILES) + install: install-dirs $(INSTALL_TARGETS) install-dirs: @@ -713,7 +738,7 @@ clean:: toolsclean -rm -f mplayer$(EXESUF) mencoder$(EXESUF) codec-cfg$(EXESUF) \ codecs2html$(EXESUF) codec-cfg-test$(EXESUF) cpuinfo$(EXESUF) \ - codecs.conf.h help_mp.h version.h TAGS tags + codecs.conf.h help_mp.h version.h TAGS tags $(VIDIX_PCI_FILES) for part in $(PARTS); do $(MAKE) -C $$part clean; done rm -f $(foreach dir,$(DIRS),$(foreach suffix,/*.o /*.ho /*~, $(addsuffix $(suffix),$(dir))))