~ubuntu-branches/ubuntu/vivid/gcl/vivid

« back to all changes in this revision

Viewing changes to doc/makefile

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2002-03-04 14:29:59 UTC
  • Revision ID: james.westby@ubuntu.com-20020304142959-dey14w08kr7lldu3
Tags: upstream-2.5.0.cvs20020219
ImportĀ upstreamĀ versionĀ 2.5.0.cvs20020219

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# a facility for displaying DOC files and completing on them
 
2
# requires gnu emacs, to be in the search path
 
3
 
 
4
# A directory on peoples search path.
 
5
 
 
6
 
 
7
ELISP=gcl.el dbl.el ansi-doc.el lisp-complete.el sshell.el
 
8
 
 
9
# begin makedefs
 
10
 
 
11
# use=386-linux
 
12
 
 
13
# for main link of raw_gcl
 
14
LIBS= -lm -lreadline -lncurses  -Wl,-static -lbfd -liberty
 
15
 
 
16
#The multi precision library stuff
 
17
MPFILES=$(MPDIR)/@MPI_FILE@ $(MPDIR)/libmport.a
 
18
 
 
19
 
 
20
# root for the installation, eg /usr/local
 
21
# This would cause make install to create /usr/local/bin/gcl and
 
22
# /usr/local/lib/gcl-2-??/* with some basic files.
 
23
prefix=/usr
 
24
 
 
25
# where to place the info files
 
26
INFO_DIR=/usr/info/
 
27
 
 
28
# where to put emacs lisp files.
 
29
EMACS_SITE_LISP=/usr/local/share/emacs/20.7/site-lisp
 
30
 
 
31
# the default.el file
 
32
EMACS_DEFAULT_EL=/usr/local/share/emacs/20.7/site-lisp/default.el
 
33
 
 
34
# numerous TCL/TK variables culled from the tkConfig.sh and tclConfig.sh
 
35
# if these are found.
 
36
TK_CONFIG_PREFIX=/usr/lib
 
37
TK_LIBRARY=/usr/lib/tk8.2
 
38
TCL_LIBRARY=/usr/lib/tcl8.2
 
39
TK_XINCLUDES=-I/usr/X11R6/include
 
40
TK_INCLUDE=-I/usr/lib/../include
 
41
TCL_INCLUDE=-I/usr/lib/../include
 
42
TK_LIB_SPEC=-L/usr/lib -ltk8.2
 
43
TK_BUILD_LIB_SPEC=-L/usr/lib -ltk8.2
 
44
TK_XLIBSW=-L/usr/X11R6/lib -lX11
 
45
TK_XINCLUDES=-I/usr/X11R6/include
 
46
TCL_LIB_SPEC=-L/usr/lib -ltcl8.2${TCL_DBGX}
 
47
TCL_DL_LIBS=-ldl
 
48
TCL_LIBS=-ldl  -lm
 
49
 
 
50
NOTIFY=yes
 
51
GCC=gcc
 
52
 
 
53
RL_OBJS=readline.o
 
54
 
 
55
RL_LIB=lsp/readline.o
 
56
 
 
57
GCLDIR=/fix/f/debian/mm/gcl/gcl-2.5.0.cvs
 
58
SHELL=/bin/sh
 
59
MACHINE=386-linux
 
60
 
 
61
# notes for redhat 6.0
 
62
#  the configure should select the compiler GCC=/usr/bin/i386-glibc20-linux-gcc
 
63
#  However for the gcl-tk directory, you must use plain 'gcc' since
 
64
#  that must link with the tcl tk libs which have been compiled with it.
 
65
#  so after configure change to GCC=gcc in the gcl-tk/makefile
 
66
 
 
67
 
 
68
# Machine dependent makefile definitions for intel 386,486 running linux
 
69
 
 
70
LBINDIR=/usr/local/bin
 
71
 
 
72
#OFLAG  =  -g 
 
73
OFLAG   =  -O 
 
74
#LIBS   = -lm 
 
75
 
 
76
ODIR_DEBUG= -O4 
 
77
#ODIR_DEBUG= -g
 
78
 
 
79
# This CC string will be used for compilation of the system,
 
80
# and also in the compiler::*cc* variable for later compilation of
 
81
# lisp files.
 
82
# (the -pipe is just since our file system is slow..)
 
83
CC = ${GCC} -pipe -fwritable-strings  -DVOL=volatile -I$(GCLDIR)/o -fsigned-char
 
84
 
 
85
# under redhat 6.1 and slackware 7.0 we needed to have this
 
86
# link be static, but should be ok with the fix to unixport/rsym_elf.c
 
87
LDCC=${CC} -static
 
88
LDCC=${CC}
 
89
 
 
90
# note for linuxaout on an elf machine add -b i486-linuxaout 
 
91
# CC = gcc -pipe -fwritable-strings  -DVOL=volatile -I$(GCLDIR)/o -fsigned-char -b i486-linuxaout 
 
92
 
 
93
# Enable the fastloading mechanism which does not use ld -A
 
94
# requires c/rel_.. machine dependent code.
 
95
 
 
96
RSYM    = rsym
 
97
SFASL   = $(ODIR)/sfasl.o
 
98
 
 
99
 
 
100
#MPFILES= $(MPDIR)/mpi-386d.o   $(MPDIR)/libmport.a
 
101
 
 
102
 
 
103
# When using SFASL it is good to have (si::build-symbol-table)
 
104
INITFORM=(si::build-symbol-table)
 
105
 
 
106
# Use symbolic links
 
107
SYMB=-s
 
108
 
 
109
LIBFILES=bsearch.o
 
110
 
 
111
# the  make to use for saved_kcp the profiler.
 
112
KCP=kcp-bsd
 
113
 
 
114
MPFILES=${GMP_DIR}libgmp.a
 
115
 
 
116
 
 
117
# end makedefs