Moved desktop widget code to a subdirectory.
[ptas] / getmehome / Makefile.am
diff --git a/getmehome/Makefile.am b/getmehome/Makefile.am
new file mode 100644 (file)
index 0000000..8b20f18
--- /dev/null
@@ -0,0 +1,15 @@
+# We invent desktoplib_LTLIBRARIES instead of the normal lib_LTLIBRARIES,
+# so we can specify the non-standard installation directory.
+desktoplib_LTLIBRARIES =  lib-timeout-home-widget.la
+desktoplibdir = $(HILDON_DESKTOP_LIB_DIR)
+
+lib_timeout_home_widget_la_SOURCES = lib-timeout-home-widget.c lib-timeout-home-widget.h location-provider.h location-provider.c
+lib_timeout_home_widget_la_LIBADD = $(EXAMPLE_LIBS)
+
+AM_CFLAGS = -Wall $(EXAMPLE_CFLAGS)
+
+# .desktop file
+desktopdir = $(HILDON_HOME_DESKTOP_DIR)
+desktop_DATA = timeout-home-widget.desktop
+
+DISTCLEANFILES = $(desktop_DATA)