summaryrefslogtreecommitdiff
path: root/udev/Makefile.am
diff options
context:
space:
mode:
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2009-08-07 02:01:29 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-08-07 19:15:28 +0200
commit59d93adb29fae25220955d44a5cd25f0d99e3528 (patch)
treed8137ed39ef6a4a54ebe0f2615b02251c24a7057 /udev/Makefile.am
parent4de08374d010ca85a932e11f0bac441561a10608 (diff)
Merge libudev, udev, and the unconditional extras in a single Makefile.am.
Instead of using multiple recursive Makefile.am files, use a single Makefile.am that sets and builds all the basic suite of libraries and binaries for udev. This reduces the number of files in the source tree, and also reduces drastically the build time when using parallel-make. With this setup, all the compile steps will be executed in parallel, and just the linking stage will be (partially) serialised on the libraries creation.
Diffstat (limited to 'udev/Makefile.am')
-rw-r--r--udev/Makefile.am74
1 files changed, 0 insertions, 74 deletions
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