Octave/Makefile.am : Use $(top_buildir) instead of $(builddir) which may not be defined.

This commit is contained in:
Erik de Castro Lopo 2009-02-08 07:22:34 +11:00
parent b887f6427a
commit 3e6e4c8f2b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* Octave/Makefile.am
Use $(top_buildir) instead of $(builddir) which may not be defined.
2009-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac AUTHORS NEWS README doc/*.html

View File

@ -33,10 +33,10 @@ noinst_DATA = $(oct_module_files)
# Use Octave's mkoctfile to do all the heavy lifting. Unfortunately, its
# a little dumb so we need to guide it carefully.
sndfile.oct : sndfile.o
$(MKOCTFILE) -v $(INCLUDES) $(builddir)/$+ -L$(SNDFILEDIR)/.libs -L$(SNDFILEDIR) -lsndfile -o $(builddir)/$@
$(MKOCTFILE) -v $(INCLUDES) $(top_builddir)/Octave/$+ -L$(SNDFILEDIR)/.libs -L$(SNDFILEDIR) -lsndfile -o $(top_builddir)/Octave/$@
sndfile.o : sndfile.cc
$(MKOCTFILE) -v $(INCLUDES) -c $+ -o $(builddir)/$@
$(MKOCTFILE) -v $(INCLUDES) -c $+ -o $(top_builddir)/Octave/$@
# Allow for the test being run in the build dir, but the test script
# being located in the source dir.