Annotation of OpenXM_contrib2/asir2000/include/Risa.tmpl-alpha, Revision 1.2
1.2 ! ohara 1: /* $OpenXM: OpenXM_contrib2/asir2000/include/Risa.tmpl-alpha,v 1.1.1.1 1999/12/03 07:39:11 noro Exp $ */
1.1 noro 2: /* #define USE_GCC */
3: #define USE_PARI
4: #define USE_PLOT
5: /* #define USE_READLINE */
6:
7: ASIR_BINDIR=/usr/local/bin
8: ASIR_LIBDIR= /usr/local/lib/asir
9:
10: #if defined(USE_GCC)
11: CC= gcc
12: #else
13: CC= cc
14: #endif
15:
16: CDEBUGFLAGS= -O2
17:
18: #if defined(SparcArchitecture)
19: #if defined(USE_GCC)
20: LOCAL_LDFLAGS= -static
21: #else
22: LOCAL_LDFLAGS= -Bstatic
23: #endif
24: #endif
25:
26: #if defined(MipsArchitecture)
27: HEAP_START_ADDR=2000000
28: #if defined(RISA_TOP_DIR)
29: CC= cc -Wl,-D -Wl,$(HEAP_START_ADDR)
30: #endif
31: #endif
32:
33: REMOTE=1
34:
35: #ifdef USE_PARI
1.2 ! ohara 36: PARI= -DPARI
! 37: PARIINC = -I/usr/local/include/pari
1.1 noro 38: #if 0
39: PARIFLAGS = -DLONG_IS_32BIT -DULONG_NOT_DEFINED
40: #endif
41: PARIFLAGS = -DLONG_IS_64BIT
42: PARILIB = -lpari
43: #else
1.2 ! ohara 44: PARI=
! 45: PARIINC =
1.1 noro 46: PARIFLAGS =
47: PARILIB =
48: #endif
49:
50: #ifdef USE_PLOT
1.2 ! ohara 51: DO_PLOT= -DDO_PLOT
1.1 noro 52: #else
1.2 ! ohara 53: DO_PLOT=
1.1 noro 54: #endif
55:
56: #ifdef USE_READLINE
57: READLINE=1
58: RLLIB = -lreadline -ltermcap
59: #else
60: READLINE=0
61: RLLIB =
62: #endif
63:
64: #if !defined(NullParameter)
65: #define NullParameter
66: #endif
67:
1.2 ! ohara 68: INCLUDES= -I$(TOP)/include -I$(TOP)/parse -I$(TOP)/io $(PARIINC)
! 69: DEFINES= $(PARI) $(DO_PLOT) -DREADLINE=$(READLINE) -DREMOTE=$(REMOTE) $(PARIFLAGS)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>