diff -r f9329edd3b5e -r b51559fec601 maemo-ui/src/Makefile.am
--- a/maemo-ui/src/Makefile.am	Fri Jan 05 20:24:44 2007 +0000
+++ b/maemo-ui/src/Makefile.am	Wed May 16 21:56:47 2007 +0100
@@ -15,6 +15,7 @@
 		$(GTK_CFLAGS) \
 		$(GLIB_CFLAGS) \
 		$(GST_CFLAGS) \
+		$(GSTBASE_CFLAGS) \
 		$(GSTPLUGINSBASE_CFLAGS) \
 		$(MYSQL_CFLAGS) \
 		$(LIBGMYTH_CFLAGS) \
@@ -24,11 +25,22 @@
 		-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) \
-		$(HILDON_LIBS)	\
+		$(GSTPLUGINSBASE_LIBS) \
 		$(GSTINTERFACES_LIBS)
 
+if MAEMO_PLATFORM
+mmyth_LDADD += 	\
+	$(HILDON_LIBS)
+endif
+