diff options
Diffstat (limited to 'hw/xfree86/scanpci')
-rw-r--r-- | hw/xfree86/scanpci/Makefile.am | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/hw/xfree86/scanpci/Makefile.am b/hw/xfree86/scanpci/Makefile.am index f52d91b61..78aaffdd2 100644 --- a/hw/xfree86/scanpci/Makefile.am +++ b/hw/xfree86/scanpci/Makefile.am @@ -5,6 +5,10 @@ libscanpci_la_SOURCES = xf86ScanPci.c INCLUDES = $(XORG_INCS) +AM_CFLAGS = $(XORG_CFLAGS) + +BUILT_SOURCES = xf86PciIds.h + EXTRA_DIST = \ xf86PciData.h \ xf86PciIds.h \ @@ -16,4 +20,7 @@ xf86PciData.c: echo "#define PCIDATA" > $@ echo "#include \"$(srcdir)/xf86ScanPci.c\"" >> $@ -DISTCLEANFILES = xf86PciData.c +xf86PciIds.h: $(srcdir)/../common/xf86PciInfo.h + $(PERL) $(srcdir)/pciid2c.pl $(srcdir)/../common/xf86PciInfo.h < $(srcdir)/pci.ids > xf86PciIds.h + +DISTCLEANFILES = xf86PciData.c xf86PciIds.h |