r21854 - gnucash/branches/2.4/src/engine - [21840] Add dependency on qofbook.h for swig generated file.

Christian Stimming cstim at code.gnucash.org
Sun Jan 15 17:12:27 EST 2012


Author: cstim
Date: 2012-01-15 17:12:27 -0500 (Sun, 15 Jan 2012)
New Revision: 21854
Trac: http://svn.gnucash.org/trac/changeset/21854

Modified:
   gnucash/branches/2.4/src/engine/Makefile.am
Log:
[21840] Add dependency on qofbook.h for swig generated file.

Otherwise the old generated file complains about a missing declaration
from r21832.

Modified: gnucash/branches/2.4/src/engine/Makefile.am
===================================================================
--- gnucash/branches/2.4/src/engine/Makefile.am	2012-01-15 22:06:23 UTC (rev 21853)
+++ gnucash/branches/2.4/src/engine/Makefile.am	2012-01-15 22:12:27 UTC (rev 21854)
@@ -195,7 +195,14 @@
 noinst_DATA = .scm-links
 
 if BUILDING_FROM_SVN
+
+# The generated file depends on various libqof headers. Out of
+# laziness I only include one here - more might be needed
+# subsequently.
+QOFHEADERS = ${top_srcdir}/src/libqof/qof/qofbook.h
+
 swig-engine.c: engine.i ${top_srcdir}/src/base-typemaps.i \
+               ${QOFHEADERS} \
                ${gncinclude_HEADERS} ${noinst_HEADERS}
 	$(SWIG) -guile $(SWIG_ARGS) -Linkage module \
 	-I${top_srcdir}/src/libqof/qof -I${top_srcdir}/src -o $@ $<



More information about the gnucash-changes mailing list