summaryrefslogtreecommitdiff
path: root/extras/usb-db/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-06-17 02:25:07 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-06-17 02:25:07 +0200
commit6133f3432fe86bc140cc9ba74794826f75c915fa (patch)
tree1199e3d6f005b66ea7b0d8b34d5ef323d7ee3cc0 /extras/usb-db/Makefile.am
parent29cf5b58be1a783157edc37d7151d86acbdd5732 (diff)
cleanup ./configure installation directory options
Diffstat (limited to 'extras/usb-db/Makefile.am')
-rw-r--r--extras/usb-db/Makefile.am27
1 files changed, 19 insertions, 8 deletions
diff --git a/extras/usb-db/Makefile.am b/extras/usb-db/Makefile.am
index 58fd2c9370..2ac61f6aa1 100644
--- a/extras/usb-db/Makefile.am
+++ b/extras/usb-db/Makefile.am
@@ -1,12 +1,23 @@
include $(top_srcdir)/Makefile.am.inc
-udevhomedir = $(udev_prefix)/lib/udev
-udevhome_PROGRAMS = usb-db pci-db
+libexec_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
+usb_db_SOURCES = \
+ usb-db.c
-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
+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