2005-07-01 22:29:53 +02:00
|
|
|
module_LTLIBRARIES = libscanpci.la libpcidata.la
|
|
|
|
|
2005-07-14 00:09:52 +02:00
|
|
|
libpcidata_la_LDFLAGS = -avoid-version
|
|
|
|
libscanpci_la_LDFLAGS = -avoid-version
|
|
|
|
|
2005-07-01 22:29:53 +02:00
|
|
|
libpcidata_la_SOURCES = xf86PciData.c
|
|
|
|
libscanpci_la_SOURCES = xf86ScanPci.c
|
|
|
|
|
2005-07-03 17:51:23 +02:00
|
|
|
INCLUDES = $(XORG_INCS)
|
2005-07-01 22:29:53 +02:00
|
|
|
|
2006-09-18 21:11:18 +02:00
|
|
|
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
|
2005-07-02 20:59:44 +02:00
|
|
|
|
|
|
|
BUILT_SOURCES = xf86PciIds.h
|
|
|
|
|
2005-07-01 22:29:53 +02:00
|
|
|
EXTRA_DIST = \
|
|
|
|
xf86PciData.h \
|
|
|
|
xf86PciIds.h \
|
|
|
|
xf86PciStdIds.h \
|
|
|
|
xf86PciStr.h \
|
2005-08-05 00:31:20 +02:00
|
|
|
xf86ScanPci.h \
|
|
|
|
pci.ids \
|
2005-10-06 21:37:39 +02:00
|
|
|
extrapci.ids \
|
2005-08-05 00:31:20 +02:00
|
|
|
pciid2c.pl
|
2005-07-01 22:29:53 +02:00
|
|
|
|
|
|
|
xf86PciData.c:
|
|
|
|
echo "#define PCIDATA" > $@
|
|
|
|
echo "#include \"$(srcdir)/xf86ScanPci.c\"" >> $@
|
|
|
|
|
2005-07-02 20:59:44 +02:00
|
|
|
xf86PciIds.h: $(srcdir)/../common/xf86PciInfo.h
|
2005-10-06 21:37:39 +02:00
|
|
|
cat $(srcdir)/pci.ids $(srcdir)/extrapci.ids | $(PERL) $(srcdir)/pciid2c.pl $(srcdir)/../common/xf86PciInfo.h > xf86PciIds.h
|
2005-07-02 20:59:44 +02:00
|
|
|
|
|
|
|
DISTCLEANFILES = xf86PciData.c xf86PciIds.h
|