summaryrefslogtreecommitdiff
path: root/src/libudev/Makefile.am
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-15 20:18:22 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-15 20:18:22 -0500
commitc47f33a498f9c824a48c23987b312b3176602f7f (patch)
tree56d87b528c9149fbdcb6d286feb4a897a65b41cd /src/libudev/Makefile.am
parentb7b2cc298c71189c881150723708b49ca4c6112c (diff)
Second step of revamping the build system
The original Makefile.am was drawn to the top level. This commit breaks it out into the various directories with SUBDIRS connecting them. This makes each directory easier to maintain.
Diffstat (limited to 'src/libudev/Makefile.am')
-rw-r--r--src/libudev/Makefile.am53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/libudev/Makefile.am b/src/libudev/Makefile.am
new file mode 100644
index 0000000000..57f22a6ec6
--- /dev/null
+++ b/src/libudev/Makefile.am
@@ -0,0 +1,53 @@
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+
+LIBUDEV_CURRENT=3
+LIBUDEV_REVISION=0
+LIBUDEV_AGE=2
+
+lib_LTLIBRARIES = \
+ libudev.la
+
+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 \
+ libudev-hwdb-def.h \
+ libudev-hwdb.c
+
+libudev_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ -fvisibility=hidden
+
+libudev_la_LDFLAGS = \
+ $(AM_LDFLAGS) \
+ -version-info $(LIBUDEV_CURRENT):$(LIBUDEV_REVISION):$(LIBUDEV_AGE) \
+ -Wl,--version-script=libudev.sym
+
+pkgconfiglibdir=$(libdir)/pkgconfig
+pkgconfiglib_DATA = \
+ libudev.pc
+
+EXTRA_DIST = \
+ libudev.pc.in \
+ libudev.sym
+
+CLEANFILES = \
+ libudev.pc
+
+noinst_LTLIBRARIES = \
+ libudev-private.la
+
+libudev_private_la_SOURCES =\
+ $(libudev_la_SOURCES) \
+ libudev-device-private.c \
+ libudev-queue-private.c
+
+libudev_private_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ -fvisibility=default
+