summaryrefslogtreecommitdiff
path: root/applets/clock/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'applets/clock/Makefile.am')
-rw-r--r--applets/clock/Makefile.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/applets/clock/Makefile.am b/applets/clock/Makefile.am
index e145dd5f..5a932422 100644
--- a/applets/clock/Makefile.am
+++ b/applets/clock/Makefile.am
@@ -35,6 +35,15 @@ CLOCK_SOURCES = \
set-timezone.h \
$(BUILT_SOURCES)
+if HAVE_EDS
+CLOCK_SOURCES += \
+ calendar-client.c \
+ calendar-client.h \
+ calendar-sources.c \
+ calendar-sources.h \
+ calendar-debug.h
+endif
+
CLOCK_CPPFLAGS = \
$(AM_CPPFLAGS) \
$(LIBMATE_PANEL_APPLET_CFLAGS) \
@@ -44,6 +53,10 @@ CLOCK_CPPFLAGS = \
-DMATELOCALEDIR=\""$(datadir)/locale"\" \
-DMATEWEATHER_I_KNOW_THIS_IS_UNSTABLE
+if HAVE_EDS
+CLOCK_CPPFLAGS += $(EDS_CFLAGS)
+endif
+
CLOCK_LDADD = \
../../libmate-panel-applet/libmate-panel-applet-4.la \
$(CLOCK_LIBS) \
@@ -51,6 +64,10 @@ CLOCK_LDADD = \
libsystem-timezone.la \
-lm
+if HAVE_EDS
+CLOCK_LDADD += $(EDS_LIBS)
+endif
+
test_system_timezone_SOURCES = \
test-system-timezone.c
test_system_timezone_LDADD = libsystem-timezone.la