From 7278bd3da09d30078f012ed4de14f4354e0857c4 Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Thu, 11 Feb 2010 09:08:08 +0000 Subject: [PATCH] Move splint-defs.h to src/debug. It's only used for debugging. Note that the current splint-defs.h causes compilation errors due to redefinition of function declarations. These should be fixed when splint is to be run again. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18640 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/backend/dbi/Makefile.am | 2 ++ src/backend/sql/Makefile.am | 2 ++ splint-defs.h => src/debug/splint-defs.h | 0 3 files changed, 4 insertions(+) rename splint-defs.h => src/debug/splint-defs.h (100%) 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