diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-08-21 13:02:56 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-08-21 13:02:56 +0200 |
commit | 6cbe00dbfa5d4035918d5a2b28228dd5db915652 (patch) | |
tree | 163af98328f857f6d44f0ea6c3427b8d3941e42b /common | |
parent | 9657df70f35d52e7fad5f2ddfc63efe910bb51ca (diff) |
Remove unused code from client libs
The gvfsmountinfo.c (and its libbluray dependency) is unused by
the client code, so we remove it from the common shared lib.
We use a non-shared lib for this, as in practice only one of the
monitors that use this code will be build/installed/used.
Diffstat (limited to 'common')
-rw-r--r-- | common/Makefile.am | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/common/Makefile.am b/common/Makefile.am index 5eada63f..80f26ac6 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -1,6 +1,7 @@ NULL = lib_LTLIBRARIES=libgvfscommon.la +noinst_LTLIBRARIES = libgvfscommon-monitor.la INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gvfs \ -I$(top_srcdir)/daemon \ @@ -25,7 +26,6 @@ libgvfscommon_la_SOURCES = \ gmounttracker.c gmounttracker.h \ gvfsdaemonprotocol.c gvfsdaemonprotocol.h \ gvfsicon.h gvfsicon.c \ - gvfsmountinfo.h gvfsmountinfo.c \ gvfsfileinfo.c gvfsfileinfo.h \ $(dbus_built_sources) \ $(NULL) @@ -37,6 +37,19 @@ libgvfscommon_la_LIBADD = \ $(GLIB_LIBS) \ $(BLURAY_LIBS) +libgvfscommon_monitor_la_SOURCES = \ + gvfsmountinfo.h gvfsmountinfo.c \ + $(NULL) + +libgvfscommon_monitor_la_CFLAGS = \ + $(GLIB_LIBS) \ + $(BLURAY_CFLAGS) + +libgvfscommon_monitor_la_LIBADD = \ + libgvfscommon.la \ + $(BLURAY_LIBS) \ + $(GLIB_LIBS) + if HAVE_AVAHI lib_LTLIBRARIES += libgvfscommon-dnssd.la |