# Numerix configuration
#
# Normally the script [configure] will check your computer and create a
# suitable [numconf] file, edit this file only when [configure] cannot
# determine by itself the correct values. Then you'll need to regenerate
# a suitable [Makefile] by running the command:
#
# make -f numconf makerules
#
# Enter 1 or 0 for boolean values, 1 == yes

# machine word size, this is either 32 or 64
BITS = 64

#--------------- Selection of modules

# want the Clong module ?
USE_CLONG = 1

# want the Dlong module (only on 32 bits platforms) ?
USE_DLONG = 0

# want the Slong module (only on x86 platforms) ?
USE_SLONG = 0

# want the GMP module ?
USE_GMP = 0

# want the Big module ? Please answer separately for Caml and Ocaml
USE_CAML_BIGNUM  = 1
USE_OCAML_BIGNUM = 1

#--------------- Selection of languages

# want the C interface ?
MAKE_C_LIB = 1

# want the Caml interface ?
MAKE_CAML_LIB = 1

# want the Ocaml interface ?
MAKE_OCAML_LIB = 1

# want the Pascal interface ?
MAKE_PASCAL_LIB = 0

#--------------- C compile commands
# you can add -I and -L directives if gcc or the linker fail to find
# some include files or some libraries
 
# C compiler
GCC = gcc -O2 -Wall

# librarian
AR = ar -rc
RANLIB = ranlib

#--------------- Caml specifics
# if you do not want the Caml interface then enter any non-blank string here
# if you do not know the answers, ask caml with: camlc -v

# Caml version number without period
CAML_VERSION = 075

# Caml library path
CAML_LIBDIR = /usr/local/lib/caml-light

# Caml compilers, add paths and -I/-ccopt directives if necessary
CAML      = camlc
CAMLLIBR  = camllibr
CAMLMKTOP = camlmktop

#--------------- Ocaml specifics
# if you do not want the Ocaml interface then enter any non-blank string here
# if you do not know the answers, ask ocaml with: ocamlc -v

# Ocaml version number without period
OCAML_VERSION = 302

# Ocaml library path
OCAML_LIBDIR = /home/pauillac/cristal/quercia/lib/ocaml

# Ocaml compilers, add paths and -I/-ccopt directives if necessary
OCAML      = ocamlc.opt
OCAMLOPT   = ocamlopt.opt
OCAMLMKTOP = ocamlmktop

#--------------- Pascal compile commands
# you can add -F directives if pcc386 or the linker fail to find
# some include files or some libraries
 
PPC = no

#--------------- Installation directories

INSTALL_BIN     = /home/pauillac/cristal/quercia/bin
INSTALL_LIB     = /home/pauillac/cristal/quercia/lib
INSTALL_INCLUDE = /home/pauillac/cristal/quercia/include

#------------------------- Nothing to change below -------------------

# targets
.PHONY : all lib exemples examples test doc install clean realclean makerules
all: lib exemples test

# To remake a brand new Makefile just type :
# make -f numconf makerules
makerules:
	USE_CLONG=$(USE_CLONG) \
  USE_DLONG=$(USE_DLONG) \
  USE_SLONG=$(USE_SLONG) \
  USE_GMP=$(USE_GMP) \
  USE_OCAML_BIGNUM=$(USE_OCAML_BIGNUM) \
  USE_CAML_BIGNUM=$(USE_CAML_BIGNUM) \
  MAKE_C_LIB=$(MAKE_C_LIB) \
  MAKE_CAML_LIB=$(MAKE_CAML_LIB) \
  MAKE_OCAML_LIB=$(MAKE_OCAML_LIB) \
  CAML_VERSION=$(CAML_VERSION) \
  OCAML_VERSION=$(OCAML_VERSION) \
  MAKE_PASCAL_LIB=$(MAKE_PASCAL_LIB) \
  config/remake >Makefile

# version number
NUMERIX_VERSION = '0.19 (24 Aout 2001)'

#-------------------------- end of numconf ---------------------------
