aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorGyörgy Balló <ballogy@freestart.hu>2011-11-23 22:59:19 +0100
committerGyörgy Balló <ballogy@freestart.hu>2011-11-23 22:59:19 +0100
commitb3d54d8b5d90cdaaa7169a25e9c9a8823d6ef61c (patch)
tree3e08685811cfbbe54dc8f30277db3e75be7814a5 /src/Makefile.am
parent5a3df0dde62593659e792f92236a8142087080f7 (diff)
downloadayatana-indicator-session-b3d54d8b5d90cdaaa7169a25e9c9a8823d6ef61c.tar.gz
ayatana-indicator-session-b3d54d8b5d90cdaaa7169a25e9c9a8823d6ef61c.tar.bz2
ayatana-indicator-session-b3d54d8b5d90cdaaa7169a25e9c9a8823d6ef61c.zip
Make APT support optional
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 5209869..afee66c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -107,13 +107,18 @@ indicator_session_service_SOURCES = \
user-menu-mgr.c \
device-menu-mgr.h \
device-menu-mgr.c \
- apt-watcher.h \
- apt-watcher.c \
- apt-transaction.h \
- apt-transaction.c \
udev-mgr.h \
udev-mgr.c \
sane-rules.h
+
+if BUILD_APT
+indicator_session_service_SOURCES += \
+ apt-watcher.h \
+ apt-watcher.c \
+ apt-transaction.h \
+ apt-transaction.c
+endif
+
indicator_session_service_CFLAGS = \
$(SESSIONSERVICE_CFLAGS) \
$(GCONF_CFLAGS) \