# libudev
# ------------------------------------------------------------------------------
LIBUDEV_CURRENT=8
-LIBUDEV_REVISION=2
+LIBUDEV_REVISION=3
LIBUDEV_AGE=8
SUBDIRS += libudev/docs
EXTRA_DIST += \
rules/arch \
- rules/misc \
- rules/gentoo
+ rules/misc
udevrulesdir = $(libexecdir)/rules.d
dist_udevrules_DATA = \
sharepkgconfigdir = $(datadir)/pkgconfig
sharepkgconfig_DATA = udev/udev.pc
+if WITH_SYSTEMD
+systemdsystemunit_DATA = \
+ init/udev.service \
+ init/udev-settle.service \
+ init/udev-retry.service
+endif
+
sbin_PROGRAMS = \
udev/udevd \
udev/udevadm
libexec_PROGRAMS += extras/mobile-action-modeswitch/mobile-action-modeswitch
+# ------------------------------------------------------------------------------
+# mtd_probe - autoloads FTL module for mtd devices
+# ------------------------------------------------------------------------------
+extras_mtd_probe_mtd_probe_SOURCES = \
+ extras/mtd_probe/mtd_probe.c \
+ extras/mtd_probe/mtd_probe.h \
+ extras/mtd_probe/probe_smartmedia.c
+
+extras_mtd_probe_mtd_probe_CPPFLAGS = $(AM_CPPFLAGS)
+
+dist_udevrules_DATA += extras/mtd_probe/75-probe_mtd.rules
+
+libexec_PROGRAMS += extras/mtd_probe/mtd_probe
+
+
# ------------------------------------------------------------------------------
# keymap - map custom hardware's multimedia keys
# ------------------------------------------------------------------------------