aboutsummaryrefslogtreecommitdiff
path: root/tools/Makefile.am
diff options
context:
space:
mode:
authorAlexander Schlarb <alexander@ninetailed.ninja>2019-12-12 11:53:48 +0100
committerAlexander Schlarb <alexander@ninetailed.ninja>2019-12-12 11:53:48 +0100
commitc6f93fed5898bb2c3d084a6c0d153275063a059b (patch)
treed08793c57ec45e32b1d7ffc431d5a4d449e89bcc /tools/Makefile.am
parentfaf27849fb0657368bb75344a380d331830d2824 (diff)
downloadlibayatana-indicator-c6f93fed5898bb2c3d084a6c0d153275063a059b.tar.gz
libayatana-indicator-c6f93fed5898bb2c3d084a6c0d153275063a059b.tar.bz2
libayatana-indicator-c6f93fed5898bb2c3d084a6c0d153275063a059b.zip
Make building of `ayatana-indicator-loader3` optional
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 4aa3cfc..6f85429 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,8 +1,10 @@
+if USE_IDO
if USE_GTK3
INDICATOR_LIB = -layatana-indicator3
libexec_PROGRAMS = ayatana-indicator-loader3
VER=3
endif
+endif
#############################
@@ -14,11 +16,13 @@ ayatana_indicator_loader_SOURCES = \
ayatana_indicator_loader_CFLAGS = \
-Wall -Werror \
- $(LIBINDICATOR_CFLAGS) -I$(top_srcdir) \
+ $(LIBINDICATOR_CFLAGS) \
+ $(LIBINDICATOR_IDO_CFLAGS) -I$(top_srcdir) \
-DBUILD_DIR="\"$(builddir)\""
ayatana_indicator_loader_LDADD = \
$(LIBINDICATOR_LIBS) \
+ $(LIBINDICATOR_IDO_LIBS) \
-L$(top_builddir)/libayatana-indicator/.libs \
$(INDICATOR_LIB)