summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_out/libdha/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_out/libdha/Makefile.am b/src/video_out/libdha/Makefile.am
index 6faa00d50..9c4fb9c0e 100644
--- a/src/video_out/libdha/Makefile.am
+++ b/src/video_out/libdha/Makefile.am
@@ -22,14 +22,18 @@ noinst_HEADERS = AsmMacros.h libdha.h
## for OpenBSD LIBS += -li386
## We have to create some files, on the fly, this is why this rule is needed.
-pci_names.lo:
+awk-depends:
$(AWK) -f $(top_srcdir)/src/video_out/libdha/pci_db2c.awk \
$(top_srcdir)/src/video_out/libdha/oth/pci.db
+
+pci_names.lo: awk-depends
source='$*.c' object='$@' libtool=yes \
depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \
$(CCDEPMODE) $(depcomp) \
$(LTCOMPILE) -c -o $@ `test -f $*.c || echo '$(srcdir)/'`$*.c
+pci_names.c: awk-depends
+
debug:
@$(MAKE) CFLAGS="$(DEBUG_CFLAGS) @STATIC@ -DXINE_COMPILE"