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.am15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/libudev/Makefile.am b/src/libudev/Makefile.am
index 3b1b075a64..b7f420982e 100644
--- a/src/libudev/Makefile.am
+++ b/src/libudev/Makefile.am
@@ -25,6 +25,8 @@ lib_LTLIBRARIES = \
libudev.la
libudev_la_SOURCES =\
+ libudev.sym \
+ libudev-private.h \
libudev.c \
libudev-list.c \
libudev-util.c \
@@ -32,8 +34,13 @@ libudev_la_SOURCES =\
libudev-enumerate.c \
libudev-monitor.c \
libudev-queue.c \
+ libudev-hwdb-def.h \
libudev-hwdb.c
+libudev_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ -fvisibility=hidden
+
noinst_HEADERS = \
libudev-hwdb-def.h \
libudev-private.h
@@ -49,11 +56,13 @@ libudev_la_LDFLAGS = \
libudev_la_LIBADD = \
$(top_builddir)/src/shared/libudev_shared.la
-libudev_private_la_SOURCES =\
+libudev_private_la_SOURCES = \
+ $(libudev_la_SOURCES) \
libudev-device-private.c
-libudev_private_la_LIBADD =\
- libudev.la
+libudev_private_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ -fvisibility=default
noinst_LTLIBRARIES = \
libudev-private.la