aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-09-09 12:58:50 -0500
committerTed Gould <ted@gould.cx>2010-09-09 12:58:50 -0500
commit83b6ed9560abbeebeae87c8bc5f81955d6c0799c (patch)
treecbf36763efe508f5e0772e8855ed5afd435c97fe /src/Makefile.am
parent029d2cfd3c57be5c9c0c98ccafda09e92e92afe7 (diff)
parentd79e2326db9b80d2f32574b3cf7a1fd94d4e3e72 (diff)
downloadayatana-indicator-datetime-83b6ed9560abbeebeae87c8bc5f81955d6c0799c.tar.gz
ayatana-indicator-datetime-83b6ed9560abbeebeae87c8bc5f81955d6c0799c.tar.bz2
ayatana-indicator-datetime-83b6ed9560abbeebeae87c8bc5f81955d6c0799c.zip
Import upstream version 0.0.6
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am31
1 files changed, 29 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 330f09d..98d4733 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,6 +2,9 @@
libexec_PROGRAMS = indicator-datetime-service
indicator_datetime_service_SOURCES = \
+ datetime-interface.c \
+ datetime-interface.h \
+ datetime-service-server.h \
calendar-menu-item.c \
calendar-menu-item.h \
datetime-service.c \
@@ -9,13 +12,15 @@ indicator_datetime_service_SOURCES = \
indicator_datetime_service_CFLAGS = \
-Wall \
-Werror \
- $(INDICATOR_CFLAGS)
+ $(INDICATOR_CFLAGS) \
+ -DTIMEZONE_FILE="\"/etc/timezone\""
indicator_datetime_service_LDADD = \
$(INDICATOR_LIBS)
datetimelibdir = $(INDICATORDIR)
datetimelib_LTLIBRARIES = libdatetime.la
libdatetime_la_SOURCES = \
+ datetime-service-client.h \
dbus-shared.h \
indicator-datetime.c
libdatetime_la_CFLAGS = \
@@ -27,4 +32,26 @@ libdatetime_la_LDFLAGS = \
-module \
-avoid-version
-EXTRA_DIST = $(libdatetime_la_SOURCES)
+datetime-service-client.h: $(srcdir)/datetime-service.xml
+ dbus-binding-tool \
+ --prefix=_datetime_service_client \
+ --mode=glib-client \
+ --output=datetime-service-client.h \
+ $(srcdir)/datetime-service.xml
+
+datetime-service-server.h: $(srcdir)/datetime-service.xml
+ dbus-binding-tool \
+ --prefix=_datetime_service_server \
+ --mode=glib-server \
+ --output=datetime-service-server.h \
+ $(srcdir)/datetime-service.xml
+
+BUILT_SOURCES = \
+ datetime-service-client.h \
+ datetime-service-server.h
+
+CLEANFILES = \
+ $(BUILT_SOURCES)
+
+EXTRA_DIST = \
+ datetime-service.xml