# HG changeset patch # User Rik # Date 1344465232 25200 # Node ID 3e5b00d964ad301876987a099ad656212da5347d # Parent 9087c2816136109f0a87f0622d10c40e892338a4 Use $(top_builddir)/libgnu for parallelism with $(top_srcdir)/libgnu * libcruft/Makefile.am, liboctave/Makefile.am, src/Makefile.am: Use $(top_builddir)/libgnu for parallelism with $(top_srcdir)/libgnu diff -r 9087c2816136 -r 3e5b00d964ad libcruft/Makefile.am --- a/libcruft/Makefile.am Wed Aug 08 10:57:08 2012 -0700 +++ b/libcruft/Makefile.am Wed Aug 08 15:33:52 2012 -0700 @@ -20,11 +20,11 @@ include $(top_srcdir)/build-aux/common.mk +AUTOMAKE_OPTIONS = subdir-objects + ## Search local directories before those specified by the user. AM_CPPFLAGS = \ - -I../libgnu -I$(top_srcdir)/libgnu - -AUTOMAKE_OPTIONS = subdir-objects + -I$(top_builddir)/libgnu -I$(top_srcdir)/libgnu octlib_LTLIBRARIES = libcruft.la @@ -42,7 +42,7 @@ libcruft_la_LIBADD = \ libranlib.la \ - ../libgnu/libgnu.la \ + $(top_builddir)/libgnu/libgnu.la \ $(LIBCRUFT_LINK_DEPS) # Increment these as needed and according to the rules in the libtool diff -r 9087c2816136 -r 3e5b00d964ad liboctave/Makefile.am --- a/liboctave/Makefile.am Wed Aug 08 10:57:08 2012 -0700 +++ b/liboctave/Makefile.am Wed Aug 08 15:33:52 2012 -0700 @@ -22,7 +22,7 @@ ## Search local directories before those specified by the user. AM_CPPFLAGS = \ - -I../libgnu -I$(top_srcdir)/libgnu \ + -I$(top_builddir)/libgnu -I$(top_srcdir)/libgnu \ -I$(top_srcdir)/libcruft/misc EXTRA_DIST = \ diff -r 9087c2816136 -r 3e5b00d964ad src/Makefile.am --- a/src/Makefile.am Wed Aug 08 10:57:08 2012 -0700 +++ b/src/Makefile.am Wed Aug 08 15:33:52 2012 -0700 @@ -20,6 +20,8 @@ include $(top_srcdir)/build-aux/common.mk +AUTOMAKE_OPTIONS = subdir-objects + ## Search local directories before those specified by the user. AM_CPPFLAGS = \ -I$(top_srcdir)/libcruft/misc \ @@ -30,9 +32,7 @@ -Iinterp-core -I$(srcdir)/interp-core \ -Iinterpfcn -I$(srcdir)/interpfcn \ -Icorefcn \ - -I../libgnu -I$(top_srcdir)/libgnu - -AUTOMAKE_OPTIONS = subdir-objects + -I$(top_builddir)/libgnu -I$(top_srcdir)/libgnu octlib_LTLIBRARIES = liboctinterp.la @@ -44,11 +44,14 @@ mkoctfile_SOURCES = nodist_mkoctfile_SOURCES = mkoctfile.cc -mkoctfile_LDADD = ../libgnu/libgnu.la $(LIBS) +mkoctfile_LDADD = $(top_builddir)/libgnu/libgnu.la $(LIBS) octave_config_SOURCES = nodist_octave_config_SOURCES = octave-config.cc -octave_config_LDADD = corefcn/libcorefcn.la ../libgnu/libgnu.la $(LIBS) +octave_config_LDADD = \ + corefcn/libcorefcn.la \ + $(top_builddir)/libgnu/libgnu.la \ + $(LIBS) BUILT_SOURCES_EXTRA = \ mkoctfile.cc \