applet: populate UI fields from config
[espeaktime] / src / Makefile.am
index d46aee8..e6024e6 100644 (file)
@@ -1,4 +1,17 @@
+bin_SCRIPTS = espeaktime-now.sh
 bin_PROGRAMS = espeaktimed
 espeaktimed_SOURCES = daemon.c
 espeaktimed_CFLAGS = $(GLIB_CFLAGS) $(DBUS_CFLAGS) $(MCE_CFLAGS) $(HAL_CFLAGS)
 espeaktimed_LDADD = $(GLIB_LIBS) $(DBUS_LIBS) $(MCE_LIBS) $(HAL_LIBS)
+
+libcpdir = $(libdir)/hildon-control-panel
+libcp_LTLIBRARIES = libespeaktime-cp.la
+libespeaktime_cp_la_SOURCES = applet.c
+libespeaktime_cp_la_CFLAGS = $(HILDON_CFLAGS) $(OSSO_CFLAGS)
+libespeaktime_cp_la_LDFLAGS = -module -avoid-version
+libespeaktime_cp_la_LIBADD = $(HILDON_LIBS)
+
+EXTRA_PROGRAMS = applet
+applet_SOURCES = applet.c
+applet_CFLAGS = -DTEST $(HILDON_CFLAGS) $(OSSO_CFLAGS)
+applet_LDADD = $(HILDON_LIBS)