Fix build when srcdir != builddir

When ./configure'd in a directory other than the srcdir, we need to look
in ${top_builddir)/src for the generated header fcstdint.h

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
Jon TURNEY 2012-11-28 16:10:28 +00:00 committed by Akira TAGOH
parent 3d3629f86a
commit faea1cac85
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@
# PERFORMANCE OF THIS SOFTWARE. # PERFORMANCE OF THIS SOFTWARE.
# #
INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS) INCLUDES=-I${top_builddir}/src -I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
TMPL=fccase.tmpl.h TMPL=fccase.tmpl.h
STMPL=${top_srcdir}/fc-case/${TMPL} STMPL=${top_srcdir}/fc-case/${TMPL}

View File

@ -23,7 +23,7 @@
# PERFORMANCE OF THIS SOFTWARE. # PERFORMANCE OF THIS SOFTWARE.
# #
INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS) INCLUDES=-I${top_builddir}/src -I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
TMPL=fcglyphname.tmpl.h TMPL=fcglyphname.tmpl.h
STMPL=${top_srcdir}/fc-glyphname/${TMPL} STMPL=${top_srcdir}/fc-glyphname/${TMPL}

View File

@ -23,7 +23,7 @@
# PERFORMANCE OF THIS SOFTWARE. # PERFORMANCE OF THIS SOFTWARE.
# #
INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS) INCLUDES=-I${top_builddir}/src -I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
TMPL=fclang.tmpl.h TMPL=fclang.tmpl.h
STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h