diff options
author | dos-reis <gdr@axiomatics.org> | 2014-02-21 14:09:17 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2014-02-21 14:09:17 +0000 |
commit | 94959a8e7991c09ecaa72ca1c3fdc326ddb28819 (patch) | |
tree | 4da4fc27c9d06ccab66fd45367932d01382877a2 /Makefile.am | |
parent | cd97141c5bad0d39915d37c132948f403adeb00f (diff) | |
download | open-axiom-94959a8e7991c09ecaa72ca1c3fdc326ddb28819.tar.gz |
Set derived src and target directory variables
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 07df1567..214884a2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -45,7 +45,6 @@ ACLOCAL_AMFLAGS = -I config #--install --output=config/aclocal.m4 DIST_SUBDIRS = src -oa_builddir = $(abs_top_builddir)/build/$(target) oa_installdir = @open_axiom_installdir@ # Configure options to GCL. @@ -93,13 +92,13 @@ $(OA_SRC_TARGETS): cd src && $(MAKE) $(AM_MAKEFLAGS) $@ .PHONY: all-gcl -all-gcl: $(oa_builddir)/bin/gcl$(EXEEXT) +all-gcl: $(oa_target_bindir)/gcl$(EXEEXT) -$(oa_builddir)/bin/gcl$(EXEEXT): +$(oa_target_bindir)/gcl$(EXEEXT): if test "$(srcdir)" != "$(builddir)" -a ! -d gcl; then \ cp -r "$(srcdir)"/gcl "$(builddir)"; \ fi; cd gcl; \ - ./configure --prefix="$(oa_builddir)" ${GCLOPTS} && \ + ./configure --prefix="$(abs_top_builddir)/$(target)" ${GCLOPTS} && \ $(MAKE) $(AM_MAKEFLAGS) && $(MAKE) $(AM_MAKEFLAGS) install install: |