Commit d811abf6 authored by simonmar's avatar simonmar

[project @ 2000-03-15 15:03:20 by simonmar]

Fix configuration/building of GMP.
parent bb08e42e
#-----------------------------------------------------------------------------
# $Id: Makefile,v 1.20 2000/03/14 01:50:49 sof Exp $
# $Id: Makefile,v 1.21 2000/03/15 15:03:20 simonmar Exp $
#
# This is the Makefile for the runtime-system stuff.
# This stuff is written in C (and cannot be written in Haskell).
......@@ -127,6 +127,9 @@ endif
ifneq "$(HaveLibGmp)" "YES"
boot ::
if [ ! -f gmp/configure ] ; then ( cd gmp && autoconf ); fi;
if [ ! -f gmp/mpn/configure ] ; then ( cd gmp/mpn && autoconf ); fi;
if [ ! -f gmp/mpz/configure ] ; then ( cd gmp/mpz && autoconf ); fi;
if [ ! -f gmp/mpz/tests/configure ] ; then ( cd gmp/mpz/tests && autoconf ); fi;
cd gmp && ./configure --target=$(HOSTPLATFORM)
# Slight cheatage here to past host as target, but x-compilation isn't supported by ghc.
......
This diff is collapsed.
......@@ -3,7 +3,8 @@
# this directory. For more information, look at ../configure.
AC_INIT(Makefile.in)
configdirs="mpn mpz mpf mpq mpbsd"
AC_CONFIG_SUBDIRS(mpn mpz)
srctrigger=gmp-impl.h
srcname="GNU Multi-Precision library"
......
# This file is a shell script fragment that supplies the information
# necessary for a configure script to process the program in
# this directory. For more information, look at ../configure.
AC_INIT(Makefile.in)
configdirs=
srctrigger=powerpc32
srcname="GNU Multi-Precision library/mpn"
......@@ -171,6 +171,9 @@ mpn_links=$links
# post-target:
AC_LINK_FILES($files,$links)
AC_OUTPUT(Makefile)
sed <Makefile >Makefile.tmp \
-e "s/MPN_LINKS = .*/MPN_LINKS =${mpn_links}/" \
-e "s/MPN_OBJECTS = .*/MPN_OBJECTS =${mpn_objects}/"
......
# This file is a shell script fragment that supplies the information
# necessary for a configure script to process the program in
# this directory. For more information, look at ../configure.
AC_INIT(Makefile.in)
configdirs=tests
AC_CONFIG_SUBDIRS(tests)
srctrigger=add_ui.c
srcname="GNU Multi-Precision library/mpz"
......@@ -10,3 +11,4 @@ srcname="GNU Multi-Precision library/mpz"
# per-target:
AC_OUTPUT(Makefile)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment