init
[livewp] / applet / Makefile.am
diff --git a/applet/Makefile.am b/applet/Makefile.am
new file mode 100644 (file)
index 0000000..82a9352
--- /dev/null
@@ -0,0 +1,16 @@
+SUBDIRS = data
+# We invent desktoplib_LTLIBRARIES instead of the normal lib_LTLIBRARIES,
+# so we can specify the non-standard installation directory.
+desktoplib_LTLIBRARIES =  livewp-home-widget.la
+desktoplibdir = $(HILDON_DESKTOP_LIB_DIR)
+
+lib_livewp_home_widget_la_SOURCES = livewp-home-widget.c livewp-home-widget.h
+lib_livewp_home_widget_la_LIBADD = $(EXAMPLE_LIBS) 
+
+AM_CFLAGS = -Wall $(EXAMPLE_CFLAGS) 
+
+# .desktop file
+desktopdir = $(HILDON_HOME_DESKTOP_DIR)
+desktop_DATA = livewp-home-widget.desktop
+
+DISTCLEANFILES = $(desktop_DATA)