blob: 4755711d793e60971129af0adaf759b9416ded3f (
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
|
NULL =
lib_LTLIBRARIES=libgvfscommon.la
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gvfs \
-I$(top_srcdir)/daemon \
$(GLIB_CFLAGS) $(DBUS_CFLAGS) $(BLURAY_CFLAGS) \
-DG_LOG_DOMAIN=\"GVFS\" \
-DDBUS_API_SUBJECT_TO_CHANGE
dbus_built_sources = gvfsdbus.c gvfsdbus.h
BUILT_SOURCES = $(dbus_built_sources)
$(dbus_built_sources) : Makefile.am dbus-interfaces.xml
gdbus-codegen \
--interface-prefix org.gtk.vfs. \
--c-namespace GVfsDBus \
--generate-c-code gvfsdbus \
--annotate "org.gtk.vfs.Mount.OpenForRead()" \
org.gtk.GDBus.C.UnixFD true \
--annotate "org.gtk.vfs.Mount.OpenForWrite()" \
org.gtk.GDBus.C.UnixFD true \
dbus-interfaces.xml \
$(NULL)
libgvfscommon_la_SOURCES = \
gsysutils.c gsysutils.h \
gvfsdbusutils.c gvfsdbusutils.h \
gmountspec.c gmountspec.h \
gmountoperationdbus.c gmountoperationdbus.h \
gmountsource.c gmountsource.h \
gmounttracker.c gmounttracker.h \
gvfsdaemonprotocol.c gvfsdaemonprotocol.h \
gvfsicon.h gvfsicon.c \
gvfsmountinfo.h gvfsmountinfo.c \
gvfsfileinfo.c gvfsfileinfo.h \
$(dbus_built_sources) \
$(NULL)
# needed by cygwin (see bug #564003)
libgvfscommon_la_LDFLAGS = -no-undefined
libgvfscommon_la_LIBADD = \
$(DBUS_LIBS) \
$(GLIB_LIBS) \
$(BLURAY_LIBS)
if HAVE_AVAHI
lib_LTLIBRARIES += libgvfscommon-dnssd.la
libgvfscommon_dnssd_la_SOURCES = \
gvfsdnssdutils.c gvfsdnssdutils.h \
gvfsdnssdresolver.c gvfsdnssdresolver.h \
$(NULL)
libgvfscommon_dnssd_la_CFLAGS = \
$(AVAHI_CFLAGS)
libgvfscommon_dnssd_la_LIBADD = \
libgvfscommon.la \
$(AVAHI_LIBS) \
$(GLIB_LIBS)
endif
EXTRA_DIST = dbus-interfaces.xml
CLEANFILES = $(dbus_built_sources)
|