INCLUDES = \
	-I$(top_srcdir) \
	-I$(top_builddir) \
	$(GNOME_VFS_CFLAGS) \
	$(LIBGMYTH_CFLAGS) \
	-D_FILE_OFFSET_BITS=64 \
	-D_BSD_SOURCE \
	-D_LARGEFILE64_SOURCE \
	-D_POSIX_PTHREAD_SEMANTICS \
	-D_REENTRANT \
	-DG_DISABLE_DEPRECATED \
	-DG_LOG_DOMAIN=\"gnome-vfs-modules\"

EXTRA_DIST = \
	mythtv-module.conf 

modulesconfdir = $(sysconfdir)/gnome-vfs-2.0/modules
modulesconf_DATA = \
	mythtv-module.conf
			
module_flags = -export_dynamic -avoid-version -module -no-undefined
modulesdir = $(libdir)/gnome-vfs-2.0/modules
modules_LTLIBRARIES = libmythtv.la 

libmythtv_la_SOURCES = mythtv-method.c
libmythtv_la_LDFLAGS = $(module_flags)
libmythtv_la_LIBADD = $(GNOME_VFS_LIBS) $(LIBGMYTH_LIBS)