2002-01-05 10:13:25 +00:00
|
|
|
include ../config.mak
|
|
|
|
|
2007-03-14 08:45:58 +00:00
|
|
|
LIBNAME_MPLAYER = libvidix.a
|
2007-03-14 08:44:16 +00:00
|
|
|
|
2007-03-31 23:48:48 +00:00
|
|
|
SRCS_MPLAYER = vidixlib.c \
|
2007-04-16 13:54:43 +00:00
|
|
|
drivers.c \
|
|
|
|
dha.c \
|
|
|
|
mtrr.c \
|
|
|
|
pci.c \
|
|
|
|
pci_names.c \
|
|
|
|
pci_dev_ids.c\
|
|
|
|
|
2007-04-25 08:40:43 +00:00
|
|
|
SRCS_MPLAYER-$(VIDIX_CYBERBLADE) += cyberblade_vid.c
|
2007-05-10 18:47:27 +00:00
|
|
|
SRCS_MPLAYER-$(VIDIX_IVTV) += ivtv_vid.c
|
2007-04-25 08:40:43 +00:00
|
|
|
SRCS_MPLAYER-$(VIDIX_MACH64) += mach64_vid.c
|
|
|
|
SRCS_MPLAYER-$(VIDIX_MGA) += mga_vid.c
|
2008-01-02 22:00:34 +00:00
|
|
|
SRCS_MPLAYER-$(VIDIX_MGA_CRTC2) += mga_crtc2_vid.c
|
2007-04-25 08:40:43 +00:00
|
|
|
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
|
2008-01-02 22:00:34 +00:00
|
|
|
SRCS_MPLAYER-$(VIDIX_RAGE128) += rage128_vid.c
|
2008-02-29 20:01:28 +00:00
|
|
|
SRCS_MPLAYER-$(VIDIX_S3) += s3_vid.c
|
2007-04-25 08:40:43 +00:00
|
|
|
SRCS_MPLAYER-$(VIDIX_SIS) += sis_vid.c sis_bridge.c
|
|
|
|
SRCS_MPLAYER-$(VIDIX_UNICHROME) += unichrome_vid.c
|
|
|
|
|
2007-04-06 15:20:49 +00:00
|
|
|
# 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/
|
|
|
|
|
2008-01-02 21:50:30 +00:00
|
|
|
PCI_FILES = pci_dev_ids.c pci_ids.h pci_names.c pci_names.h pci_vendors.h
|
2007-04-06 15:20:49 +00:00
|
|
|
|
2008-01-02 21:50:30 +00:00
|
|
|
libs: $(PCI_FILES)
|
|
|
|
|
|
|
|
dep depend:: $(PCI_FILES)
|
2007-04-06 15:20:49 +00:00
|
|
|
|
2007-03-14 08:55:06 +00:00
|
|
|
include ../mpcommon.mak
|
2007-03-31 23:48:48 +00:00
|
|
|
|
2008-01-02 21:50:30 +00:00
|
|
|
$(OBJS_MPLAYER): $(PCI_FILES)
|
|
|
|
|
|
|
|
$(PCI_FILES): pci.db
|
2007-12-04 18:10:20 +00:00
|
|
|
LC_ALL=C awk -f pci_db2c.awk $< $(VIDIX_PCIDB)
|
2007-04-06 15:20:49 +00:00
|
|
|
|
|
|
|
clean::
|
2008-01-02 21:50:30 +00:00
|
|
|
rm -f $(PCI_FILES)
|