aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-02-15 16:31:31 -0600
committerCharles Kerr <charles.kerr@canonical.com>2012-02-15 16:31:31 -0600
commitb18a7b815228aa5fdbfee6272fdcc621becbf3b8 (patch)
treea0ac50094bd2e0c2d408e5828ea85b8ed7e09b81 /src/Makefile.am
parented432b431805543fd27b991aeab7908fabe74ae0 (diff)
parent78e082682d5d833fd271899b67d6a203acffa803 (diff)
downloadayatana-indicator-datetime-b18a7b815228aa5fdbfee6272fdcc621becbf3b8.tar.gz
ayatana-indicator-datetime-b18a7b815228aa5fdbfee6272fdcc621becbf3b8.tar.bz2
ayatana-indicator-datetime-b18a7b815228aa5fdbfee6272fdcc621becbf3b8.zip
lp:~ballogy/indicator-datetime/make-ccpanel-optional
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 328f279..e2d9a92 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,8 @@
+if BUILD_CCPANEL
ccpaneldir = $(CCPANELDIR)
ccpanel_LTLIBRARIES = libindicator-datetime.la
+endif
libexec_PROGRAMS = indicator-datetime-service
@@ -42,6 +44,7 @@ libdatetime_la_LDFLAGS = \
-module \
-avoid-version
+if BUILD_CCPANEL
libindicator_datetime_la_SOURCES =\
datetime-prefs.c \
datetime-prefs-locations.c \
@@ -58,6 +61,7 @@ libindicator_datetime_la_CFLAGS = \
libindicator_datetime_la_LIBADD = \
$(PREF_LIBS)
libindicator_datetime_la_LDFLAGS = -module -avoid-version
+endif
gen-%.xml.c: %.xml
@echo "Building $@ from $<"