Makefile.am 1.39 KB
Newer Older
1 2 3 4 5
NULL =

noinst_LTLIBRARIES=libmetadata.la

APPS = 	\
6 7 8 9
	meta-ls		\
	meta-get	\
	meta-set	\
	meta-get-tree	\
10 11 12 13 14 15 16 17
	$(NULL)

if HAVE_LIBXML
APPS += convert-nautilus-metadata
endif

noinst_PROGRAMS = $(APPS)

18 19 20
libexec_PROGRAMS =\
	gvfsd-metadata	\
	$(NULL)
21

22
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/common \
23
	$(LIBXML_CFLAGS) $(GLIB_CFLAGS) $(DBUS_CFLAGS) \
24
	$(UDEV_CFLAGS) \
25
	-DGVFS_LOCALEDIR=\""$(localedir)"\"     \
26 27 28 29 30 31 32 33 34
	-DG_LOG_DOMAIN=\"GVFS\" -DG_DISABLE_DEPRECATED \
	-DDBUS_API_SUBJECT_TO_CHANGE

libmetadata_la_SOURCES = 		\
	metatree.c metatree.h		\
	metabuilder.c metabuilder.h 	\
	crc32.c crc32.h			\
	$(NULL)

35
libmetadata_la_LIBADD = $(GLIB_LIBS) $(UDEV_LIBS)
36

37 38 39 40 41 42 43 44 45 46 47 48
meta_ls_LDADD = libmetadata.la
meta_ls_SOURCES = meta-ls.c

meta_set_LDADD = libmetadata.la $(DBUS_LIBS) ../common/libgvfscommon.la
meta_set_SOURCES = meta-set.c

meta_get_LDADD = libmetadata.la
meta_get_SOURCES = meta-get.c

meta_get_tree_LDADD = libmetadata.la
meta_get_tree_SOURCES = meta-get-tree.c

49 50
convert_nautilus_metadata_LDADD = libmetadata.la $(LIBXML_LIBS)
convert_nautilus_metadata_SOURCES = metadata-nautilus.c
51 52 53 54 55 56 57 58 59 60 61

gvfsd_metadata_LDADD = libmetadata.la $(DBUS_LIBS) ../common/libgvfscommon.la
gvfsd_metadata_SOURCES = meta-daemon.c

# D-BUS service file
%.service: %.service.in ../config.log
	sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@

servicedir = $(DBUS_SERVICE_DIR)
service_in_files = gvfs-metadata.service.in
service_DATA = gvfs-metadata.service