First import
[xorg_rtime.git] / xorg-server-1.4 / hw / xfree86 / scanpci / Makefile.am
blobd4d9da22240621931428b5bc4c8d037334389a5c
1 module_LTLIBRARIES = libscanpci.la libpcidata.la
3 libpcidata_la_LDFLAGS = -avoid-version
4 libscanpci_la_LDFLAGS = -avoid-version
6 libpcidata_la_SOURCES = xf86PciData.c
7 libscanpci_la_SOURCES = xf86ScanPci.c
9 INCLUDES = $(XORG_INCS)
11 AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
13 BUILT_SOURCES = xf86PciIds.h
15 EXTRA_DIST = \
16         xf86PciData.h \
17         xf86PciIds.h \
18         xf86PciStdIds.h \
19         xf86PciStr.h \
20         xf86ScanPci.h \
21         pci.ids \
22         extrapci.ids \
23         pciid2c.pl
25 xf86PciData.c:
26         echo "#define PCIDATA" > $@
27         echo "#include \"$(srcdir)/xf86ScanPci.c\"" >> $@
29 xf86PciIds.h: $(srcdir)/../common/xf86PciInfo.h
30         cat $(srcdir)/pci.ids $(srcdir)/extrapci.ids | $(PERL) $(srcdir)/pciid2c.pl $(srcdir)/../common/xf86PciInfo.h > xf86PciIds.h
32 DISTCLEANFILES = xf86PciData.c xf86PciIds.h