summaryrefslogtreecommitdiff
path: root/src/libudev/Makefile.am
diff options
context:
space:
mode:
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
+