aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-06-04 17:09:37 -0400
committerWilliam Hua <william.hua@canonical.com>2013-06-04 17:09:37 -0400
commit97c38e4e24e63dcd4fa34a7fadc27e9395c6a7ae (patch)
tree1ef52a8787ff72161c039e0e7a627d5659103f45 /data/Makefile.am
parent7f9e0c6f74e4d85db873f2d8782f6b3da2d74c85 (diff)
downloadayatana-indicator-keyboard-97c38e4e24e63dcd4fa34a7fadc27e9395c6a7ae.tar.gz
ayatana-indicator-keyboard-97c38e4e24e63dcd4fa34a7fadc27e9395c6a7ae.tar.bz2
ayatana-indicator-keyboard-97c38e4e24e63dcd4fa34a7fadc27e9395c6a7ae.zip
Icon generator.
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am26
1 files changed, 26 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index b5212e94..125289bb 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,3 +1,29 @@
+AM_CFLAGS = -DGNOME_DESKTOP_USE_UNSTABLE_API
+AM_LDFLAGS = -lm
+AM_VALAFLAGS = --metadatadir $(top_srcdir)/deps \
+ --vapidir $(top_srcdir)/deps
+
+noinst_PROGRAMS = indicator-keyboard-icon-generator
+
+indicator_keyboard_icon_generator_SOURCES = main.vala \
+ $(top_srcdir)/lib/common.vala
+indicator_keyboard_icon_generator_VALAFLAGS = $(AM_VALAFLAGS) \
+ --pkg gee-1.0 \
+ --pkg gtk+-3.0 \
+ --pkg GDesktopEnums-3.0 \
+ --pkg gnome-desktop-3.0 \
+ --pkg Xkl-1.0
+indicator_keyboard_icon_generator_CFLAGS = $(AM_CFLAGS) \
+ $(GEE_CFLAGS) \
+ $(GTK_CFLAGS) \
+ $(GNOME_DESKTOP_CFLAGS) \
+ $(LIBXKLAVIER_CFLAGS)
+indicator_keyboard_icon_generator_LDFLAGS = $(AM_LDFLAGS) \
+ $(GEE_LIBS) \
+ $(GTK_LIBS) \
+ $(GNOME_DESKTOP_LIBS) \
+ $(LIBXKLAVIER_LIBS)
+
servicedir = $(DBUS_SERVICE_DIR)
dist_service_DATA = indicator-keyboard.service