diff --git a/src/backend/dbi/Makefile.am b/src/backend/dbi/Makefile.am index 6be8390d8a..1d3a634c96 100644 --- a/src/backend/dbi/Makefile.am +++ b/src/backend/dbi/Makefile.am @@ -4,11 +4,13 @@ SUBDIRS = . test pkglib_LTLIBRARIES = libgncmod-backend-dbi.la +# "${top_srcdir}/src/debug" below is for the splint header AM_CFLAGS = \ -I.. -I../.. \ -DLOCALE_DIR=\""$(datadir)/locale"\" \ -I${top_srcdir}/src/backend \ -I${top_srcdir}/src/backend/sql \ + -I${top_srcdir}/src/debug \ -I${top_srcdir}/src/engine \ -I${top_srcdir}/src/core-utils \ -I${top_srcdir}/lib/libc \ diff --git a/src/backend/sql/Makefile.am b/src/backend/sql/Makefile.am index 0886ed40ab..7e7c7f44e3 100644 --- a/src/backend/sql/Makefile.am +++ b/src/backend/sql/Makefile.am @@ -3,10 +3,12 @@ SUBDIRS = . test # Now a shared library AND a GModule lib_LTLIBRARIES = libgnc-backend-sql.la +# "${top_srcdir}/src/debug" below is for the splint header AM_CFLAGS = \ -I.. -I../.. \ -DLOCALE_DIR=\""$(datadir)/locale"\" \ -I${top_srcdir}/src/backend \ + -I${top_srcdir}/src/debug \ -I${top_srcdir}/src/engine \ -I${top_srcdir}/src/core-utils\ -I${top_srcdir}/lib/libc\ diff --git a/splint-defs.h b/src/debug/splint-defs.h similarity index 100% rename from splint-defs.h rename to src/debug/splint-defs.h