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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
## Process this file with automake to produce Makefile.in
SUBDIRS = helpers probers
NULL =
INCLUDES = \
-I$(top_builddir)/src -I$(top_srcdir)/src \
-DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
-DPACKAGE_BIN_DIR=\""$(bindir)"\" \
-DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \
-DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \
-DPACKAGE_LIB_DIR=\""$(libdir)"\" \
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT \
$(DBUS_GLIB_CFLAGS) \
$(POLKIT_GOBJECT_1_CFLAGS) \
$(GUDEV_CFLAGS) \
$(GLIB_CFLAGS) \
$(GIO_CFLAGS)
BUILT_SOURCES = \
daemon-glue.h \
device-glue.h \
adapter-glue.h \
port-glue.h \
expander-glue.h \
marshal.h marshal.c
marshal.h: marshal.list
glib-genmarshal $< --prefix=marshal --header > $@
marshal.c: marshal.list
echo "#include \"marshal.h\"" > $@ && glib-genmarshal $< --prefix=marshal --body >> $@
daemon-glue.h: $(top_srcdir)/data/org.freedesktop.UDisks.xml Makefile.am
dbus-binding-tool --prefix=daemon --mode=glib-server --output=daemon-glue.h $(top_srcdir)/data/org.freedesktop.UDisks.xml
device-glue.h: $(top_srcdir)/data/org.freedesktop.UDisks.Device.xml Makefile.am
dbus-binding-tool --prefix=device --mode=glib-server --output=device-glue.h $(top_srcdir)/data/org.freedesktop.UDisks.Device.xml
adapter-glue.h: $(top_srcdir)/data/org.freedesktop.UDisks.Adapter.xml Makefile.am
dbus-binding-tool --prefix=adapter --mode=glib-server --output=adapter-glue.h $(top_srcdir)/data/org.freedesktop.UDisks.Adapter.xml
expander-glue.h: $(top_srcdir)/data/org.freedesktop.UDisks.Expander.xml Makefile.am
dbus-binding-tool --prefix=expander --mode=glib-server --output=expander-glue.h $(top_srcdir)/data/org.freedesktop.UDisks.Expander.xml
port-glue.h: $(top_srcdir)/data/org.freedesktop.UDisks.Port.xml Makefile.am
dbus-binding-tool --prefix=port --mode=glib-server --output=port-glue.h $(top_srcdir)/data/org.freedesktop.UDisks.Port.xml
libexec_PROGRAMS = udisks-daemon
udisks_daemon_SOURCES = \
types.h \
private.h \
profile.h \
daemon.h daemon.c \
device.h device.c \
device-private.h device-private.c \
adapter.h adapter.c \
adapter-private.h adapter-private.c \
expander.h expander.c \
expander-private.h expander-private.c \
port.h port.c \
port-private.h port-private.c \
mount-file.h mount-file.c \
mount.h mount.c \
mount-monitor.h mount-monitor.c \
inhibitor.h inhibitor.c \
poller.h poller.c \
main.c \
$(BUILT_SOURCES)
udisks_daemon_CPPFLAGS = \
-I$(top_srcdir)/src \
-DG_LOG_DOMAIN=\"udisks-daemon\" \
$(DISABLE_DEPRECATED) \
$(AM_CPPFLAGS) \
$(NULL)
udisks_daemon_CFLAGS = \
$(LIBATASMART_CFLAGS) \
$(NULL)
udisks_daemon_LDADD = \
$(GIO_LIBS) \
$(DBUS_GLIB_LIBS) \
$(POLKIT_GOBJECT_1_LIBS) \
$(GUDEV_LIBS) \
$(LIBATASMART_LIBS) \
$(NULL)
# ----------------------------------------------------------------------------------------------------
polkitmodulesdir = $(libdir)/polkit-1/extensions
polkitmodules_LTLIBRARIES = libudisks-action-lookup.la
libudisks_action_lookup_la_SOURCES = \
polkit-action-lookup.c \
$(NULL)
libudisks_action_lookup_la_CFLAGS = \
-DPOLKIT_BACKEND_I_KNOW_API_IS_SUBJECT_TO_CHANGE \
-DG_LOG_DOMAIN=\"UDisks-Action-Lookup\" \
$(POLKIT_BACKEND_1_CFLAGS) \
$(NULL)
libudisks_action_lookup_la_LDFLAGS = \
-export_dynamic -avoid-version -module -no-undefined \
-export-symbols-regex '^g_io_module_(load|unload)' \
$(POLKIT_BACKEND_1_LIBS) \
$(NULL)
libudisks_action_lookup_la_LIBADD = \
$(NULL)
# ----------------------------------------------------------------------------------------------------
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = \
marshal.list \
$(NULL)
install-data-local:
-$(mkdir_p) $(DESTDIR)$(localstatedir)/lib/udisks
-chmod 0700 $(DESTDIR)$(localstatedir)/lib/udisks
-$(mkdir_p) $(DESTDIR)$(localstatedir)/run/udisks
-chmod 0700 $(DESTDIR)$(localstatedir)/run/udisks
|