aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2011-06-29 14:10:25 +0100
committerMichael Terry <michael.terry@canonical.com>2011-06-29 14:10:25 +0100
commit5d36567ca57ebd73e7a759c83542d19b2aa8814d (patch)
treea2caf07a27872e5736e27a7843a21bda24d31ba0 /src/Makefile.am
parentf57128cae925df888e1e0cafb9ba988c665ecff8 (diff)
downloadayatana-indicator-datetime-5d36567ca57ebd73e7a759c83542d19b2aa8814d.tar.gz
ayatana-indicator-datetime-5d36567ca57ebd73e7a759c83542d19b2aa8814d.tar.bz2
ayatana-indicator-datetime-5d36567ca57ebd73e7a759c83542d19b2aa8814d.zip
port preferences to be a control-center panel
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c48cbd5..6ca07a8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,7 @@
-bin_PROGRAMS = indicator-datetime-preferences
+ccpaneldir = $(CCPANELDIR)
+ccpanel_LTLIBRARIES = libindicator-datetime.la
+
libexec_PROGRAMS = indicator-datetime-service
indicator_datetime_service_SOURCES = \
@@ -42,7 +44,7 @@ libdatetime_la_LDFLAGS = \
-module \
-avoid-version
-indicator_datetime_preferences_SOURCES =\
+libindicator_datetime_la_SOURCES =\
datetime-prefs.c \
datetime-prefs-locations.c \
datetime-prefs-locations.h \
@@ -51,16 +53,17 @@ indicator_datetime_preferences_SOURCES =\
utils.c \
utils.h \
settings-shared.h
-indicator_datetime_preferences_CFLAGS = \
+libindicator_datetime_la_CFLAGS = \
-Wall \
-Werror \
-I$(top_srcdir)/libmap \
$(PREF_CFLAGS) \
-DTIMEZONE_FILE="\"/etc/timezone\"" \
-DPKGDATADIR="\"$(pkgdatadir)\""
-indicator_datetime_preferences_LDADD = \
+libindicator_datetime_la_LIBADD = \
$(top_builddir)/libmap/libmap.la \
$(PREF_LIBS)
+libindicator_datetime_la_LDFLAGS = -module -avoid-version
gen-%.xml.c: %.xml
@echo "Building $@ from $<"