summaryrefslogtreecommitdiff
path: root/csslint
diff options
context:
space:
mode:
Diffstat (limited to 'csslint')
-rw-r--r--csslint/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/csslint/Makefile.am b/csslint/Makefile.am
index 6931cce..7efc024 100644
--- a/csslint/Makefile.am
+++ b/csslint/Makefile.am
@@ -7,10 +7,12 @@ croco_parser_lib=$(top_builddir)/src/parser/@CROCO_PARSER_LIB@
if HAVE_SELENG
croco_seleng_lib=$(top_builddir)/src/seleng/@CROCO_SELENG_LIB@
+croco_seleng_cflags=-I$(top_srcdir)/src/seleng @LIBXML2_CFLAGS@
endif
if HAVE_LAYENG
croco_layeng_lib=$(top_builddir)/src/layeng/@CROCO_LAYENG_LIB@
+croco_layeng_cflags=-I$(top_srcdir)/src/layeng @LIBGNOMEUI2_CFLAGS@
endif
LDADD=$(croco_layeng_lib) $(croco_seleng_lib) $(croco_parser_lib)
@@ -18,9 +20,9 @@ LDADD=$(croco_layeng_lib) $(croco_seleng_lib) $(croco_parser_lib)
INCLUDES=-I$(top_srcdir)/intl \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/parser \
- -I$(top_srcdir)/src/seleng \
- -I$(top_srcdir)/src/layeng \
- @GLIB2_CFLAGS@ @LIBXML2_CFLAGS@ @LIBGNOMEUI2_CFLAGS@
+ @GLIB2_CFLAGS@ \
+ $(croco_seleng_cflags) \
+ $(croco_layeng_cflags)
AM_CFLAGS=$(INCLUDES)