view vidix/Makefile @ 23597:8611e46ef592

r23504: -lavdopts threads is only implemented for mpeg[12] r23528: x264 no longer defaults to qp=26. r23530: Teletext support for tv:// (v4l and v4l2 only) r23548: give an example of -menu-chroot usage r23549: refine the example of -menu-chroot yet more r23561: add missing IDCT algothim, as defined in libavcodec/avcodec.h r23580: misc small fixes r23588: The audio balance feature implemented with af_pan. r23593: Revert r23530. r23609: Document the effect of -really-quiet on gmplayer.
author voroshil
date Sun, 24 Jun 2007 03:28:46 +0000
parents f5ecd91bcea1
children 4ba5a1593296
line wrap: on
line source

include ../config.mak

LIBNAME_MPLAYER = libvidix.a

SRCS_MPLAYER    = vidixlib.c \
                  drivers.c \
                  dha.c \
                  mtrr.c \
                  pci.c \
                  pci_names.c \
                  pci_dev_ids.c\

SRCS_MPLAYER-$(VIDIX_CYBERBLADE)           += cyberblade_vid.c
SRCS_MPLAYER-$(VIDIX_IVTV)                 += ivtv_vid.c
SRCS_MPLAYER-$(VIDIX_MACH64)               += mach64_vid.c
SRCS_MPLAYER-$(VIDIX_MGA)                  += mga_vid.c
SRCS_MPLAYER-$(VIDIX_NVIDIA)               += nvidia_vid.c
SRCS_MPLAYER-$(VIDIX_PM2)                  += pm2_vid.c
SRCS_MPLAYER-$(VIDIX_PM3)                  += pm3_vid.c
SRCS_MPLAYER-$(VIDIX_RADEON)               += radeon_vid.c
SRCS_MPLAYER-$(VIDIX_SAVAGE)               += savage_vid.c
SRCS_MPLAYER-$(VIDIX_SIS)                  += sis_vid.c sis_bridge.c
SRCS_MPLAYER-$(VIDIX_UNICHROME)            += unichrome_vid.c

ifeq ($(VIDIX_MGA_CRTC2), yes)
OBJS_MPLAYER += mga_crtc2_vid.o
endif
ifeq ($(VIDIX_RAGE128),yes)
OBJS_MPLAYER += rage128_vid.o
endif

# If you want libdha to use svgalib_helper for hardware access,
# uncomment this statement, and change the -I to the correct directory
# that includes svgalib_helper.o:
#CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/

libs: pci_names.c

dep depend:: pci_names.c

include ../mpcommon.mak

mga_crtc2_vid.o: mga_vid.c
	$(CC) -c $(CFLAGS) -DCRTC2 -o $@ $<

rage128_vid.o: radeon_vid.c
	$(CC) -c $(CFLAGS) -DRAGE128 -o $@ $<

pci_names.c pci_dev_ids.c: pci.db
	LC_ALL=C awk -f pci_db2c.awk $<

clean::
	rm -f pci_*.c pci_*.h