[Makefile.am] Add -I$(builddir) for .c.i target

Updated the CPP command so that it can find <cairo-features.h> in the
local build directory.
This commit is contained in:
Chris Wilson 2008-01-16 13:37:48 +00:00
parent e49db8ed3e
commit 2c10c7559d

View file

@ -323,7 +323,7 @@ EXTRA_DIST += $(TESTS) check-has-hidden-symbols.c
# The pre-processed result is used by check-{def,plt}.sh to determine whether
# cairo has been compiled with symbol hiding.
.c.i: $(cairoinclude_HEADERS) $(nodist_cairoinclude_HEADERS) cairoint.h $(top_builddir)/config.h
$(CPP) -DHAVE_CONFIG_H -I$(top_builddir) $(libcairo_la_CFLAGS) $< -o $@
$(CPP) -DHAVE_CONFIG_H -I$(top_builddir) -I$(builddir) $(libcairo_la_CFLAGS) $< -o $@
SPARSE = sparse
sparse: