Mercurial > mplayer.hg
diff vidix/Makefile @ 22900:a9e111b88c4a
merged libdha and libvidix, moved all files from libdha to vidix directory
author | ben |
---|---|
date | Fri, 06 Apr 2007 15:20:49 +0000 |
parents | 9a1e26fef45b |
children | a7605669b114 |
line wrap: on
line diff
--- a/vidix/Makefile Fri Apr 06 09:22:28 2007 +0000 +++ b/vidix/Makefile Fri Apr 06 15:20:49 2007 +0000 @@ -3,11 +3,25 @@ LIBNAME_MPLAYER = libvidix.a SRCS_MPLAYER = vidixlib.c \ + libdha.c \ + mtrr.c \ + pci.c \ + pci_names.c \ + pci_dev_ids.c \ $(wildcard *.c) OBJS_MPLAYER = mga_crtc2_vid.o \ rage128_vid.o \ +# 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 @@ -15,3 +29,9 @@ 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