summaryrefslogtreecommitdiff
path: root/extras/cdrom_id/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'extras/cdrom_id/Makefile.am')
-rw-r--r--extras/cdrom_id/Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/extras/cdrom_id/Makefile.am b/extras/cdrom_id/Makefile.am
new file mode 100644
index 0000000000..88de1379cd
--- /dev/null
+++ b/extras/cdrom_id/Makefile.am
@@ -0,0 +1,24 @@
+udevhomedir = $(udev_prefix)/lib/udev
+udevhome_PROGRAMS = \
+ cdrom_id
+
+udevrulesdir = $(udev_prefix)/lib/udev/rules.d
+dist_udevrules_DATA = \
+ 60-cdrom_id.rules
+
+AM_CPPFLAGS = \
+ -DSYSCONFDIR=\""$(sysconfdir)"\" \
+ -DUDEV_PREFIX=\""$(udev_prefix)"\"
+
+cdrom_id_SOURCES = \
+ cdrom_id.c \
+ ../../udev/udev_sysdeps.c \
+ ../../udev/udev_utils.c \
+ ../../udev/udev_utils_string.c
+
+dist_man_MANS = \
+ cdrom_id.8
+
+distclean-local:
+ rm -f Makefile.in
+