summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile.am246
-rw-r--r--configure.ac19
-rw-r--r--docs/Makefile.am5
-rw-r--r--extras/Makefile.am25
-rw-r--r--extras/ata_id/Makefile.am11
-rw-r--r--extras/cdrom_id/Makefile.am13
-rw-r--r--extras/collect/Makefile.am11
-rw-r--r--extras/edd_id/Makefile.am14
-rw-r--r--extras/firmware/Makefile.am7
-rw-r--r--extras/floppy/Makefile.am15
-rw-r--r--extras/fstab_import/Makefile.am13
-rw-r--r--extras/path_id/Makefile.am11
-rw-r--r--extras/rule_generator/Makefile.am14
-rw-r--r--extras/scsi_id/Makefile.am18
-rw-r--r--extras/usb_id/Makefile.am11
-rw-r--r--extras/v4l_id/Makefile.am10
-rw-r--r--libudev/Makefile.am71
-rw-r--r--rules/Makefile.am27
-rw-r--r--udev/Makefile.am74
20 files changed, 241 insertions, 375 deletions
diff --git a/.gitignore b/.gitignore
index 2be332aa16..5a5c4a00b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@
*.la
.libs
.deps
+.dirstamp
Makefile
Makefile.in
aclocal.m4
diff --git a/Makefile.am b/Makefile.am
index bcc2f3b920..b18ac91f00 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,18 +1,14 @@
include $(top_srcdir)/Makefile.am.inc
-SUBDIRS = \
- docs \
- libudev \
- udev \
- rules \
- extras
+SUBDIRS = . libudev/docs
udevconfdir = $(sysconfdir)/udev
dist_udevconf_DATA = \
udev.conf
EXTRA_DIST = \
- autogen.sh
+ autogen.sh \
+ libudev/exported_symbols
CLEANFILES = \
udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2
@@ -64,3 +60,239 @@ git-release:
doc-sync:
rsync -av --delete libudev/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/libudev/
rsync -av --delete extras/gudev/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/gudev/
+
+include_HEADERS = libudev/libudev.h
+
+# ------------------------------------------------------------------------------
+# Libraries
+# ------------------------------------------------------------------------------
+lib_LTLIBRARIES = libudev/libudev.la
+
+libudev_libudev_la_SOURCES =\
+ libudev/libudev-private.h \
+ libudev/libudev.c \
+ libudev/libudev-list.c \
+ libudev/libudev-util.c \
+ libudev/libudev-device.c \
+ libudev/libudev-enumerate.c \
+ libudev/libudev-monitor.c \
+ libudev/libudev-queue.c
+
+LIBUDEV_CURRENT=5
+LIBUDEV_REVISION=0
+LIBUDEV_AGE=5
+libudev_libudev_la_LDFLAGS = \
+ -version-info $(LIBUDEV_CURRENT):$(LIBUDEV_REVISION):$(LIBUDEV_AGE) \
+ -export-symbols $(top_srcdir)/libudev/exported_symbols
+
+noinst_LTLIBRARIES = \
+ libudev/libudev-private.la
+
+libudev_libudev_private_la_SOURCES =\
+ $(libudev_libudev_la_SOURCES) \
+ libudev/libudev-ctrl.c \
+ libudev/libudev-util-private.c \
+ libudev/libudev-device-private.c \
+ libudev/libudev-queue-private.c
+
+libudev_libudev_private_la_LIBADD =
+
+# ------------------------------------------------------------------------------
+# Programs
+# ------------------------------------------------------------------------------
+
+sbin_PROGRAMS = \
+ udev/udevd \
+ udev/udevadm
+
+udev_common_sources =\
+ udev/udev.h \
+ udev/udev-event.c \
+ udev/udev-watch.c \
+ udev/udev-node.c \
+ udev/udev-rules.c
+udev_common_libs = libudev/libudev-private.la
+
+udev_udevd_SOURCES = \
+ $(udev_common_sources) \
+ udev/udevd.c
+
+udev_udevd_LDADD = $(udev_common_libs)
+
+udev_udevadm_SOURCES = \
+ $(udev_common_sources) \
+ udev/udevadm.c \
+ udev/udevadm-info.c \
+ udev/udevadm-control.c \
+ udev/udevadm-test.c \
+ udev/udevadm-monitor.c \
+ udev/udevadm-settle.c \
+ udev/udevadm-trigger.c
+
+udev_udevadm_LDADD = $(udev_common_libs)
+
+libexec_PROGRAMS = \
+ extras/ata_id/ata_id \
+ extras/cdrom_id/cdrom_id \
+ extras/collect/collect \
+ extras/edd_id/edd_id \
+ extras/floppy/create_floppy_devices \
+ extras/path_id/path_id \
+ extras/fstab_import/fstab_import \
+ extras/scsi_id/scsi_id \
+ extras/usb_id/usb_id \
+ extras/v4l_id/v4l_id
+
+dist_libexec_SCRIPTS = \
+ extras/firmware/firmware.sh \
+ extras/rule_generator/write_cd_rules \
+ extras/rule_generator/write_net_rules
+
+udevhomedir = $(libexecdir)
+dist_udevhome_DATA = \
+ extras/rule_generator/rule_generator.functions
+
+extras_ata_id_ata_id_SOURCES = extras/ata_id/ata_id.c
+extras_ata_id_ata_id_LDADD = libudev/libudev-private.la
+
+extras_cdrom_id_cdrom_id_SOURCES = extras/cdrom_id/cdrom_id.c
+extras_cdrom_id_cdrom_id_LDADD = libudev/libudev-private.la
+
+extras_collect_collect_SOURCES = extras/collect/collect.c
+extras_collect_collect_LDADD = libudev/libudev-private.la
+
+extras_edd_id_edd_id_SOURCES = extras/edd_id/edd_id.c
+extras_edd_id_edd_id_LDADD = libudev/libudev-private.la
+
+extras_floppy_create_floppy_devices_SOURCES = extras/floppy/create_floppy_devices.c
+extras_floppy_create_floppy_devices_LDADD = libudev/libudev-private.la
+
+extras_path_id_path_id_SOURCES = extras/path_id/path_id.c
+extras_path_id_path_id_LDADD = libudev/libudev-private.la
+
+extras_fstab_import_fstab_import_SOURCES = extras/fstab_import/fstab_import.c
+extras_fstab_import_fstab_import_LDADD = libudev/libudev-private.la
+
+extras_scsi_id_scsi_id_SOURCES =\
+ extras/scsi_id/scsi_id.c \
+ extras/scsi_id/scsi_serial.c \
+ extras/scsi_id/scsi.h \
+ extras/scsi_id/scsi_id.h \
+ extras/scsi_id/bsg.h
+extras_scsi_id_scsi_id_LDADD = libudev/libudev-private.la
+
+extras_usb_id_usb_id_SOURCES = extras/usb_id/usb_id.c
+extras_usb_id_usb_id_LDADD = libudev/libudev-private.la
+
+extras_v4l_id_v4l_id_SOURCES = extras/v4l_id/v4l_id.c
+extras_v4l_id_v4l_id_LDADD = libudev/libudev-private.la
+
+# ------------------------------------------------------------------------------
+# Tests
+# ------------------------------------------------------------------------------
+check_PROGRAMS = \
+ libudev/test-libudev \
+ udev/test-udev
+
+libudev_test_libudev_SOURCES = libudev/test-libudev.c
+libudev_test_libudev_LDADD = libudev/libudev.la
+
+udev_test_udev_SOURCES = \
+ $(udev_common_sources) \
+ udev/test-udev.c
+udev_test_udev_LDADD = $(udev_common_libs)
+
+# ------------------------------------------------------------------------------
+# Basic rules
+# ------------------------------------------------------------------------------
+
+dist_udevrules_DATA = \
+ rules/rules.d/50-udev-default.rules \
+ rules/rules.d/60-persistent-storage.rules \
+ rules/rules.d/60-persistent-storage-tape.rules \
+ rules/rules.d/60-persistent-serial.rules \
+ rules/rules.d/60-persistent-input.rules \
+ rules/rules.d/60-persistent-alsa.rules \
+ rules/rules.d/80-drivers.rules \
+ rules/rules.d/95-udev-late.rules \
+ extras/rule_generator/75-cd-aliases-generator.rules \
+ extras/rule_generator/75-persistent-net-generator.rules \
+ extras/cdrom_id/60-cdrom_id.rules \
+ extras/edd_id/61-persistent-storage-edd.rules \
+ extras/firmware/50-firmware.rules \
+ extras/fstab_import/79-fstab_import.rules \
+ extras/v4l_id/60-persistent-v4l.rules
+
+EXTRA_DIST += \
+ rules/packages \
+ rules/redhat \
+ rules/suse \
+ rules/gentoo
+
+# ------------------------------------------------------------------------------
+# Conditionals (SElinux, etc…)
+# ------------------------------------------------------------------------------
+if WITH_SELINUX
+libudev_libudev_private_la_SOURCES += \
+ libudev/libudev-selinux-private.c
+libudev_libudev_private_la_LIBADD += \
+ $(SELINUX_LIBS)
+endif
+
+if ENABLE_EXTRAS
+dist_udevrules_DATA += \
+ rules/rules.d/75-net-description.rules \
+ rules/rules.d/75-tty-description.rules \
+ rules/rules.d/78-sound-card.rules
+
+SUBDIRS += \
+ extras/udev-acl \
+ extras/usb-db \
+ extras/hid2hci \
+ extras/keymap \
+ extras/modem-modeswitch \
+ extras/gudev
+endif
+
+# ------------------------------------------------------------------------------
+# Pkg-config, docs and man pages
+# ------------------------------------------------------------------------------
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = \
+ libudev/libudev.pc \
+ udev/udev.pc
+
+writing_udev_rulesdir = $(docdir)/writing_udev_rules
+dist_writing_udev_rules_DATA = \
+ docs/writing_udev_rules/index.html
+
+dist_man_MANS = \
+ udev/udev.7 \
+ udev/udevadm.8 \
+ udev/udevd.8 \
+ extras/scsi_id/scsi_id.8
+
+EXTRA_DIST += \
+ udev/udev.xml \
+ udev/udevadm.xml \
+ udev/udevd.xml
+
+%.7 %.8 : %.xml
+ $(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+
+# ------------------------------------------------------------------------------
+# Install and uninstall hooks
+# ------------------------------------------------------------------------------
+# move lib from $(libdir) to $(rootlib_execdir) and update devel link, if needed
+install-exec-hook:
+ if test "$(libdir)" != "$(rootlib_execdir)"; then \
+ mkdir -p $(DESTDIR)$(rootlib_execdir) && \
+ so_img_name=$$(readlink $(DESTDIR)$(libdir)/libudev.so) && \
+ so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
+ ln -sf $$so_img_rel_target_prefix$(rootlib_execdir)/$$so_img_name $(DESTDIR)$(libdir)/libudev.so && \
+ mv $(DESTDIR)$(libdir)/libudev.so.* $(DESTDIR)$(rootlib_execdir); \
+ fi
+
+uninstall-hook:
+ rm -f $(DESTDIR)$(rootlib_execdir)/libudev.so*
+
diff --git a/configure.ac b/configure.ac
index d4fb4e19a0..9041eeda7d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
AC_INIT([udev], [146], [linux-hotplug@vger.kernel.org])
AC_PREREQ(2.60)
-AM_INIT_AUTOMAKE([check-news foreign 1.9 dist-bzip2])
+AM_INIT_AUTOMAKE([check-news foreign 1.9 dist-bzip2 subdir-objects])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_DISABLE_STATIC
AC_USE_SYSTEM_EXTENSIONS
@@ -101,27 +101,10 @@ AM_CONDITIONAL([ENABLE_INTROSPECTION], [test "x$enable_introspection" = xyes])
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES([
Makefile
- docs/Makefile
- libudev/Makefile
libudev/libudev.pc
libudev/docs/Makefile
libudev/docs/version.xml
- udev/Makefile
udev/udev.pc
- rules/Makefile
- extras/Makefile
- extras/ata_id/Makefile
- extras/cdrom_id/Makefile
- extras/edd_id/Makefile
- extras/path_id/Makefile
- extras/firmware/Makefile
- extras/collect/Makefile
- extras/floppy/Makefile
- extras/fstab_import/Makefile
- extras/rule_generator/Makefile
- extras/scsi_id/Makefile
- extras/usb_id/Makefile
- extras/v4l_id/Makefile
extras/hid2hci/Makefile
extras/udev-acl/Makefile
extras/usb-db/Makefile
diff --git a/docs/Makefile.am b/docs/Makefile.am
deleted file mode 100644
index 0c829b43f5..0000000000
--- a/docs/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-writing_udev_rulesdir = $(docdir)/writing_udev_rules
-dist_writing_udev_rules_DATA = \
- writing_udev_rules/index.html
diff --git a/extras/Makefile.am b/extras/Makefile.am
deleted file mode 100644
index b7c9fe860d..0000000000
--- a/extras/Makefile.am
+++ /dev/null
@@ -1,25 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-SUBDIRS = \
- ata_id \
- cdrom_id \
- edd_id \
- path_id \
- firmware \
- collect \
- floppy \
- fstab_import \
- rule_generator \
- scsi_id \
- usb_id \
- v4l_id
-
-if ENABLE_EXTRAS
-SUBDIRS += \
- udev-acl \
- usb-db \
- hid2hci \
- keymap \
- modem-modeswitch \
- gudev
-endif
diff --git a/extras/ata_id/Makefile.am b/extras/ata_id/Makefile.am
deleted file mode 100644
index 54580661fe..0000000000
--- a/extras/ata_id/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-libexec_PROGRAMS = \
- ata_id
-
-ata_id_SOURCES = \
- ata_id.c
-
-ata_id_LDADD = \
- $(top_builddir)/libudev/libudev-private.la
-
diff --git a/extras/cdrom_id/Makefile.am b/extras/cdrom_id/Makefile.am
deleted file mode 100644
index f2307d2e78..0000000000
--- a/extras/cdrom_id/Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-libexec_PROGRAMS = \
- cdrom_id
-
-dist_udevrules_DATA = \
- 60-cdrom_id.rules
-
-cdrom_id_SOURCES = \
- cdrom_id.c
-
-cdrom_id_LDADD = \
- $(top_builddir)/libudev/libudev-private.la
diff --git a/extras/collect/Makefile.am b/extras/collect/Makefile.am
deleted file mode 100644
index 19e25c5056..0000000000
--- a/extras/collect/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-libexec_PROGRAMS = \
- collect
-
-collect_SOURCES = \
- collect.c
-
-collect_LDADD = \
- $(top_builddir)/libudev/libudev-private.la
-
diff --git a/extras/edd_id/Makefile.am b/extras/edd_id/Makefile.am
deleted file mode 100644
index 3ff562fdbd..0000000000
--- a/extras/edd_id/Makefile.am
+++ /dev/null
@@ -1,14 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-libexec_PROGRAMS = \
- edd_id
-
-dist_udevrules_DATA = \
- 61-persistent-storage-edd.rules
-
-edd_id_SOURCES = \
- edd_id.c
-
-edd_id_LDADD = \
- $(top_builddir)/libudev/libudev-private.la
-
diff --git a/extras/firmware/Makefile.am b/extras/firmware/Makefile.am
deleted file mode 100644
index b398beea76..0000000000
--- a/extras/firmware/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-dist_libexec_SCRIPTS = \
- firmware.sh
-
-dist_udevrules_DATA = \
- 50-firmware.rules
diff --git a/extras/floppy/Makefile.am b/extras/floppy/Makefile.am
deleted file mode 100644
index 05f7a0f167..0000000000
--- a/extras/floppy/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-libexec_PROGRAMS = \
- create_floppy_devices
-
-create_floppy_devices_SOURCES = \
- create_floppy_devices.c
-
-create_floppy_devices_LDADD = \
- $(top_builddir)/libudev/libudev-private.la
-
-if WITH_SELINUX
-create_floppy_devices_LDADD += \
- $(SELINUX_LIBS)
-endif
diff --git a/extras/fstab_import/Makefile.am b/extras/fstab_import/Makefile.am
deleted file mode 100644
index bfa0c4b59e..0000000000
--- a/extras/fstab_import/Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-libexec_PROGRAMS = \
- fstab_import
-
-dist_udevrules_DATA = \
- 79-fstab_import.rules
-
-fstab_import_SOURCES = \
- fstab_import.c
-
-fstab_import_LDADD = \
- $(top_builddir)/libudev/libudev-private.la
diff --git a/extras/path_id/Makefile.am b/extras/path_id/Makefile.am
deleted file mode 100644
index ffcc51f106..0000000000
--- a/extras/path_id/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-libexec_PROGRAMS = \
- path_id
-
-path_id_SOURCES = \
- path_id.c
-
-path_id_LDADD = \
- $(top_builddir)/libudev/libudev-private.la
-
diff --git a/extras/rule_generator/Makefile.am b/extras/rule_generator/Makefile.am
deleted file mode 100644
index 4f4e85ac87..0000000000
--- a/extras/rule_generator/Makefile.am
+++ /dev/null
@@ -1,14 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-dist_libexec_SCRIPTS = \
- write_cd_rules \
- write_net_rules
-
-udevhomedir = $(libexecdir)
-dist_udevhome_DATA = \
- rule_generator.functions
-
-dist_udevrules_DATA = \
- 75-cd-aliases-generator.rules \
- 75-persistent-net-generator.rules
-
diff --git a/extras/scsi_id/Makefile.am b/extras/scsi_id/Makefile.am
deleted file mode 100644
index 4c6fe471c3..0000000000
--- a/extras/scsi_id/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-libexec_PROGRAMS = \
- scsi_id
-
-scsi_id_SOURCES = \
- scsi_id.c \
- scsi_serial.c \
- scsi.h \
- scsi_id.h \
- bsg.h
-
-scsi_id_LDADD = \
- $(top_builddir)/libudev/libudev-private.la
-
-dist_man_MANS = \
- scsi_id.8
-
diff --git a/extras/usb_id/Makefile.am b/extras/usb_id/Makefile.am
deleted file mode 100644
index 9d94493e7a..0000000000
--- a/extras/usb_id/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-libexec_PROGRAMS = \
- usb_id
-
-usb_id_SOURCES = \
- usb_id.c
-
-usb_id_LDADD = \
- $(top_builddir)/libudev/libudev-private.la
-
diff --git a/extras/v4l_id/Makefile.am b/extras/v4l_id/Makefile.am
deleted file mode 100644
index 9345282716..0000000000
--- a/extras/v4l_id/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-libexec_PROGRAMS = \
- v4l_id
-
-dist_udevrules_DATA = \
- 60-persistent-v4l.rules
-
-v4l_id_SOURCES = \
- v4l_id.c
diff --git a/libudev/Makefile.am b/libudev/Makefile.am
deleted file mode 100644
index 6989bf31f3..0000000000
--- a/libudev/Makefile.am
+++ /dev/null
@@ -1,71 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-SUBDIRS = \
- docs
-
-noinst_PROGRAMS = \
- test-libudev
-
-test_libudev_SOURCES = \
- test-libudev.c
-
-test_libudev_LDADD = \
- libudev.la
-
-lib_LTLIBRARIES = \
- libudev.la
-
-include_HEADERS =\
- libudev.h
-
-libudev_la_SOURCES =\
- libudev-private.h \
- libudev.c \
- libudev-list.c \
- libudev-util.c \
- libudev-device.c \
- libudev-enumerate.c \
- libudev-monitor.c \
- libudev-queue.c
-
-noinst_LTLIBRARIES = \
- libudev-private.la
-
-libudev_private_la_SOURCES =\
- $(libudev_la_SOURCES) \
- libudev-ctrl.c \
- libudev-util-private.c \
- libudev-device-private.c \
- libudev-queue-private.c
-
-if WITH_SELINUX
-libudev_private_la_SOURCES += \
- libudev-selinux-private.c
-endif
-
-LT_CURRENT=5
-LT_REVISION=0
-LT_AGE=5
-libudev_la_LDFLAGS = \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
- -export-symbols $(top_srcdir)/libudev/exported_symbols
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = \
- libudev.pc
-
-EXTRA_DIST = \
- exported_symbols
-
-# move lib from $(libdir) to $(rootlib_execdir) and update devel link, if needed
-install-exec-hook:
- if test "$(libdir)" != "$(rootlib_execdir)"; then \
- mkdir -p $(DESTDIR)$(rootlib_execdir) && \
- so_img_name=$$(readlink $(DESTDIR)$(libdir)/libudev.so) && \
- so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
- ln -sf $$so_img_rel_target_prefix$(rootlib_execdir)/$$so_img_name $(DESTDIR)$(libdir)/libudev.so && \
- mv $(DESTDIR)$(libdir)/libudev.so.* $(DESTDIR)$(rootlib_execdir); \
- fi
-
-uninstall-hook:
- rm -f $(DESTDIR)$(rootlib_execdir)/libudev.so*
diff --git a/rules/Makefile.am b/rules/Makefile.am
deleted file mode 100644
index 7247cef568..0000000000
--- a/rules/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-dist_udevrules_DATA = \
- rules.d/50-udev-default.rules \
- rules.d/60-persistent-storage.rules \
- rules.d/60-persistent-storage-tape.rules \
- rules.d/60-persistent-serial.rules \
- rules.d/60-persistent-input.rules \
- rules.d/60-persistent-alsa.rules \
- rules.d/80-drivers.rules \
- rules.d/95-udev-late.rules
-
-if ENABLE_EXTRAS
-dist_udevrules_DATA += \
- rules.d/75-net-description.rules \
- rules.d/75-tty-description.rules \
- rules.d/78-sound-card.rules
-endif
-
-install-data-local:
- -mkdir -p $(DESTDIR)$(sysconfdir)/udev/rules.d
-
-EXTRA_DIST = \
- packages \
- redhat \
- suse \
- gentoo
diff --git a/udev/Makefile.am b/udev/Makefile.am
deleted file mode 100644
index f1d4d2d437..0000000000
--- a/udev/Makefile.am
+++ /dev/null
@@ -1,74 +0,0 @@
-include $(top_srcdir)/Makefile.am.inc
-
-sbin_PROGRAMS = \
- udevd \
- udevadm
-
-noinst_PROGRAMS = \
- test-udev
-
-common_files =\
- udev.h \
- udev-event.c \
- udev-watch.c \
- udev-node.c \
- udev-rules.c
-
-common_ldadd = \
- $(top_builddir)/libudev/libudev-private.la
-if WITH_SELINUX
-common_ldadd += \
- $(SELINUX_LIBS)
-endif
-
-udevd_SOURCES = \
- $(common_files) \
- udevd.c
-
-udevd_LDADD = \
- $(common_ldadd)
-
-udevadm_SOURCES = \
- $(common_files) \
- udevadm.c \
- udevadm-info.c \
- udevadm-control.c \
- udevadm-test.c \
- udevadm-monitor.c \
- udevadm-settle.c \
- udevadm-trigger.c
-
-udevadm_LDADD = \
- $(common_ldadd)
-
-
-test_udev_SOURCES = \
- $(common_files) \
- test-udev.c
-
-test_udev_LDADD = \
- $(common_ldadd)
-
-
-dist_man_MANS = \
- udev.7 \
- udevadm.8 \
- udevd.8
-
-pkgconfigdir = $(datadir)/pkgconfig
-pkgconfig_DATA = udev.pc
-
-EXTRA_DIST = \
- udev.pc.in \
- udev.xml \
- udevadm.xml \
- udevd.xml
-
-%.7 %.8 : %.xml
- $(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
-
-MAINTAINERCLEANFILES = \
- $(dist_man_MANS)
-
-git-clean:
- rm -f Makefile.in