blob: 356bb5787872920d6032301e67ed8b7737dadd89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
NULL =
INCLUDES = -I$(top_srcdir) \
-I$(top_srcdir)/client \
-I$(top_srcdir)/metadata \
-I$(top_builddir)/metadata \
-I$(top_srcdir)/common \
-I$(top_builddir)/common \
$(GLIB_CFLAGS) \
-DG_LOG_DOMAIN=\"GVFS\" \
-DGVFS_MODULE_DIR=\"$(libdir)/gvfs/modules\" \
-DGVFS_LOCALEDIR=\""$(localedir)"\"
module_flags = -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_vfs_.*|g_io_module_load|g_io_module_unload|g_io_module_query'
## Common to dynamic and static client libs
gvfsclientincludedir=$(includedir)/gvfs-client/gvfs/
gvfsclientinclude_HEADERS = \
gvfsuriutils.h gvfsurimapper.h \
$(NULL)
URI_PARSER_SOURCES = \
smburi.c \
httpuri.c \
afpuri.c \
$(NULL)
vfssources = \
gdaemonvfs.c gdaemonvfs.h \
gdaemonmount.c gdaemonmount.h \
gdaemonvolumemonitor.c gdaemonvolumemonitor.h \
gdaemonfile.c gdaemonfile.h \
gdaemonfileinputstream.c gdaemonfileinputstream.h \
gdaemonfileoutputstream.c gdaemonfileoutputstream.h \
gdaemonfileenumerator.c gdaemonfileenumerator.h \
gdaemonfilemonitor.c gdaemonfilemonitor.h \
gvfsdaemondbus.c gvfsdaemondbus.h \
gvfsiconloadable.c gvfsiconloadable.h \
gvfsuriutils.c gvfsuriutils.h \
gvfsurimapper.c gvfsurimapper.h \
$(URI_PARSER_SOURCES) \
$(NULL)
vfslibs = \
$(top_builddir)/common/libgvfscommon.la \
$(GLIB_LIBS) \
$(NULL)
## Dynamic client lib
giomodules_LTLIBRARIES = libgvfsdbus.la
libgvfsdbus_la_LDFLAGS = $(module_flags)
libgvfsdbus_la_SOURCES = $(vfssources)
libgvfsdbus_la_LIBADD = $(vfslibs) ../metadata/libmetadata.la
noinst_PROGRAMS = test-uri-utils
test_uri_utils_SOURCES = test-uri-utils.c gvfsuriutils.c gvfsuriutils.h
test_uri_utils_LDADD = $(vfslibs)
test_uri_utils_CFLAGS = $(INCLUDES)
if USE_FUSE
## FUSE daemon
libexec_PROGRAMS = gvfsd-fuse
gvfsd_fuse_SOURCES = \
gvfsfusedaemon.c
gvfsd_fuse_CFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/common \
-I$(top_builddir)/common \
$(GLIB_CFLAGS) $(FUSE_CFLAGS) \
-UG_LOG_DOMAIN -DG_LOG_DOMAIN=\"GVFS-FUSE\"
gvfsd_fuse_LDADD = \
$(top_builddir)/common/libgvfscommon.la \
$(GLIB_LIBS) $(FUSE_LIBS)
# FIXME: reusing USE_LIBSYSTEMD_LOGIN as systemd has no universal header or pkg-config file
if USE_LIBSYSTEMD_LOGIN
# FIXME: hardcoded path (systemd doesn't use lib64)
tmpfilesddir = $(prefix)/lib/tmpfiles.d
tmpfilesd_DATA = gvfsd-fuse-tmpfiles.conf
endif
endif
EXTRA_DIST = \
gvfsd-fuse-tmpfiles.conf \
$(NULL)
|