summaryrefslogtreecommitdiff
path: root/extras/usb-db/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'extras/usb-db/Makefile.am')
-rw-r--r--extras/usb-db/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/extras/usb-db/Makefile.am b/extras/usb-db/Makefile.am
new file mode 100644
index 0000000000..58fd2c9370
--- /dev/null
+++ b/extras/usb-db/Makefile.am
@@ -0,0 +1,12 @@
+include $(top_srcdir)/Makefile.am.inc
+
+udevhomedir = $(udev_prefix)/lib/udev
+udevhome_PROGRAMS = usb-db pci-db
+
+usb_db_SOURCES = usb-db.c
+usb_db_CPPFLAGS = $(AM_CPPFLAGS) -DUSB_DATABASE=\"$(USB_DATABASE)\" -DBUILD_FOR_USB
+usb_db_LDADD = $(top_builddir)/libudev/libudev.la
+
+pci_db_SOURCES = $(usb_db_SOURCES)
+pci_db_CPPFLAGS = $(AM_CPPFLAGS) -DPCI_DATABASE=\"$(PCI_DATABASE)\" -DBUILD_FOR_PCI
+pci_db_LDADD = $(top_builddir)/libudev/libudev.la