diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-07-30 01:45:23 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-07-30 01:45:23 +0200 |
commit | 01618658fd82dbc5e6315b639f00e87c6fee3c54 (patch) | |
tree | df8e628d04a81186d6d431fd3b1fa50a3d34987a /extras/usb_id | |
parent | 726687ad48bdececed1e7e44387c50e009e28208 (diff) |
use autotools
Diffstat (limited to 'extras/usb_id')
-rw-r--r-- | extras/usb_id/Makefile.am | 18 | ||||
-rw-r--r-- | extras/usb_id/usb_id.c | 2 |
2 files changed, 19 insertions, 1 deletions
diff --git a/extras/usb_id/Makefile.am b/extras/usb_id/Makefile.am new file mode 100644 index 0000000000..0de004a228 --- /dev/null +++ b/extras/usb_id/Makefile.am @@ -0,0 +1,18 @@ +udevhomedir = $(udev_prefix)/lib/udev +udevhome_PROGRAMS = \ + usb_id + +AM_CPPFLAGS = \ + -DSYSCONFDIR=\""$(sysconfdir)"\" \ + -DUDEV_PREFIX=\""$(udev_prefix)"\" + +usb_id_SOURCES = \ + usb_id.c \ + ../../udev/udev_sysfs.c \ + ../../udev/udev_sysdeps.c \ + ../../udev/udev_utils.c \ + ../../udev/udev_utils_string.c + +distclean-local: + rm -f Makefile.in + diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c index fed6631b90..5b78b975d8 100644 --- a/extras/usb_id/usb_id.c +++ b/extras/usb_id/usb_id.c @@ -20,7 +20,7 @@ #include <errno.h> #include <getopt.h> -#include "../../udev.h" +#include "../../udev/udev.h" #define MAX_PATH_LEN 512 #define MAX_SERIAL_LEN 256 |