2006-11-26 11:13:41 -07:00
|
|
|
module_LTLIBRARIES = libscanpci.la libpcidata.la
|
|
|
|
|
|
|
|
libpcidata_la_LDFLAGS = -avoid-version
|
|
|
|
libscanpci_la_LDFLAGS = -avoid-version
|
|
|
|
|
|
|
|
libpcidata_la_SOURCES = xf86PciData.c
|
|
|
|
libscanpci_la_SOURCES = xf86ScanPci.c
|
|
|
|
|
|
|
|
INCLUDES = $(XORG_INCS)
|
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
BUILT_SOURCES = xf86PciIds.h
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
xf86PciData.h \
|
|
|
|
xf86PciIds.h \
|
|
|
|
xf86PciStdIds.h \
|
|
|
|
xf86PciStr.h \
|
|
|
|
xf86ScanPci.h \
|
|
|
|
pci.ids \
|
|
|
|
extrapci.ids \
|
|
|
|
pciid2c.pl
|
|
|
|
|
|
|
|
xf86PciData.c:
|
|
|
|
echo "#define PCIDATA" > $@
|
|
|
|
echo "#include \"$(srcdir)/xf86ScanPci.c\"" >> $@
|
|
|
|
|
|
|
|
xf86PciIds.h: $(srcdir)/../common/xf86PciInfo.h
|
|
|
|
cat $(srcdir)/pci.ids $(srcdir)/extrapci.ids | $(PERL) $(srcdir)/pciid2c.pl $(srcdir)/../common/xf86PciInfo.h > xf86PciIds.h
|
|
|
|
|
|
|
|
DISTCLEANFILES = xf86PciData.c xf86PciIds.h
|