summaryrefslogtreecommitdiff
path: root/monitor/afc/Makefile.am
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2009-08-06 22:55:47 +0100
committerBastien Nocera <hadess@hadess.net>2009-10-01 14:32:59 +0100
commitb6fda31fe81820259e432545b052980fa718d817 (patch)
treed1d482769df6f831089e66c93f1f01273e440ab5 /monitor/afc/Makefile.am
parentb53bfdfb04e92ae61411b1551405b9289a1744ce (diff)
downloadgvfs-b6fda31fe81820259e432545b052980fa718d817.tar.gz
BugĀ 591005 - Add AFC backend
Add a backend based on libiphone to access data on Apple's iPhone, and iPod Touch. Code by: Patrick Walton <pcwalton@cs.ucla.edu> Martin Szulecki <opensuse@sukimashita.com> Nikias Bassen <nikias@gmx.li> Bastien Nocera <hadess@hadess.net> http://bugzilla.gnome.org/show_bug.cgi?id=591005
Diffstat (limited to 'monitor/afc/Makefile.am')
-rw-r--r--monitor/afc/Makefile.am49
1 files changed, 49 insertions, 0 deletions
diff --git a/monitor/afc/Makefile.am b/monitor/afc/Makefile.am
new file mode 100644
index 00000000..9b3b17c4
--- /dev/null
+++ b/monitor/afc/Makefile.am
@@ -0,0 +1,49 @@
+NULL =
+
+gvfs_src_dir = $(top_srcdir)/@with_gvfs_source@
+
+libexec_PROGRAMS = gvfs-afc-volume-monitor
+
+gvfs_afc_volume_monitor_SOURCES = \
+ afcvolume.c afcvolume.h \
+ afcvolumemonitor.c afcvolumemonitor.h \
+ afcvolumemonitordaemon.c \
+ $(NULL)
+
+gvfs_afc_volume_monitor_CFLAGS = \
+ -DG_LOG_DOMAIN=\"GVFS-AFC\" \
+ -I$(top_srcdir)/common \
+ -I$(top_srcdir)/monitor/proxy \
+ $(GLIB_CFLAGS) \
+ $(AFC_CFLAGS) \
+ $(WARN_CFLAGS) \
+ -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" \
+ -DGVFS_LOCALEDIR=\"$(localedir)\" \
+ -DG_DISABLE_DEPRECATED \
+ $(NULL)
+
+gvfs_afc_volume_monitor_LDADD = \
+ $(GLIB_LIBS) \
+ $(DBUS_LIBS) \
+ $(AFC_LIBS) \
+ $(top_srcdir)/common/libgvfscommon.la \
+ $(top_srcdir)/monitor/proxy/libgvfsproxyvolumemonitordaemon-noin.la \
+ $(NULL)
+
+remote_volume_monitorsdir = $(datadir)/gvfs/remote-volume-monitors
+remote_volume_monitors_DATA = afc.monitor
+
+servicedir = $(datadir)/dbus-1/services
+service_in_files = org.gtk.Private.AfcVolumeMonitor.service.in
+service_DATA = $(service_in_files:.service.in=.service)
+
+$(service_DATA): $(service_in_files) Makefile
+ @sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+
+clean-local:
+ rm -f *~ *.loT $(BUILT_SOURCES) $(service_DATA)
+
+DISTCLEANFILES = $(service_DATA)
+
+EXTRA_DIST = $(service_in_files) afc.monitor
+