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

1.11    ! noro        1: /*
        !             2:  * Copyright (c) 1994-2000 FUJITSU LABORATORIES LIMITED
        !             3:  * All rights reserved.
        !             4:  *
        !             5:  * FUJITSU LABORATORIES LIMITED ("FLL") hereby grants you a limited,
        !             6:  * non-exclusive and royalty-free license to use, copy, modify and
        !             7:  * redistribute, solely for non-commercial and non-profit purposes, the
        !             8:  * computer program, "Risa/Asir" ("SOFTWARE"), subject to the terms and
        !             9:  * conditions of this Agreement. For the avoidance of doubt, you acquire
        !            10:  * only a limited right to use the SOFTWARE hereunder, and FLL or any
        !            11:  * third party developer retains all rights, including but not limited to
        !            12:  * copyrights, in and to the SOFTWARE.
        !            13:  *
        !            14:  * (1) FLL does not grant you a license in any way for commercial
        !            15:  * purposes. You may use the SOFTWARE only for non-commercial and
        !            16:  * non-profit purposes only, such as academic, research and internal
        !            17:  * business use.
        !            18:  * (2) The SOFTWARE is protected by the Copyright Law of Japan and
        !            19:  * international copyright treaties. If you make copies of the SOFTWARE,
        !            20:  * with or without modification, as permitted hereunder, you shall affix
        !            21:  * to all such copies of the SOFTWARE the above copyright notice.
        !            22:  * (3) An explicit reference to this SOFTWARE and its copyright owner
        !            23:  * shall be made on your publication or presentation in any form of the
        !            24:  * results obtained by use of the SOFTWARE.
        !            25:  * (4) In the event that you modify the SOFTWARE, you shall notify FLL by
        !            26:  * e-mail at risa-admin@flab.fujitsu.co.jp of the detailed specification
        !            27:  * for such modification or the source code of the modified part of the
        !            28:  * SOFTWARE.
        !            29:  *
        !            30:  * THE SOFTWARE IS PROVIDED AS IS WITHOUT ANY WARRANTY OF ANY KIND. FLL
        !            31:  * MAKES ABSOLUTELY NO WARRANTIES, EXPRESSED, IMPLIED OR STATUTORY, AND
        !            32:  * EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS
        !            33:  * FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT OF THIRD PARTIES'
        !            34:  * RIGHTS. NO FLL DEALER, AGENT, EMPLOYEES IS AUTHORIZED TO MAKE ANY
        !            35:  * MODIFICATIONS, EXTENSIONS, OR ADDITIONS TO THIS WARRANTY.
        !            36:  * UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, TORT, CONTRACT,
        !            37:  * OR OTHERWISE, SHALL FLL BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY
        !            38:  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL
        !            39:  * DAMAGES OF ANY CHARACTER, INCLUDING, WITHOUT LIMITATION, DAMAGES
        !            40:  * ARISING OUT OF OR RELATING TO THE SOFTWARE OR THIS AGREEMENT, DAMAGES
        !            41:  * FOR LOSS OF GOODWILL, WORK STOPPAGE, OR LOSS OF DATA, OR FOR ANY
        !            42:  * DAMAGES, EVEN IF FLL SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF
        !            43:  * SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY. EVEN IF A PART
        !            44:  * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY
        !            45:  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
        !            46:  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
        !            47:  * $OpenXM: OpenXM_contrib2/asir2000/include/Risa.tmpl,v 1.10 2000/05/29 08:54:47 noro Exp $
        !            48: */
1.4       noro       49: #include "config.h"
                     50:
1.1       noro       51: #define USE_GCC
                     52: #define USE_INET
                     53: /* #define USE_MPI */
                     54: /* #define USE_FFT_FLOAT */
                     55: /* #define USE_LAPACK */
                     56:
1.2       noro       57: #if defined(LinuxArchitecture)
                     58: #if LinuxCLibMajorVersion >= 6 || \
                     59:     (LinuxCLibMajorVersion == 5 && LinuxCLibMinorVersion == 99)
1.3       noro       60: STD_CPP_DEFINES = -traditional -Dlinux -D_BSD_SOURCE $(PROJECT_DEFINES)
                     61: STD_DEFINES = -Dlinux -D_BSD_SOURCE $(PROJECT_DEFINES)
1.9       noro       62: #if 0
                     63: EXTRA_LDOPTIONS=-static
                     64: #endif
1.2       noro       65: #endif
                     66: #endif
                     67:
