aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-02-17 14:30:43 -0500
committerMichael Terry <mike@mterry.name>2011-02-17 14:30:43 -0500
commita10f207618976b59a0cc43c01befbf67128c92a5 (patch)
treede34a6202fd5bb2a42e7871c4c026ec583b6ae98 /src/Makefile.am
parent37fc0a3158e5ff5f8cf9096de49451379c2d11f1 (diff)
downloadayatana-indicator-datetime-a10f207618976b59a0cc43c01befbf67128c92a5.tar.gz
ayatana-indicator-datetime-a10f207618976b59a0cc43c01befbf67128c92a5.tar.bz2
ayatana-indicator-datetime-a10f207618976b59a0cc43c01befbf67128c92a5.zip
first pass at preferences dialog
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 7a290c6..150c87d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,5 @@
+bin_PROGRAMS = indicator-datetime-preferences
libexec_PROGRAMS = indicator-datetime-service
indicator_datetime_service_SOURCES = \
@@ -8,7 +9,8 @@ indicator_datetime_service_SOURCES = \
calendar-menu-item.c \
calendar-menu-item.h \
datetime-service.c \
- dbus-shared.h
+ dbus-shared.h \
+ settings-shared.h
indicator_datetime_service_CFLAGS = \
-Wall \
-Werror \
@@ -23,6 +25,9 @@ datetimelib_LTLIBRARIES = libdatetime.la
libdatetime_la_SOURCES = \
gen-datetime-service.xml.h \
dbus-shared.h \
+ settings-shared.h \
+ utils.c \
+ utils.h \
indicator-datetime.c
libdatetime_la_CFLAGS = \
$(INDICATOR_CFLAGS) \
@@ -34,6 +39,19 @@ libdatetime_la_LDFLAGS = \
-module \
-avoid-version
+indicator_datetime_preferences_SOURCES =\
+ datetime-prefs.c \
+ utils.c \
+ utils.h \
+ settings-shared.h
+indicator_datetime_preferences_CFLAGS = \
+ -Wall \
+ -Werror \
+ $(PREF_CFLAGS) \
+ -DPKGDATADIR="\"$(pkgdatadir)\""
+indicator_datetime_preferences_LDADD = \
+ $(PREF_LIBS)
+
gen-%.xml.c: %.xml
@echo "Building $@ from $<"
@echo "const char * _$(subst -,_,$(subst .,_,$(basename $<))) = " > $@