aboutsummaryrefslogtreecommitdiffhomepage
path: root/vidix
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-02 21:50:30 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-02 21:50:30 +0000
commitd0dc5cbb6a72ac7563c17a4304cec508c8ef6bc7 (patch)
tree71861f9fd8c3af1e21424b5e425b7e75f9345003 /vidix
parent0bf8a54cfd556f562d6fbcb9549d8c0cf12366c9 (diff)
Properly express dependencies for generated .c and .h files.
This fixes parallel make runs, compare Bugzilla #967. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25588 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix')
-rw-r--r--vidix/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/vidix/Makefile b/vidix/Makefile
index 61c747bcae..a4d14da986 100644
--- a/vidix/Makefile
+++ b/vidix/Makefile
@@ -34,20 +34,24 @@ endif
# that includes svgalib_helper.o:
#CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/
-libs: pci_names.c
+PCI_FILES = pci_dev_ids.c pci_ids.h pci_names.c pci_names.h pci_vendors.h
-dep depend:: pci_names.c
+libs: $(PCI_FILES)
+
+dep depend:: $(PCI_FILES)
include ../mpcommon.mak
+$(OBJS_MPLAYER): $(PCI_FILES)
+
mga_crtc2_vid.o: mga_vid.c
$(CC) -c $(CFLAGS) -DCRTC2 -o $@ $<
rage128_vid.o: radeon_vid.c
$(CC) -c $(CFLAGS) -DRAGE128 -o $@ $<
-pci_dev_ids.c pci_ids.h pci_names.c pci_names.h pci_vendors.h: pci.db
+$(PCI_FILES): pci.db
LC_ALL=C awk -f pci_db2c.awk $< $(VIDIX_PCIDB)
clean::
- rm -f pci_*.c pci_*.h
+ rm -f $(PCI_FILES)