Annotation of OpenXM_contrib2/asir2000/include/Risa.tmpl, Revision 1.1
1.1 ! noro 1: /* $OpenXM: OpenXM/src/asir99/include/Risa.tmpl,v 1.1.1.1 1999/11/10 08:12:30 noro Exp $ */
! 2: #define USE_GCC
! 3: #define USE_PARI
! 4: #define USE_PLOT
! 5: #define USE_INET
! 6: /* #define USE_MPI */
! 7: /* #define USE_FFT_FLOAT */
! 8: /* #define USE_LAPACK */
! 9:
! 10: #if defined(AlphaArchitecture)
! 11: #undef USE_GCC
! 12: #endif
! 13:
! 14: #define SUN4M 1
! 15:
! 16: #include "config.h"
! 17:
! 18: #if defined(OpenXM_HOME)
! 19: ROOTDIR=OpenXM_HOME
! 20: #else
! 21: ROOTDIR=/usr/local
! 22: #endif
! 23:
! 24: ASIR_BINDIR=$(ROOTDIR)/bin
! 25: ASIR_LIBDIR=$(ROOTDIR)/lib/asir
! 26:
! 27: #if defined(USE_GCC)
! 28: CC= gcc
! 29: #else
! 30: CC= cc
! 31: #endif
! 32:
! 33: CDEBUGFLAGS= -O6
! 34: CCOPTIONS=
! 35:
! 36: #if defined(SparcArchitecture)
! 37: #if SystemV4
! 38: CDEBUGFLAGS= -O6 -mv8
! 39: AR=/usr/ccs/bin/ar cqs
! 40: #endif
! 41: #if !SystemV4
! 42: #if defined(USE_GCC)
! 43: LOCAL_LDFLAGS= -static
! 44: #else
! 45: LOCAL_LDFLAGS= -Bstatic
! 46: #endif
! 47: #endif
! 48: #endif
! 49:
! 50: #if defined(MipsArchitecture)
! 51: #if defined(SGIArchitecture)
! 52: CC=cc -signed -n32 -mips3
! 53: CDEBUGFLAGS=-O3
! 54: #else
! 55: HEAP_START_ADDR=2000000
! 56: #if defined(RISA_TOP_DIR)
! 57: CC= cc -Wl,-D -Wl,$(HEAP_START_ADDR)
! 58: #endif
! 59: #endif
! 60: #endif
! 61:
! 62: #ifdef USE_PARI
! 63: PARI=1
! 64: #if defined(AlphaArchitecture)
! 65: PARIFLAGS = -DLONG_IS_64BIT
! 66: #else
! 67: PARIFLAGS = -DLONG_IS_32BIT
! 68: #endif
! 69: PARIINC = $(ROOTDIR)/include/pari
! 70: PARILIB = $(ROOTDIR)/lib/libpari.a
! 71: #else
! 72: PARI=0
! 73: PARIINC = .
! 74: PARIFLAGS =
! 75: PARILIB =
! 76: #endif
! 77:
! 78: #ifdef USE_INET
! 79: INET=1
! 80: #else
! 81: INET=0
! 82: #endif
! 83:
! 84: #ifdef USE_LAPACK
! 85: LAPACK=1
! 86: LAPACKLIB = -llapack -lblas -lI77 -lF77
! 87: #else
! 88: LAPACK=0
! 89: LAPACKLIB =
! 90: #endif
! 91:
! 92: #ifdef USE_PLOT
! 93: DO_PLOT=1
! 94: #else
! 95: DO_PLOT=0
! 96: #endif
! 97:
! 98: #ifdef USE_FFT_FLOAT
! 99: USE_FLOAT=1
! 100: #else
! 101: USE_FLOAT=0
! 102: #endif
! 103:
! 104: #ifdef USE_MPI
! 105: MPI=1
! 106: MPILIB=-L/opt/FJSVmpi2/lib -lmpi -L/opt/FSUNaprun/lib -lmpl -lemi -lthread
! 107: MPIINC=/opt/FJSVmpi2/include
! 108: #else
! 109: MPI=0
! 110: MPILIB=
! 111: MPIINC=.
! 112: #endif
! 113:
! 114: #if !defined(NullParameter)
! 115: #define NullParameter
! 116: #endif
! 117:
! 118: INCLUDES= -I$(TOP)/include -I$(TOP)/parse -I$(TOP)/io -I$(PARIINC) -I$(MPIINC)
! 119: DEFINES= -DINET=$(INET) -DPARI=$(PARI) -DLAPACK=$(LAPACK) -DDO_PLOT=$(DO_PLOT) -DUSE_FLOAT=$(USE_FLOAT) $(PARIFLAGS) -DHMEXT -DMPI=$(MPI)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>