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

1.11      noro        1: /*
                      2:  * Copyright (c) 1994-2000 FUJITSU LABORATORIES LIMITED
                      3:  * All rights reserved.
                      4:  *
1.34    ! ohara       5:  * $OpenXM: OpenXM_contrib2/asir2000/include/Risa.tmpl,v 1.33 2002/07/24 09:52:10 noro Exp $
1.11      noro        6: */
1.4       noro        7: #include "config.h"
                      8:
1.31      noro        9: #define USE_GCC
1.1       noro       10: /* #define USE_MPI */
                     11: /* #define USE_FFT_FLOAT */
                     12: /* #define USE_LAPACK */
1.15      saito      13: /* #define USE_FEP */
1.18      saito      14: /* #undef OpenXM_HOME */
1.22      noro       15: /* #define USE_INTERVAL */
1.32      noro       16:
                     17: #if defined(cygwinArchitecture)
                     18: INSTALL=/bin/install
                     19: #endif
1.1       noro       20:
1.2       noro       21: #if defined(LinuxArchitecture)
                     22: #if LinuxCLibMajorVersion >= 6 || \
                     23:     (LinuxCLibMajorVersion == 5 && LinuxCLibMinorVersion == 99)
1.3       noro       24: STD_CPP_DEFINES = -traditional -Dlinux -D_BSD_SOURCE $(PROJECT_DEFINES)
                     25: STD_DEFINES = -Dlinux -D_BSD_SOURCE $(PROJECT_DEFINES)
1.9       noro       26: #if 0
                     27: EXTRA_LDOPTIONS=-static
                     28: #endif
1.2       noro       29: #endif
                     30: #endif
                     31:
1.23      noro       32: #if defined(AlphaArchitecture) || defined(DarwinArchitecture)
1.1       noro       33: #undef USE_GCC
                     34: #endif
                     35:
                     36: #define SUN4M 1
                     37:
                     38: #if defined(OpenXM_HOME)
                     39: ROOTDIR=OpenXM_HOME
                     40: #else
                     41: ROOTDIR=/usr/local
                     42: #endif
                     43:
                     44: ASIR_BINDIR=$(ROOTDIR)/bin
                     45: ASIR_LIBDIR=$(ROOTDIR)/lib/asir
1.7       noro       46: ASIR_INCDIR=$(ROOTDIR)/include/asir
                     47: GC_INCDIR=$(ROOTDIR)/include/gc
1.1       noro       48:
                     49: #if defined(USE_GCC)
                     50: CC= gcc
                     51: #else
                     52: CC= cc
                     53: #endif
                     54:
1.27      noro       55: CDEBUGFLAGS= -g -O
1.1       noro       56:
1.8       noro       57: #if defined(SunArchitecture)
                     58: #if SystemV4
1.1       noro       59: #if defined(SparcArchitecture)
1.30      noro       60: CDEBUGFLAGS= -g -O -mv8
1.8       noro       61: #else
1.30      noro       62: CDEBUGFLAGS= -g -O
1.8       noro       63: #endif
1.5       noro       64: CCOPTIONS = -DSYSV -DSVR4
1.1       noro       65: AR=/usr/ccs/bin/ar cqs
1.6       noro       66: /* ranlib is dummy on Solaris 2. */
                     67: RANLIB=/usr/ccs/bin/ranlib
1.1       noro       68: #endif
                     69: #if !SystemV4
                     70: #if defined(USE_GCC)
                     71: LOCAL_LDFLAGS= -static
                     72: #else
                     73: LOCAL_LDFLAGS= -Bstatic
                     74: #endif
                     75: #endif
                     76: #endif
                     77:
                     78: #if defined(MipsArchitecture)
                     79: #if defined(SGIArchitecture)
                     80: CC=cc -signed -n32 -mips3
                     81: CDEBUGFLAGS=-O3
                     82: #else
                     83: HEAP_START_ADDR=2000000
                     84: #if defined(RISA_TOP_DIR)
                     85: CC= cc -Wl,-D -Wl,$(HEAP_START_ADDR)
                     86: #endif
                     87: #endif
                     88: #endif
                     89:
                     90: #if defined(AlphaArchitecture)