1.1       noro       68: #if defined(AlphaArchitecture)
                     69: #undef USE_GCC
                     70: #endif
                     71:
                     72: #define SUN4M 1
                     73:
                     74: #if defined(OpenXM_HOME)
                     75: ROOTDIR=OpenXM_HOME
                     76: #else
                     77: ROOTDIR=/usr/local
                     78: #endif
                     79:
                     80: ASIR_BINDIR=$(ROOTDIR)/bin
                     81: ASIR_LIBDIR=$(ROOTDIR)/lib/asir
1.7       noro       82: ASIR_INCDIR=$(ROOTDIR)/include/asir
                     83: GC_INCDIR=$(ROOTDIR)/include/gc
1.1       noro       84:
                     85: #if defined(USE_GCC)
                     86: CC= gcc
                     87: #else
                     88: CC= cc
                     89: #endif
                     90:
1.10      noro       91: CDEBUGFLAGS= -O
1.1       noro       92:
1.8       noro       93: #if defined(SunArchitecture)
                     94: #if SystemV4
1.1       noro       95: #if defined(SparcArchitecture)
1.10      noro       96: CDEBUGFLAGS= -O -mv8
1.8       noro       97: #else
1.10      noro       98: CDEBUGFLAGS= -O
1.8       noro       99: #endif
1.5       noro      100: CCOPTIONS = -DSYSV -DSVR4
1.1       noro      101: AR=/usr/ccs/bin/ar cqs
1.6       noro      102: /* ranlib is dummy on Solaris 2. */
                    103: RANLIB=/usr/ccs/bin/ranlib
1.1       noro      104: #endif
                    105: #if !SystemV4
                    106: #if defined(USE_GCC)
                    107: LOCAL_LDFLAGS= -static
                    108: #else
                    109: LOCAL_LDFLAGS= -Bstatic
                    110: #endif
                    111: #endif
                    112: #endif
                    113:
                    114: #if defined(MipsArchitecture)
                    115: #if defined(SGIArchitecture)
                    116: CC=cc -signed -n32 -mips3
                    117: CDEBUGFLAGS=-O3
                    118: #else
                    119: HEAP_START_ADDR=2000000
                    120: #if defined(RISA_TOP_DIR)
                    121: CC= cc -Wl,-D -Wl,$(HEAP_START_ADDR)
                    122: #endif
                    123: #endif
                    124: #endif
                    125:
                    126: #if defined(AlphaArchitecture)
                    127: PARIFLAGS = -DLONG_IS_64BIT
                    128: #else
                    129: PARIFLAGS = -DLONG_IS_32BIT
                    130: #endif
1.4       noro      131:
                    132: #ifdef USE_PARI
                    133: PARI=1
1.1       noro      134: PARIINC = $(ROOTDIR)/include/pari
                    135: PARILIB = $(ROOTDIR)/lib/libpari.a
                    136: #else
                    137: PARI=0
                    138: PARIINC = .
                    139: PARILIB =
                    140: #endif
                    141:
                    142: #ifdef USE_INET
                    143: INET=1
                    144: #else
                    145: INET=0
                    146: #endif
                    147:
                    148: #ifdef USE_LAPACK
                    149: LAPACK=1
                    150: LAPACKLIB = -llapack -lblas -lI77 -lF77
                    151: #else
                    152: LAPACK=0
                    153: LAPACKLIB =
                    154: #endif
                    155:
                    156: #ifdef USE_PLOT
                    157: DO_PLOT=1
                    158: #else
                    159: DO_PLOT=0
                    160: #endif
                    161:
                    162: #ifdef USE_FFT_FLOAT
                    163: USE_FLOAT=1
                    164: #else
                    165: USE_FLOAT=0
                    166: #endif
                    167:
                    168: #ifdef USE_MPI
                    169: MPI=1
                    170: MPILIB=-L/opt/FJSVmpi2/lib -lmpi -L/opt/FSUNaprun/lib -lmpl -lemi -lthread
                    171: MPIINC=/opt/FJSVmpi2/include
                    172: #else
                    173: MPI=0
                    174: MPILIB=
                    175: MPIINC=.
                    176: #endif
                    177:
                    178: #if !defined(NullParameter)
                    179: #define NullParameter
                    180: #endif
                    181:
                    182: INCLUDES= -I$(TOP)/include -I$(TOP)/parse -I$(TOP)/io -I$(PARIINC) -I$(MPIINC)
1.2       noro      183: 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>