[BACK]Return to Risa.tmpl CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / include

Annotation of OpenXM_contrib2/asir2000/include/Risa.tmpl, Revision 1.5

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>