1.21      noro       91: CCOPTIONS =
1.1       noro       92: PARIFLAGS = -DLONG_IS_64BIT
                     93: #else
                     94: PARIFLAGS = -DLONG_IS_32BIT
1.23      noro       95: #endif
                     96:
                     97: #if defined(DarwinArchitecture)
                     98: CCOPTIONS =
1.24      noro       99: #endif
                    100:
                    101: #if defined(AIXArchitecture)
                    102: CC = cc -qchars=signed
1.1       noro      103: #endif
1.4       noro      104:
                    105: #ifdef USE_PARI
1.34    ! ohara     106: PARI= -DPARI
        !           107: PARIINC = -I$(ROOTDIR)/include/pari
1.17      saito     108: #if defined(OpenXM_HOME)
1.29      noro      109: PARILIB = $(ROOTDIR)/lib/lib$(LIBPARI).a
1.17      saito     110: #else
1.29      noro      111: PARILIB = -L/usr/local/lib -l$(LIBPARI)
1.17      saito     112: #endif
1.1       noro      113: #else
1.34    ! ohara     114: PARI=
        !           115: PARIINC =
1.1       noro      116: PARILIB =
                    117: #endif
                    118:
                    119: #ifdef USE_LAPACK
1.34    ! ohara     120: LAPACK= -DLAPACK
1.1       noro      121: LAPACKLIB = -llapack -lblas -lI77 -lF77
                    122: #else
1.34    ! ohara     123: LAPACK=
1.1       noro      124: LAPACKLIB =
                    125: #endif
                    126:
                    127: #ifdef USE_PLOT
1.34    ! ohara     128: DO_PLOT= -DDO_PLOT
1.1       noro      129: #else
1.34    ! ohara     130: DO_PLOT=
1.1       noro      131: #endif
                    132:
                    133: #ifdef USE_FFT_FLOAT
1.34    ! ohara     134: USE_FLOAT= -DUSE_FLOAT
1.1       noro      135: #else
1.34    ! ohara     136: USE_FLOAT=
1.1       noro      137: #endif
                    138:
                    139: #ifdef USE_MPI
1.34    ! ohara     140: MPI= -DMPI
1.1       noro      141: MPILIB=-L/opt/FJSVmpi2/lib -lmpi -L/opt/FSUNaprun/lib -lmpl -lemi -lthread
1.34    ! ohara     142: MPIINC=-I/opt/FJSVmpi2/include
1.1       noro      143: #else
1.34    ! ohara     144: MPI=
1.1       noro      145: MPILIB=
1.34    ! ohara     146: MPIINC=
1.1       noro      147: #endif
                    148:
1.15      saito     149: #ifdef USE_FEP
1.34    ! ohara     150: FEP= -DFEP
1.17      saito     151: #if defined(OpenXM_HOME)
                    152: FEPLIB= $(ROOTDIR)/lib/libreadline.a
                    153: #else
1.15      saito     154: FEPLIB = -lreadline -ltermcap
1.17      saito     155: #endif
1.15      saito     156: #else
1.34    ! ohara     157: FEP=
1.15      saito     158: FEPLIB =
                    159: #endif
                    160:
                    161:
1.1       noro      162: #if !defined(NullParameter)
                    163: #define NullParameter
                    164: #endif
                    165:
1.15      saito     166: #ifdef USE_INTERVAL
                    167: INTERVALDEF = -DINTERVAL -DITVDEBUG
                    168: INTERVALDEF = -DINTERVAL
                    169: #else
                    170: INTERVALDEF =
                    171: #endif
                    172:
1.34    ! ohara     173: INCLUDES= -I. -I$(TOP)/include -I$(TOP)/parse -I$(TOP)/io -I$(TOP)/gc/include $(PARIINC) $(MPIINC)
        !           174: DEFINES= $(INTERVALDEF) -DINET=$(INET) $(PARI) $(LAPACK) $(DO_PLOT) $(USE_FLOAT) $(PARIFLAGS) -DHMEXT $(MPI) $(FEP) $(LINUX_EXTRA_DEFINES)

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