#
# LiDIA Configuration File
# Created `Fri Apr 12 14:42:15 MET DST 1996' By `lidiaadm' using configure.
# Copyright (c) 1995 By The LiDIA Group -- All Rights Reserved.
#
# Authors -- Stefan Neis (SN), Andreas Monstadt (AMO),
#            Thomas Papanikolaou (TP)
#

#
# The Shell Used In All LiDIA Makefiles
#

                SHELL = /bin/sh

#
# The Make Command Used In All LiDIA Makefiles. The Next
# Line Is Empty If Make Sets the MAKE Variable.
#

                

#
# The Directory Where LiDIA Resides.
#
 
           LIDIA_HOME = /a/mercury/root/LiPS2/lidiaadm/LiDIA
 
#
# The Directory Where LiDIA Is To Be Installed.
#
 
    LIDIA_INSTALL_DIR = /usr/local
 
#
# The Architecture Which Is To Be Compiled
#
 
           LIDIA_ARCH = sparc8-sun-sunos4.1.4
               TARGET = sparc8

#
# The Kernel And The Interface To Be compiled
#
# Possible Integer Interfaces Are: libI, lip, gmp
# (gmp coming soon; please contact lidiaadm@cs.uni-sb.de)
#
# Possible Memory Managers Are: malloc, dentzer, boehm,
#                               default (no manager)
#

               BIGINT = libI
                  GMM = default 


#
# The Compiler/Assembler/Linker Settings
#
# CC       -- is the C compiler
# CXX      -- is the C++ compiler
# CFLAGS   -- are the flags for the C compiler
# CXXFLAGS -- are the flags for the C++ compiler
#             on solaris define additionally -DSOLARIS
# LDFLAGS  -- are the flags for the C++ loader
# AS       -- is the assembler name
# ASFLAGS  -- -DHAVE_ELF enables ELF assembly format
# CXXNAME  -- the real name of the C++ compiler
#             (for example g++-2.7.0)
#
 
                   CC = gcc
                  CXX = c++
              CXXNAME = c++
               CFLAGS = -O2 -DSPARC
             CXXFLAGS = -O2 -DSPARC
              LDFLAGS = 
                   AS = as
              ASFLAGS = -DUMMY

#
# Use 'ranlib' On Bsd Systems, 'echo' Otherwise
#
 
               RANLIB = ranlib

#
# Commands Used For Building The Documentation
#

                LATEX = /usr/local/tex/bin/latex
            MAKEINDEX = /usr/local/tex/bin/makeindex
                DVIPS = /usr/local/tex/bin/dvips

#
# Kernel Settings
#
 
         KERNEL_FLAGS = -DDOUBLES_HIGH_LOW  -DBASE32
           HAS_RANDOM = 
 
#
# Home And Installation Locations
#

              INSTALL = /usr/bin/install -c
      INSTALL_PROGRAM = ${INSTALL}
         INSTALL_DATA = ${INSTALL} -m 644

         LIDIA_PRIMES = ${LIDIA_HOME}/lib

         LIDIA_INC    = ${LIDIA_HOME}/include
         LIDIA_BIN    = ${LIDIA_HOME}/bin/LiDIA/${LIDIA_ARCH}/${CXXNAME}
         LIDIA_LIB    = ${LIDIA_HOME}/lib/LiDIA/${LIDIA_ARCH}/${CXXNAME}
 
 LIDIA_INSTALL_PRIMES = ${LIDIA_INSTALL_DIR}/lib/LiDIA

 LIDIA_INSTALL_INC    = ${LIDIA_INSTALL_DIR}/include
 LIDIA_INSTALL_BIN    = ${LIDIA_INSTALL_DIR}/bin/LiDIA/${LIDIA_ARCH}/${CXXNAME}
 LIDIA_INSTALL_LIB    = ${LIDIA_INSTALL_DIR}/lib/LiDIA/${LIDIA_ARCH}/${CXXNAME}
 
#
# OS/2 Compatability Section 
#
 
              CXX-off =
                C_LIB = -lm
                  LIB = $(LIDIA_LIB)$(DIRSEP)$(libp)LiDIA.a $(C_LIB)
                  EXE =
                 libp = lib
                 objp = L

                  SEP = ;
               DIRSEP = /

#
# Make Command Macros
#
# AR       -- the archiver command
# RM       -- command used to remove files
# RMR      -- command used to remove directories
# CP       -- command used to copy files
# CPR      -- command used to copy directories
# MV       -- command used to move files
# LN       -- command used to make soft links (will disappear)
# CHMOD    -- command used to change the permission mode of a file
# TOUCH    -- command used to create an empry file
#

                AR    = ar ru 
                RM    = rm -f
                RMR   = rm -rf
                CP    = cp -p
                CPR   = cp -rp
                MV    = mv -f
                LN    = ln -s
                CHMOD = chmod
                TOUCH = touch

#
# Special Makefile Rules
#
# a) file.c --> $(objp)file.o
#

.c.o:
	$(CXX) -c $(CXXFLAGS) -I$(LIDIA_INC) $*.c
	$(MV) $*.o $(objp)$*.o
	$(TOUCH) $*.o

#
# End Of File
#
