summaryrefslogtreecommitdiffstats
path: root/vidix/Makefile
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-06 15:20:49 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-06 15:20:49 +0000
commit51ba40dcd64518c8d5f9ce586171c8fb347a42c0 (patch)
tree590b1ce6d17f2126b67d1a5cb1576cdd7e8dea5c /vidix/Makefile
parent3099d0da16505cbc0aaab34f9299404e9ec19241 (diff)
downloadmpv-51ba40dcd64518c8d5f9ce586171c8fb347a42c0.tar.bz2
mpv-51ba40dcd64518c8d5f9ce586171c8fb347a42c0.tar.xz
merged libdha and libvidix, moved all files from libdha to vidix directory
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22918 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/Makefile')
-rw-r--r--vidix/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/vidix/Makefile b/vidix/Makefile
index b05b3b4fe2..a97666fe26 100644
--- a/vidix/Makefile
+++ b/vidix/Makefile
@@ -3,11 +3,25 @@ include ../config.mak
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 @@ mga_crtc2_vid.o: mga_vid.c
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