aboutsummaryrefslogtreecommitdiff
path: root/libmap/Makefile.am
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-02-22 11:20:34 -0500
committerMichael Terry <mike@mterry.name>2011-02-22 11:20:34 -0500
commit45b1165f77cab0ac8dc40ce7d605e32c697fb22d (patch)
treeb803709c23f3e50dbca5b57ebb3a4215b0b45d58 /libmap/Makefile.am
parent8754d980f2992a2596465d46b5d18d35846060fa (diff)
downloadayatana-indicator-datetime-45b1165f77cab0ac8dc40ce7d605e32c697fb22d.tar.gz
ayatana-indicator-datetime-45b1165f77cab0ac8dc40ce7d605e32c697fb22d.tar.bz2
ayatana-indicator-datetime-45b1165f77cab0ac8dc40ce7d605e32c697fb22d.zip
add initial timezone map implementation, borrowed from gnome-control-center
Diffstat (limited to 'libmap/Makefile.am')
-rw-r--r--libmap/Makefile.am76
1 files changed, 76 insertions, 0 deletions
diff --git a/libmap/Makefile.am b/libmap/Makefile.am
new file mode 100644
index 0000000..0cdeb34
--- /dev/null
+++ b/libmap/Makefile.am
@@ -0,0 +1,76 @@
+uidir = $(pkgdatadir)/libmap/ui
+dist_ui_DATA = \
+ data/bg.png \
+ data/cc.png \
+ data/pin.png \
+ data/timezone_0.png \
+ data/timezone_-10.png \
+ data/timezone_10.png \
+ data/timezone_10.5.png \
+ data/timezone_-1.png \
+ data/timezone_1.png \
+ data/timezone_-11.png \
+ data/timezone_11.png \
+ data/timezone_11.5.png \
+ data/timezone_12.png \
+ data/timezone_12.75.png \
+ data/timezone_13.png \
+ data/timezone_-2.png \
+ data/timezone_2.png \
+ data/timezone_-3.png \
+ data/timezone_3.png \
+ data/timezone_-3.5.png \
+ data/timezone_3.5.png \
+ data/timezone_-4.png \
+ data/timezone_4.png \
+ data/timezone_-4.5.png \
+ data/timezone_4.5.png \
+ data/timezone_-5.png \
+ data/timezone_5.png \
+ data/timezone_-5.5.png \
+ data/timezone_5.5.png \
+ data/timezone_5.75.png \
+ data/timezone_-6.png \
+ data/timezone_6.png \
+ data/timezone_6.5.png \
+ data/timezone_-7.png \
+ data/timezone_7.png \
+ data/timezone_-8.png \
+ data/timezone_8.png \
+ data/timezone_-9.png \
+ data/timezone_9.png \
+ data/timezone_-9.5.png \
+ data/timezone_9.5.png
+
+tzdatadir = $(pkgdatadir)/libmap/datetime
+dist_tzdata_DATA = backward
+
+AM_CPPFLAGS = \
+ $(LIBMAP_CFLAGS) \
+ -DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
+ -DGNOMECC_DATA_DIR="\"$(pkgdatadir)/libmap\"" \
+ -DDATADIR="\"$(uidir)\"" \
+ $(NULL)
+
+noinst_PROGRAMS = test-timezone
+
+test_timezone_SOURCES = test-timezone.c tz.c tz.h
+test_timezone_LDADD = $(LIBMAP_LIBS)
+test_timezone_CFLAGS = $(LIBMAP_CFLAGS)
+
+all-local: check-local
+
+# FIXME remove "|| :" when we have all the necessary pixmaps
+check-local: test-timezone
+ $(builddir)/test-timezone $(srcdir)/data || :
+
+noinst_LTLIBRARIES = libmap.la
+
+libmap_la_SOURCES = \
+ cc-timezone-map.c \
+ cc-timezone-map.h \
+ tz.c tz.h
+
+libmap_la_LIBADD = $(LIBMAP_LIBS)
+libmap_la_LDFLAGS = $(LIBMAP_LDFLAGS)
+