diff --git a/common/test-core/Makefile.am b/common/test-core/Makefile.am index 0aa560bdea..30d5a98c3c 100644 --- a/common/test-core/Makefile.am +++ b/common/test-core/Makefile.am @@ -25,7 +25,7 @@ libtest_core_la_LDFLAGS = \ if BUILDING_FROM_VCS swig-unittest-support-guile.c: unittest-support.i $(top_srcdir)/common/base-typemaps.i - $(SWIG) -guile $(SWIG_ARGS) -Linkage module \ + $(SWIG) -guile -Linkage module \ -I${top_srcdir}/common \ ${AM_CPPFLAGS} -o $@ $< if ! OS_WIN32 @@ -37,7 +37,7 @@ endif endif swig-unittest-support-python.c: unittest-support.i $(top_srcdir)/common/base-typemaps.i - $(SWIG) -python -Wall -Werror $(SWIG_ARGS) \ + $(SWIG) -python -Wall -Werror \ -I${GLIB_CFLAGS} -I${top_srcdir}/common \ ${AM_CPPFLAGS} -o $@ $< diff --git a/gnucash/gnome-utils/Makefile.am b/gnucash/gnome-utils/Makefile.am index 4cfba43a16..06929682f0 100644 --- a/gnucash/gnome-utils/Makefile.am +++ b/gnucash/gnome-utils/Makefile.am @@ -220,7 +220,7 @@ gnc-warnings.h: gschemas/org.gnucash.warnings.gschema.xml.in make-gnc-warnings-h if BUILDING_FROM_VCS swig-gnome-utils.c: gnome-utils.i \ ${top_srcdir}/common/base-typemaps.i - $(SWIG) -guile $(SWIG_ARGS) -Linkage module \ + $(SWIG) -guile -Linkage module \ -I${top_srcdir}/common -o $@ $< if ! OS_WIN32 if ! SWIG_DIST_FAIL diff --git a/gnucash/gnome/Makefile.am b/gnucash/gnome/Makefile.am index e47054ed09..8fe2b6556e 100644 --- a/gnucash/gnome/Makefile.am +++ b/gnucash/gnome/Makefile.am @@ -150,7 +150,7 @@ noinst_HEADERS = \ if BUILDING_FROM_VCS swig-gnome.c: gnome.i dialog-progress.h ${top_srcdir}/common/base-typemaps.i - $(SWIG) -guile $(SWIG_ARGS) -Linkage module \ + $(SWIG) -guile -Linkage module \ -I${top_srcdir}/common -o $@ $< if ! OS_WIN32 if ! SWIG_DIST_FAIL diff --git a/gnucash/html/Makefile.am b/gnucash/html/Makefile.am index 9f78dae480..db57fd7105 100644 --- a/gnucash/html/Makefile.am +++ b/gnucash/html/Makefile.am @@ -55,7 +55,7 @@ libgncmod_html_la_LIBADD = \ if BUILDING_FROM_VCS swig-gnc-html.c: gnc-html.i gnc-html.h \ ${top_srcdir}/common/base-typemaps.i - $(SWIG) -guile $(SWIG_ARGS) -Linkage module \ + $(SWIG) -guile -Linkage module \ -I${top_srcdir}/common -o $@ $< if ! OS_WIN32 if ! SWIG_DIST_FAIL diff --git a/gnucash/report/report-gnome/Makefile.am b/gnucash/report/report-gnome/Makefile.am index c52927d89a..38c11d7de1 100644 --- a/gnucash/report/report-gnome/Makefile.am +++ b/gnucash/report/report-gnome/Makefile.am @@ -49,7 +49,7 @@ libgncmod_report_gnome_la_LIBADD = \ if BUILDING_FROM_VCS swig-report-gnome.c: report-gnome.i ${top_srcdir}/common/base-typemaps.i - $(SWIG) -guile $(SWIG_ARGS) -Linkage module \ + $(SWIG) -guile -Linkage module \ -I${top_srcdir}/common -o $@ $< if ! OS_WIN32 if ! SWIG_DIST_FAIL diff --git a/gnucash/report/report-system/Makefile.am b/gnucash/report/report-system/Makefile.am index 6673447f82..0cdeeef369 100644 --- a/gnucash/report/report-system/Makefile.am +++ b/gnucash/report/report-system/Makefile.am @@ -25,7 +25,7 @@ libgncmod_report_system_la_LIBADD = \ if BUILDING_FROM_VCS swig-report-system.c: report-system.i ${top_srcdir}/common/base-typemaps.i - $(SWIG) -guile $(SWIG_ARGS) -Linkage module \ + $(SWIG) -guile -Linkage module \ -I${top_srcdir}/common -o $@ $< if ! OS_WIN32 if ! SWIG_DIST_FAIL diff --git a/libgnucash/app-utils/Makefile.am b/libgnucash/app-utils/Makefile.am index 4200b56733..84e7f8b1a2 100644 --- a/libgnucash/app-utils/Makefile.am +++ b/libgnucash/app-utils/Makefile.am @@ -103,7 +103,7 @@ libgncmod_app_utils_la_LIBADD = \ if BUILDING_FROM_VCS swig-app-utils-guile.c: app-utils.i ${top_srcdir}/common/base-typemaps.i - $(SWIG) -guile $(SWIG_ARGS) -Linkage module \ + $(SWIG) -guile -Linkage module \ -I${top_srcdir}/common -o $@ $< if ! OS_WIN32 if ! SWIG_DIST_FAIL @@ -113,7 +113,7 @@ if ! SWIG_DIST_FAIL endif endif swig-app-utils-python.c: app-utils.i ${top_srcdir}/common/base-typemaps.i - $(SWIG) -python -Wall -Werror $(SWIG_ARGS) \ + $(SWIG) -python -Wall -Werror \ -I${GLIB_CFLAGS} -I${top_srcdir}/common -o $@ $< endif diff --git a/libgnucash/core-utils/Makefile.am b/libgnucash/core-utils/Makefile.am index c71072c550..da63a34bc3 100644 --- a/libgnucash/core-utils/Makefile.am +++ b/libgnucash/core-utils/Makefile.am @@ -40,7 +40,7 @@ noinst_HEADERS = \ if BUILDING_FROM_VCS swig-core-utils-guile.c: core-utils.i ${top_srcdir}/common/base-typemaps.i - $(SWIG) -guile $(SWIG_ARGS) -Linkage module \ + $(SWIG) -guile -Linkage module \ -I${top_srcdir}/common -o $@ $< if ! OS_WIN32 if ! SWIG_DIST_FAIL @@ -50,8 +50,8 @@ if ! SWIG_DIST_FAIL endif endif swig-core-utils-python.c: core-utils.i ${top_srcdir}/common/base-typemaps.i - $(SWIG) -python -Wall -Werror $(SWIG_ARGS) \ - -I${GLIB_CFLAGS} -I${top_srcdir}/common -o $@ $< + $(SWIG) -python -Wall -Werror \ + -I${GLIB_CFLAGS} -I${top_srcdir}/common -I${srcdir} -o $@ $< endif AM_CPPFLAGS = \ diff --git a/libgnucash/engine/Makefile.am b/libgnucash/engine/Makefile.am index 4943aef68d..9e4e868341 100644 --- a/libgnucash/engine/Makefile.am +++ b/libgnucash/engine/Makefile.am @@ -300,7 +300,7 @@ if BUILDING_FROM_VCS swig-engine.c: engine.i $(top_srcdir)/common/base-typemaps.i \ $(gncinclude_HEADERS) $(noinst_HEADERS) - $(SWIG) -guile $(SWIG_ARGS) -Linkage module \ + $(SWIG) -guile -Linkage module \ -I${top_srcdir}/common -o $@ $< if ! OS_WIN32 if ! SWIG_DIST_FAIL diff --git a/libgnucash/gnc-module/Makefile.am b/libgnucash/gnc-module/Makefile.am index 5701472af1..9246715a95 100644 --- a/libgnucash/gnc-module/Makefile.am +++ b/libgnucash/gnc-module/Makefile.am @@ -31,7 +31,7 @@ noinst_DATA = .scm-links if BUILDING_FROM_VCS swig-gnc-module.c: gnc-module.i ${top_srcdir}/common/base-typemaps.i - $(SWIG) -guile $(SWIG_ARGS) -Linkage module \ + $(SWIG) -guile -Linkage module \ -I${top_srcdir}/common -o $@ $< if ! OS_WIN32 if ! SWIG_DIST_FAIL diff --git a/libgnucash/gnc-module/test/mod-bar/Makefile.am b/libgnucash/gnc-module/test/mod-bar/Makefile.am index 9261530ebc..76b158c90c 100644 --- a/libgnucash/gnc-module/test/mod-bar/Makefile.am +++ b/libgnucash/gnc-module/test/mod-bar/Makefile.am @@ -24,7 +24,7 @@ libgncmodbar_la_LIBADD=libbar.la \ if BUILDING_FROM_VCS swig-bar.c: bar.i - $(SWIG) -guile $(SWIG_ARGS) -Linkage module -o $@ $< + $(SWIG) -guile -Linkage module -o $@ $< if ! OS_WIN32 if ! SWIG_DIST_FAIL if ! `grep "define scm_from_utf8_string" $@ > /dev/null 2>&1`; then \ diff --git a/libgnucash/gnc-module/test/mod-baz/Makefile.am b/libgnucash/gnc-module/test/mod-baz/Makefile.am index 6914f93602..b5d10647a2 100644 --- a/libgnucash/gnc-module/test/mod-baz/Makefile.am +++ b/libgnucash/gnc-module/test/mod-baz/Makefile.am @@ -28,7 +28,7 @@ libgncmodbaz_la_LIBADD = \ if BUILDING_FROM_VCS swig-baz.c: baz.i - $(SWIG) -guile $(SWIG_ARGS) -Linkage module -o $@ $< + $(SWIG) -guile -Linkage module -o $@ $< if ! OS_WIN32 if ! SWIG_DIST_FAIL if ! `grep "define scm_from_utf8_string" $@ > /dev/null 2>&1`; then \ diff --git a/libgnucash/gnc-module/test/mod-foo/Makefile.am b/libgnucash/gnc-module/test/mod-foo/Makefile.am index bc92a3ebfd..a1536f4fe6 100644 --- a/libgnucash/gnc-module/test/mod-foo/Makefile.am +++ b/libgnucash/gnc-module/test/mod-foo/Makefile.am @@ -30,7 +30,7 @@ EXTRA_DIST = \ if BUILDING_FROM_VCS swig-foo.c: foo.i - $(SWIG) -guile $(SWIG_ARGS) -Linkage module -o $@ $< + $(SWIG) -guile -Linkage module -o $@ $< if ! OS_WIN32 if ! SWIG_DIST_FAIL if ! `grep "define scm_from_utf8_string" $@ > /dev/null 2>&1`; then \