summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/Makefile.am
diff options
context:
space:
mode:
authorcyberorg <cyberorg@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-23 06:36:00 +0000
committercyberorg <cyberorg@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-23 06:36:00 +0000
commit91cd85722cb3a3d62bafd4eb085a60818212d923 (patch)
treec51740ff3f0b33d44b26eebb6171637725af47ee /beryl-plugins/src/Makefile.am
parentb02d7274dc66964c82353f657641d552505284c4 (diff)
downloadmarex-dev-91cd85722cb3a3d62bafd4eb085a60818212d923.tar.gz
marex-dev-91cd85722cb3a3d62bafd4eb085a60818212d923.tar.bz2
beryl-plugins: Make annotate optional as it does not build on legacy
distros (SUSE 10.1) - Builds by default if reuirements met git-svn-id: file:///beryl/trunk@1384 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/Makefile.am')
-rw-r--r--beryl-plugins/src/Makefile.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/beryl-plugins/src/Makefile.am b/beryl-plugins/src/Makefile.am
index b442cf7..f373b92 100644
--- a/beryl-plugins/src/Makefile.am
+++ b/beryl-plugins/src/Makefile.am
@@ -9,9 +9,12 @@ libgroup_la_LDFLAGS = $(PFLAGS)
libgroup_la_LIBADD = @BERYL_LIBS@ @BERYLSETTINGS_LIBS@
libgroup_la_SOURCES = group.c
+if ANNOTATE_PLUGIN
libannotate_la_LDFLAGS = $(PFLAGS)
-libannotate_la_LIBADD = @BERYL_LIBS@ @CAIRO_LIBS@ @BERYLSETTINGS_LIBS@
+libannotate_la_LIBADD = @BERYL_LIBS@ @ANNOTATE_LIBS@ @BERYLSETTINGS_LIBS@
libannotate_la_SOURCES = annotate.c
+libannotate_module = libannotate.la
+endif
libsplash_la_LDFLAGS = $(PFLAGS)
libsplash_la_LIBADD = @BERYL_LIBS@ @BERYLSETTINGS_LIBS@
@@ -121,7 +124,7 @@ libplace_la_SOURCES = place.c
INCLUDES = \
@BERYL_CFLAGS@ \
@LIBRSVG_CFLAGS@ \
- @CAIRO_CFLAGS@ \
+ @ANNOTATE_CFLAGS@ \
@GLIB_CFLAGS@ \
-DDATADIR='"$(datadir)"' \
-DLIBDIR='"$(libdir)"' \
@@ -162,4 +165,4 @@ module_LTLIBRARIES = \
libbench.la \
libgroup.la \
libclone.la \
- libannotate.la
+ $(libannotate_module)