ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} rootprefix=@rootprefix@ udevlibexecdir=$(rootprefix)/lib/udev udevhomedir = $(udevlibexecdir) AM_CPPFLAGS = \ -include $(top_builddir)/config.h \ -DROOTPREFIX=\"$(rootprefix)\" \ -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \ -I $(top_srcdir)/src/libudev \ -I $(top_srcdir)/src/udev \ -I $(top_srcdir)/src/shared sbin_PROGRAMS = \ udevd \ udevadm udevd_SOURCES = \ udevd.c udevd_LDADD = \ libudev-core.la udevadm_SOURCES = \ udevadm.c \ udevadm-info.c \ udevadm-control.c \ udevadm-monitor.c \ udevadm-hwdb.c \ udevadm-settle.c \ udevadm-trigger.c \ udevadm-test.c \ udevadm-test-builtin.c udevadm_LDADD = \ libudev-core.la noinst_LTLIBRARIES = \ libudev-core.la libudev_core_la_SOURCES = \ udev.h \ udev-event.c \ udev-watch.c \ udev-node.c \ udev-rules.c \ udev-ctrl.c \ udev-builtin.c \ udev-builtin-btrfs.c \ udev-builtin-firmware.c \ udev-builtin-hwdb.c \ udev-builtin-input_id.c \ udev-builtin-net_id.c \ udev-builtin-path_id.c \ udev-builtin-usb_id.c \ acl-util.c \ conf-files.c \ cgroup-util.c \ dev-setup.c \ exit-status.c \ hashmap.c \ label.c \ log.c \ logind-acl.c \ mkdir.c \ path-util.c \ sd-daemon.c \ sd-login.c \ set.c \ strbuf.c \ strv.c \ util.c libudev_core_la_CFLAGS = \ $(AM_CFLAGS) libudev_core_la_LIBADD = \ $(top_srcdir)/src/libudev/libudev-private.la if HAVE_ACL libudev_core_la_SOURCES += \ udev-builtin-uaccess.c libudev_core_la_LIBADD += \ $(ACL_LIBS) endif libudev_core_la_CPPFLAGS = \ $(AM_CPPFLAGS) \ -DFIRMWARE_PATH="$(FIRMWARE_PATH)" # # Extras # udevconfdir = $(sysconfdir)/udev dist_udevconf_DATA = \ udev.conf sharepkgconfigdir = $(datadir)/pkgconfig sharepkgconfig_DATA = \ udev.pc EXTRA_DIST = \ udev.pc.in CLEANFILES = \ udev.pc # ------------------------------------------------------------------------------ # Helper programs below # SUBDIR = \ accelerometer \ ata_id \ cdrom_id \ collect \ mtd_probe \ scsi_id \ v4l_id if ENABLE_KEYMAP SUBDIR += \ keymap endif