[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.12

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