bin_PROGRAMS = mmyth

mmyth_SOURCES =	\
		mmyth_main.c			\
		mmyth_ui.c				\
		mmyth_uicommon.c		\
		mmyth_epg_grid_view.c	\
		mmyth_epg_grid_widget.c	\
		mmyth_recordui.c		\
		mmyth_uisettings.c		\
		mmyth_schedulerui.c		\
		mmyth_tvplayer.c

mmyth_CFLAGS = \
		$(GTK_CFLAGS) \
		$(GLIB_CFLAGS) \
		$(GST_CFLAGS) \
		$(GSTBASE_CFLAGS) \
		$(GSTPLUGINSBASE_CFLAGS) \
		$(MYSQL_CFLAGS) \
		$(LIBGMYTH_CFLAGS) \
		-I$(top_srcdir)/src \
		-DDATA_DIR=\""$(pkgdatadir)"\" \
		-DPIX_DIR=\""$(pkgdatadir)/pixmaps/"\" \
		-DICON_DIR=\""$(datadir)/pixmaps/"\" \
		-g3 -O0

if MAEMO_PLATFORM 
mmyth_CFLAGS+= \
	$(HILDON_CFLAGS)
endif

mmyth_LDADD = 	\
		$(LIBGMYTH_LIBS) \
		$(GTK_LIBS) \
		$(GLIB_LIBS) \
		$(GST_LIBS) \
		$(GSTBASE_LIBS) \
		$(GSTPLUGINSBASE_LIBS) \
		$(GSTINTERFACES_LIBS)

if MAEMO_PLATFORM
mmyth_LDADD += 	\
	$(HILDON_LIBS)
endif