mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
dcfa6330ed
Instead, create files that #include mga_vid.c/radeon_vid.c with the proper #defines set. This has the added benefit of fixing dependency generation, which only works for existing .c files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25589 b3059339-0415-0410-9bf9-f77b7e298cf2
47 lines
1.5 KiB
Makefile
47 lines
1.5 KiB
Makefile
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_MGA_CRTC2) += mga_crtc2_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_RAGE128) += rage128_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
|
|
|
|
# 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/
|
|
|
|
PCI_FILES = pci_dev_ids.c pci_ids.h pci_names.c pci_names.h pci_vendors.h
|
|
|
|
libs: $(PCI_FILES)
|
|
|
|
dep depend:: $(PCI_FILES)
|
|
|
|
include ../mpcommon.mak
|
|
|
|
$(OBJS_MPLAYER): $(PCI_FILES)
|
|
|
|
$(PCI_FILES): pci.db
|
|
LC_ALL=C awk -f pci_db2c.awk $< $(VIDIX_PCIDB)
|
|
|
|
clean::
|
|
rm -f $(PCI_FILES)
|