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
|
NULL =
libexec_PROGRAMS = gvfs-hal-volume-monitor
BUILT_SOURCES = \
hal-marshal.h hal-marshal.c
hal-marshal.h: hal-marshal.list
$(AM_V_GEN) glib-genmarshal $< --prefix=hal_marshal --header > $@
hal-marshal.c: hal-marshal.list
$(AM_V_GEN) echo "#include \"hal-marshal.h\"" > $@ && glib-genmarshal $< --prefix=hal_marshal --body >> $@
gvfs_hal_volume_monitor_SOURCES = \
hal-utils.c hal-utils.h \
hal-volume-monitor-daemon.c \
hal-marshal.c hal-marshal.h \
hal-device.c hal-device.h \
hal-pool.c hal-pool.h \
ghaldrive.c ghaldrive.h \
ghalvolume.c ghalvolume.h \
ghalmount.c ghalmount.h \
ghalvolumemonitor.c ghalvolumemonitor.h \
$(NULL)
gvfs_hal_volume_monitor_CFLAGS = \
-DG_LOG_DOMAIN=\"GVFS-Hal\" \
-I$(top_srcdir)/common \
-I$(top_srcdir)/monitor/proxy \
$(GLIB_CFLAGS) \
$(HAL_CFLAGS) \
-DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" \
-DGVFS_LOCALEDIR=\""$(localedir)"\" \
$(NULL)
gvfs_hal_volume_monitor_LDFLAGS = \
$(NULL)
gvfs_hal_volume_monitor_LDADD = \
$(GLIB_LIBS) \
$(HAL_LIBS) \
$(top_builddir)/common/libgvfscommon.la \
$(top_builddir)/monitor/proxy/libgvfsproxyvolumemonitordaemon-noin.la \
$(NULL)
remote_volume_monitorsdir = $(datadir)/gvfs/remote-volume-monitors
remote_volume_monitors_DATA = hal.monitor
servicedir = $(datadir)/dbus-1/services
service_in_files = org.gtk.Private.HalVolumeMonitor.service.in
service_DATA = $(service_in_files:.service.in=.service)
$(service_DATA): $(service_in_files) Makefile
$(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
clean-local:
rm -f *~ *.loT $(BUILT_SOURCES) $(service_DATA)
EXTRA_DIST = hal-marshal.list $(service_in_files) hal.monitor
|